Hello Techtonik,

techtonik               Fri Nov 19 06:07:43 2004 EDT

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
[..]
+$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));
+    }

Maybe you want to do something with the return value of strtolower here ?

didou

Reply via email to