lib/ezutils/classes/ezphpcreator.php
File containing the eZPHPCreator class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- lib
- Version
- 4.6.0
\eZPHPCreator
Package: lib
File containing the eZPHPCreator class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Constants
Properties
Methods


_restoreCall(
$path, $mtime, $variableDefinitions
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$path | ||
$mtime | ||
$variableDefinitions |


addCodePiece(
$code, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$code | ||
$parameters |


addComment(
$comment, $eol
=
true, $whitespaceHandling
=
true, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$comment | ||
$eol | ||
$whitespaceHandling | ||
$parameters |


addDefine(
$name, $value, $caseSensitive
=
true, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$name | ||
$value | ||
$caseSensitive | ||
$parameters |


addInclude(
$file, $type
=
eZPHPCreator::INCLUDE_ONCE_STATEMENT, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$file | ||
$type | ||
$parameters |


addMethodCall(
$objectName, $methodName, $methodParameters, $returnValue
=
false, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$objectName | ||
$methodName | ||
$methodParameters | ||
$returnValue | ||
$parameters |


addVariable(
$name, $value, $assignmentType
=
eZPHPCreator::VARIABLE_ASSIGNMENT, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$name | ||
$value | ||
$assignmentType | ||
$parameters |


addVariableUnset(
$name, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$name | ||
$parameters |


addVariableUnsetList(
$list, $parameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$list | ||
$parameters |


eZPHPCreator(
$dir, $file, $prefix
=
'', $options
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$dir | ||
$file | ||
$prefix | ||
$options |


prependSpacing(
$text, $spacing, $skipEmptyLines
=
true, $spacingString
=
" ", $splitString
=
"\n"
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$text | ||
$spacing | ||
$skipEmptyLines | ||
$spacingString | ||
$splitString |


thisVariableText(
$value, $column
=
0, $iteration
=
0, $maxIterations
=
2
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$value | ||
$column | ||
$iteration | ||
$maxIterations |


variableNameText(
$variableName, $assignmentType, $variableParameters
=
array()
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$variableName | ||
$assignmentType | ||
$variableParameters |


variableText(
$value, $column
=
0, $iteration
=
0, $maxIterations
=
false
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$value | ||
$column | ||
$iteration | ||
$maxIterations |


writeRawVariable(
$variableName, $variableValue
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$variableName | ||
$variableValue |


writeVariable(
$variableName, $variableValue, $assignmentType
=
eZPHPCreator::VARIABLE_ASSIGNMENT, $variableParameters
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$variableName | ||
$variableValue | ||
$assignmentType | ||
$variableParameters |