Method |
Description |
|
ident ( ) : string |
Get the string for the current tabulation |
|
php_append_var ( $op ) : string |
Return code to append something to a variable |
|
php_declare ( $op, $assign = ' =' ) : string |
Return a variable declaration |
|
php_else ( ) : string |
Return code for "else" |
|
php_end_block ( ) : string |
Finish the current block (if, for, function, etc),
return the final "}", and decrease $this->ident |
|
php_end_for ( ) : string |
Return code to end a for |
|
php_end_foreach ( ) : string |
Return code to end a foreach |
|
php_end_function ( ) : string |
Return code to end a function |
|
php_end_if ( ) : string |
Return code to end a if |
|
php_exec ( $op ) : string |
Return code for a function calling. |
|
php_expr ( $op ) : string |
Return a stand-alone statement |
|
php_for ( $op ) |
|
|
php_foreach ( $op ) : string |
Return the declaration of a "foreach" statement. |
|
php_generate_expr ( $expr ) : string |
Return an expression |
|
php_generate_list ( $array ) : string |
Return a list of expressions for parameters
of a function |
|
php_generate_stmt ( $op, $concat = '.' ) : string |
Return the representation of a statement |
|
php_get_varname ( mixed $var ) : string |
Return a variable |
|
php_if ( $op ) : string |
Return the "if" declaration and increase $this->ident |
|
php_inc ( $op ) : string |
Return increment a variable ($var++) |
|
php_print ( $op ) : string |
Return an echo of an stmt |
|
php_return ( $op ) : string |
Return "return" |
|