Re: Re: cvs: phpdoc /scripts genfuncindex.php

From: Date: Sat, 20 Nov 2004 23:33:02 +0000
Subject: Re: Re: cvs: phpdoc /scripts genfuncindex.php
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969365151@lists.php.net to get a copy of this message
||*()*|| Hi, Mehdi. Oops. Tnx. It is just what will happen when you can't sleep too much working and going to university every day never having a sober weekend. =) Fixed. >> Modified files: >> /phpdoc/scripts genfuncindex.php >> Log: >> respect case-sensivity of OO stuff >> >> >> http://cvs.php.net/diff.php/phpdoc/scripts/genfuncindex.php?r1=1.11&r2=1.12&ty=u >> Index: phpdoc/scripts/genfuncindex.php MA> [..] >> +$letter = ' '; >> foreach ( $functions as $funcentry ) { >> - list($function,$description) = explode(" - ",$funcentry); >> - $function=strtolower(trim($function)); >> - if(!ereg("^[[:alnum:]]",$function)) continue; >> - if($function{0}!=$letter) { >> - if($letter!=" ") { >> - echo " </indexdiv>\n"; >> - } >> - $letter=$function{0}; >> - echo " <indexdiv>\n"; >> - echo " >> <title>".strtoupper($letter)."</title>\n"; >> - } >> - echo " >> <indexentry><primaryie><function>$function</function></primaryie></indexentry>\n"; >> + list($function,$description) = explode(" - ",$funcentry); >> + >> + if (!ereg("::|->",$function)) { >> + strtolower(trim($function)); >> + } MA> Maybe you want to do something with the return value of strtolower here ? t --

« previous php.doc (#969365151) next »