Changeset 730 for phpframework

Show
Ignore:
Timestamp:
07/20/08 13:58:17 (1 month ago)
Author:
starkraving2002
Message:

fixing use of 'do' which is reserved... using do() instead

Location:
phpframework/branches/dev
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • phpframework/branches/dev/fuseboxApplication.php

    r720 r730  
    603603        } 
    604604         
    605         function dynamicDo /*I compile and execute a specific fuseaction.*/ ( 
     605        function __do /*I compile and execute a specific fuseaction.*/ ( 
    606606                                $circuitFuseaction /*I am the full name of the requested fuseaction (circuit.fuseaction).*/, 
    607607                                &$myFusebox /*I am the myFusebox data structure.*/, 
  • phpframework/branches/dev/fuseboxControllerMethod.php

    r721 r730  
    6868                        $writer->println('}'); 
    6969                } else { 
    70                         $writer->println('if ( in_array("do",get_class_methods($'.$uniqueName.')) ) {'); 
    71                         $writer->println('$'.$uniqueName.'->do($myFusebox,$event);'); 
     70                        $writer->println('if ( in_array("__do",get_class_methods($'.$uniqueName.')) ) {'); 
     71                        $writer->println('$'.$uniqueName.'->__do($myFusebox,$event);'); 
    7272                        $writer->println('} else {' . 
    7373                                '__cfthrow(array("type"=>"fusebox.undefinedFuseaction" ' .