Apache Zeta Components Manual :: Package PhpGenerator Element Index
Element index for package PhpGenerator
Package indexes
[
a ]
[
e ]
[
f ]
[
i ]
[
p ]
[
t ]
[
v ]
[
w ]
[
_ ]
Letter '_'
- __construct
- in file php_generator_parameter.php, method ezcPhpGeneratorParameter::__construct()
Constructs a new ezcPhpGeneratorParameter.
- __construct
- in file php_generator_return_data.php, method ezcPhpGeneratorReturnData::__construct()
Constructs a new PhpGeneratorReturnData.
- __construct
- in file flow_exception.php, method ezcPhpGeneratorFlowException::__construct()
Constructs a new flow exception.
- __construct
- in file php_generator_exception.php, method ezcPhpGeneratorException::__construct()
Constructs a new ezcPhpGeneratorException with error message $message.
- __construct
- in file php_generator.php, method ezcPhpGenerator::__construct()
Constructs a new ezcPhpGenerator.
- __destruct
- in file php_generator.php, method ezcPhpGenerator::__destruct()
Destructs the object.
- __set_state
- 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
- in file php_generator_parameter.php, method ezcPhpGeneratorParameter::__set_state()
Returns a new instance of this class with the data specified by $array.
Letter 'a'
- abort
- in file php_generator.php, method ezcPhpGenerator::abort()
Aborts the PHP generating. Cleans up the file handler and the temporary file.
- appendComment
- in file php_generator.php, method ezcPhpGenerator::appendComment()
Inserts a comment into the generated code.
- appendCustomCode
- in file php_generator.php, method ezcPhpGenerator::appendCustomCode()
Inserts custom code into the generated code.
- appendDefine
- in file php_generator.php, method ezcPhpGenerator::appendDefine()
Defines the variable $name with the value $value in the generated code.
- appendDo
- in file php_generator.php, method ezcPhpGenerator::appendDo()
Inserts a do statement in the generated code.
- appendElse
- in file php_generator.php, method ezcPhpGenerator::appendElse()
Inserts an else or an else if statement into the generated code.
- appendEmptyLines
- in file php_generator.php, method ezcPhpGenerator::appendEmptyLines()
Inserts $lines number of empty lines in the generated code.
- appendEndDo
- in file php_generator.php, method ezcPhpGenerator::appendEndDo()
Ends a do statement in the generated code.
- appendEndForeach
- in file php_generator.php, method ezcPhpGenerator::appendEndForeach()
Ends a foreach statement in the generated code.
- appendEndIf
- in file php_generator.php, method ezcPhpGenerator::appendEndIf()
Ends an if statement in the generated code.
- appendEndWhile
- in file php_generator.php, method ezcPhpGenerator::appendEndWhile()
Ends a while statement in the generated code.
- appendForeach
- in file php_generator.php, method ezcPhpGenerator::appendForeach()
Inserts a foreach statement into the generated code.
- appendFunctionCall
- in file php_generator.php, method ezcPhpGenerator::appendFunctionCall()
Inserts a function call in the generated code.
- appendIf
- in file php_generator.php, method ezcPhpGenerator::appendIf()
Inserts an if statement into the generated code.
- appendMethodCall
- in file php_generator.php, method ezcPhpGenerator::appendMethodCall()
Inserts a method call on an object in the generated code.
- appendMethodOrFunctionCall
- in file php_generator.php, method ezcPhpGenerator::appendMethodOrFunctionCall()
Inserts a method or function call in the generated code.
- appendUnset
- in file php_generator.php, method ezcPhpGenerator::appendUnset()
Unsets the variable $name in the generated code.
- appendUnsetList
- in file php_generator.php, method ezcPhpGenerator::appendUnsetList()
Unsets the variable names in $list in the generated code.
- appendValueAssignment
- in file php_generator.php, method ezcPhpGenerator::appendValueAssignment()
Assigns $value to the variable $name in the generated code.
- appendVariableAssignment
- in file php_generator.php, method ezcPhpGenerator::appendVariableAssignment()
Assigns the variable named $variable to the variable $name in the generated code.
- appendWhile
- in file php_generator.php, method ezcPhpGenerator::appendWhile()
Inserts a while statement in the generated code.
- ASSIGN_ADD
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_ADD
Assignment with add '+='.
- ASSIGN_APPEND_TEXT
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_APPEND_TEXT
Text append assignment '.='.
- ASSIGN_ARRAY_APPEND
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_ARRAY_APPEND
Assignment with array append $var[] ='.
- ASSIGN_NORMAL
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_NORMAL
Normal assignment '='.
- ASSIGN_SUBTRACT
- in file php_generator.php, class constant ezcPhpGenerator::ASSIGN_SUBTRACT
Assignment with subtraction '-='.
Letter '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.
Letter 'f'
- finish
- in file php_generator.php, method ezcPhpGenerator::finish()
Completes the code generation
- FLOW_DO
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_DO
'do' program flow structure.
- FLOW_FOR
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_FOR
'for' program flow structure.
- FLOW_FOREACH
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_FOREACH
'foreach' program flow structure.
- FLOW_IF
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_IF
'if' program flow structure.
- FLOW_WHILE
- in file php_generator.php, class constant ezcPhpGenerator::FLOW_WHILE
'while' program flow structure.
- flow_exception.php
- procedural page flow_exception.php
Letter 'i'
- indentCode
- in file php_generator.php, method ezcPhpGenerator::indentCode()
Returns each line in $text indented correctly if indenting is turned on.
Letter '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
Letter 't'
- $type
- in file php_generator_return_data.php, variable ezcPhpGeneratorReturnData::$type
The type of the assignment to use. The default is a normal '=' assignment.
- $type
- in file php_generator_parameter.php, variable ezcPhpGeneratorParameter::$type
The type of the parameter. Use either VARIABLE or VALUE.
Letter 'v'
- $variable
- 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.
- $variable
- in file php_generator_return_data.php, variable ezcPhpGeneratorReturnData::$variable
The name of the variable gets the method return value assigned to it.
- VALUE
- 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
- 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.
Letter 'w'
- write
- in file php_generator.php, method ezcPhpGenerator::write()
Writes $data to $this->fileResource