taking the [phpman] tags idea a step further

We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.

Moderator: General Moderators

Post Reply
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

taking the [phpman] tags idea a step further

Post 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
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

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

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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..
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

the line numbered version I wrote used zero tables. ;)
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

we had line numbers here?

my memory sux lol
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

rehfeld wrote:we had line numbers here?

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