Todo List
PHP_Beautifier_Decorator | --PHP_Beautifier_Batch
1 require "PHP/Beautifier.php";2 require "PHP/Beautifier/Batch.php";3 $oBeaut= new PHP_Beautifier();4 $oBatch= new PHP_Beautifier_Batch($oBeaut); // Decorator5 $oBatch->setInputFile(__FILE__);6 $oBatch->process();7 $oBatch->show();
mixed callBeautifier( PHP_Beautifier_Batch_Engine PHP_Beautifier_Batch_Output$oEngine, string $sMethod, [array $aArgs = array()])
string get( )
void getBatchEngine( )
void getInputFiles( )
void getOutputPath( )
bool process( )
bool save( [mixed $sFile = null])
void setCompress( [mixed $mCompress = true])
bool setInputFile( mixed $mFiles)
Could be STDIN or a name, with special chars (?,*)
void setInputFilePost( )
true setOutputFile( mixed $sFile)
Could be STDOUT or a path to a file or dir (with '/' at the end)
void setOutputFilePost( )
void setRecursive( [bool $bRecursive = true])
void show( )