Page 1 of 1

taking the [phpman] tags idea a step further

Posted: Sat Jan 15, 2005 6:53 pm
by rehfeld
ive seen other boards automatically link function names to the manual, and really like it. i think it would be a good idea for the php code forum specifically.


personally i dont like having all the function names underlined if they are a link, but thats easily controlled w/ css. maybe just have the links underlined/emphasized in some way on :hover

Re: taking the [phpman] tags idea a step further

Posted: Mon Jan 17, 2005 7:44 am
by Weirdan
rehfeld wrote:ive seen other boards automatically link function names to the manual, and really like it.
I like it too. If it would ever be implemented here's a list of all documented functions:
http://us3.php.net/quickref.php

Posted: Mon Jan 17, 2005 8:00 am
by feyd
I don't think it'd be difficult, but it's probably low priority.. at least until we decide on modding up for Olympus or not..

Posted: Fri Jan 21, 2005 6:40 pm
by rehfeld
this looks like a nice way to do it, minus the line numbers of course.

http://aidan.dotgeek.org/lib/?file=func ... inenum.php

only prob i see w/ using ini_get is it would only get functions defined up to the version of php running on the server, which prob wouldnt be php5, leaving out some of them. but thats easily fixed by building a updated list.

i think line numbering would be nice too, but they would need to be done with tables, otherwise it makes cutting and pasting code that was posted a nightmare. actually, using an <ol> would prob work even better.

Posted: Fri Jan 21, 2005 8:19 pm
by feyd
the line numbered version I wrote used zero tables. ;)

Posted: Sat Jan 22, 2005 8:09 pm
by rehfeld
we had line numbers here?

my memory sux lol

Posted: Sat Jan 22, 2005 10:34 pm
by John Cartwright
rehfeld wrote:we had line numbers here?

my memory sux lol
Oh god... it hasn't been that long..