PhpGenerator
[ ]
[ ]
[ ]
[ ]
[ ]
Element index for package PhpGenerator
[
a ]
[
e ]
[
f ]
[
i ]
[
l ]
[
p ]
[
s ]
[
t ]
[
v ]
[
w ]
[
_ ]
_
- __construct : ezcPhpGeneratorParameter
- in file php_generator_parameter.php, method ezcPhpGeneratorParameter::__construct()
Constructs a new ezcPhpGeneratorParameter.
- __construct : ezcPhpGeneratorReturnData
- in file php_generator_return_data.php, method ezcPhpGeneratorReturnData::__construct()
Constructs a new PhpGeneratorReturnData.
- __construct : ezcPhpGeneratorFlowException
- in file flow_exception.php, method ezcPhpGeneratorFlowException::__construct()
Constructs a new flow exception.
- __construct : ezcPhpGeneratorException
- in file php_generator_exception.php, method ezcPhpGeneratorException::__construct()
Constructs a new ezcPhpGeneratorException with error message $message.
- __construct : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::__construct()
Constructs a new ezcPhpGenerator.
- __destruct : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::__destruct()
Destructs the object.
- __set_state : ezcPhpGeneratorReturnData
- in file php_generator_return_data.php, method ezcPhpGeneratorReturnData::__set_state()
Returns a new instance of this class with the data specified by $array.
- __set_state : ezcPhpGeneratorParameter
- in file php_generator_parameter.php, method ezcPhpGeneratorParameter::__set_state()
Returns a new instance of this class with the data specified by $array.
a
- abort : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::abort()
Aborts the PHP generating. Cleans up the file handler and the temporary file.
- appendComment : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendComment()
Inserts a comment into the generated code.
- appendCustomCode : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendCustomCode()
Inserts custom code into the generated code.
- appendDefine : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendDefine()
Defines the variable $name with the value $value in the generated code.
- appendDo : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendDo()
Inserts a do statement in the generated code.
- appendElse : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendElse()
Inserts an else or an else if statement into the generated code.
- appendEmptyLines : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendEmptyLines()
Inserts $lines number of empty lines in the generated code.
- appendEndDo : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendEndDo()
Ends a do statement in the generated code.
- appendEndForeach : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendEndForeach()
Ends a foreach statement in the generated code.
- appendEndIf : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendEndIf()
Ends an if statement in the generated code.
- appendEndWhile : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendEndWhile()
Ends a while statement in the generated code.
- appendForeach : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendForeach()
Inserts a foreach statement into the generated code.
- appendFunctionCall : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendFunctionCall()
Inserts a function call in the generated code.
- appendIf : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendIf()
Inserts an if statement into the generated code.
- appendMethodCall : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendMethodCall()
Inserts a method call on an object in the generated code.
- appendMethodOrFunctionCall : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendMethodOrFunctionCall()
Inserts a method or function call in the generated code.
- appendUnset : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendUnset()
Unsets the variable $name in the generated code.
- appendUnsetList : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendUnsetList()
Unsets the variable names in $list in the generated code.
- appendValueAssignment : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendValueAssignment()
Assigns $value to the variable $name in the generated code.
- appendVariableAssignment : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendVariableAssignment()
Assigns the variable named $variable to the variable $name in the generated code.
- appendWhile : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::appendWhile()
Inserts a while statement in the generated code.
- VALUE : ezcPhpGeneratorParameter
- in file php_generator_parameter.php, class constant ezcPhpGeneratorParameter::VALUE
Specifies that $variable contains data that should be inserted directly into the generated code using var_export.
- VARIABLE : ezcPhpGeneratorParameter
- in file php_generator_parameter.php, class constant ezcPhpGeneratorParameter::VARIABLE
Specifies that $variable contains the name of a variable which exists in the generated code.
e
- ezcPhpGenerator
- in file php_generator.php, class ezcPhpGenerator
ezcPhpGenerator provides a simple API to generate PHP code.
- ezcPhpGeneratorException
- in file php_generator_exception.php, class ezcPhpGeneratorException
General exception class for the PhpGenerator package.
- ezcPhpGeneratorFlowException
- in file flow_exception.php, class ezcPhpGeneratorFlowException
Flow exceptions are thrown when control structures like if and while are closed out of order.
- ezcPhpGeneratorParameter
- in file php_generator_parameter.php, class ezcPhpGeneratorParameter
ezcPhpGeneratorParameter holds information about a function or method parameter.
- ezcPhpGeneratorReturnData
- in file php_generator_return_data.php, class ezcPhpGeneratorReturnData
Holds meta-data about a function/method return data.
f
- finish : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::finish()
Completes the code generation
- flow_exception.php
- procedural page flow_exception.php
i
- indentCode : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::indentCode()
Returns each line in $text indented correctly if indenting is turned on.
l
- FLOW_DO : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_DO
'do' program flow structure.
- FLOW_FOR : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_FOR
'for' program flow structure.
- FLOW_FOREACH : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_FOREACH
'foreach' program flow structure.
- FLOW_IF : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_IF
'if' program flow structure.
- FLOW_WHILE : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_WHILE
'while' program flow structure.
p
- php_generator_exception.php
- procedural page php_generator_exception.php
- php_generator.php
- procedural page php_generator.php
- php_generator_parameter.php
- procedural page php_generator_parameter.php
- php_generator_return_data.php
- procedural page php_generator_return_data.php
s
- ASSIGN_ADD : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_ADD
Assignment with add '+='.
- ASSIGN_APPEND_TEXT : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_APPEND_TEXT
Text append assignment '.='.
- ASSIGN_ARRAY_APPEND : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_ARRAY_APPEND
Assignment with array append $var[] ='.
- ASSIGN_NORMAL : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_NORMAL
Normal assignment '='.
- ASSIGN_SUBTRACT : ezcPhpGenerator
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_SUBTRACT
Assignment with subtraction '-='.
t
- $type : ezcPhpGeneratorReturnData
- in file php_generator_return_data.php, variable ezcPhpGeneratorReturnData::$type
The type of the assignment to use. The default is a normal '=' assignment.
- $type : ezcPhpGeneratorParameter
- in file php_generator_parameter.php, variable ezcPhpGeneratorParameter::$type
The type of the parameter. Use either VARIABLE or VALUE.
v
- $variable : ezcPhpGeneratorReturnData
- in file php_generator_return_data.php, variable ezcPhpGeneratorReturnData::$variable
The name of the variable gets the method return value assigned to it.
- $variable : ezcPhpGeneratorParameter
- in file php_generator_parameter.php, variable ezcPhpGeneratorParameter::$variable
The actual data of the variable if it is a VALUE type or the name of the variable if it is a VARIABLE type.
w
- write : ezcPhpGenerator
- in file php_generator.php, method ezcPhpGenerator::write()
Writes $data to $this->fileResource
Last updated: Fri, 03 Oct 2008