Req #51728 [Opn]: Website feedback: Tooltips for functions in the php.net function reference

From: Date: Mon, 03 May 2010 18:56:01 +0000
Subject: Req #51728 [Opn]: Website feedback: Tooltips for functions in the php.net function reference
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4296@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51728&edit=1 ID: 51728 User updated by: xandrani at googlemail dot com Reported by: xandrani at googlemail dot com Summary: Website feedback: Tooltips for functions in the php.net function reference Status: Open Type: Feature/Change Request Package: Doc Build problem Operating System: All PHP Version: Irrelevant New Comment: Actually just had another thought on this. There are actually two bits of information I want to know when hovering over a function (this would happen on ANY function that happens to be a link). 1) A short summary of what the function does (as previous comment)... i.e. 'array_fill' would give the tooltip: "array_fill — Fill an array with values" 2) The function definition, i.e. "bool in_array ( mixed $needle , array $haystack [, bool $strict ] )" I'm sure you are aware that you can get large tooltips WITHOUT using javascript. Just in case you wanted to make a non-javascript based tooltip for maximum compatibility. i.e. I don't think the HTML 'title' tag will be a solution for us. The whole tooltip for in_array() therefore, might be: " SUMMARY: array_fill — Fill an array with values DEFINITION: bool in_array ( mixed $needle, array $haystack [,bool $strict] ) " I think I would faint with excitement if this was ever implemented... sorry for being so geeky lol ;) Previous Comments: ------------------------------------------------------------------------ [2010-05-03 20:19:46] xandrani at googlemail dot com Description: ------------ The functions are listed on the lefthand side of the web page in the php.net function reference. For example at (http://php.net/manual/en/function.in-array.php) you will see a list of functions on the left. It would be superb if when hovering over one of these function names a tooltip would appear showing the short description of the function. e.g. hovering over 'array_fill' would give the tooltip: "array_fill — Fill an array with values" Thanks :D ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51728&edit=1

« previous php.doc.bugs (#4296) next »