> @@ -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. -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php