||*()*|| 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
-- 

Reply via email to