On Wed, Jan 9, 2013 at 1:29 AM, Levi Morrison <[email protected]> wrote: >> @@ -575,12 +575,18 @@ function manual_setup_beta($setup) { >> >> $siblings = array(); >> foreach($setup["toc"] as $entry) { >> + // We strip out any class prefix here, we only want method names >> + $methodname = $entry[1]; >> + if(strpos($entry[1], '::') !== false) { >> + list($classname, $methodname) = explode('::', $entry[1]); >> + } >> $siblings[] = array( >> - "title" => $entry[1], >> + "title" => $methodname, >> "link" => $entry[0], >> "current" => $setup["this"][0] == $entry[0], >> ); >> } > > Note that a change like this suggests making a change whatever sets up > `$setup[toc]` to generate the information differently.
It seems like a more logical place to make the change indeed. PhD has the internal and complete knowledge of the data, while this page only knows about this page and nothing else really -Hannes -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
