Zend Framework
3.0
|
Public Member Functions | |
generate () | |
Public Member Functions inherited from ValueGenerator | |
__construct ($value=null, $type=self::TYPE_AUTO, $outputMode=self::OUTPUT_MULTIPLE_LINE, $constants=null) | |
initEnvironmentConstants () | |
Init constant list by defined and magic constants. | |
addConstant ($constant) | |
Add constant to list. | |
deleteConstant ($constant) | |
Delete constant from constant list. | |
getConstants () | |
Return constant list. | |
isValidConstantType () | |
setValue ($value) | |
getValue () | |
setType ($type) | |
getType () | |
setArrayDepth ($arrayDepth) | |
getArrayDepth () | |
getAutoDeterminedType ($value) | |
generate () | |
setOutputMode ($outputMode) | |
getOutputMode () | |
__toString () | |
Public Member Functions inherited from AbstractGenerator | |
__construct ($options=[]) | |
setSourceDirty ($isSourceDirty=true) | |
isSourceDirty () | |
setIndentation ($indentation) | |
getIndentation () | |
setSourceContent ($sourceContent) | |
getSourceContent () | |
setOptions ($options) | |
Protected Attributes | |
$arrayDepth = 1 | |
Protected Attributes inherited from ValueGenerator | |
$value = null | |
$type = self::TYPE_AUTO | |
$arrayDepth = 0 | |
$outputMode = self::OUTPUT_MULTIPLE_LINE | |
$allowedTypes = null | |
$constants | |
Protected Attributes inherited from AbstractGenerator | |
$isSourceDirty = true | |
$indentation = ' ' | |
$sourceContent = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from ValueGenerator | |
static | escape ($input, $quote=true) |
Quotes value for PHP code. | |
Public Attributes inherited from ValueGenerator | |
const | TYPE_AUTO = 'auto' |
#@+ Constant values | |
const | TYPE_BOOLEAN = 'boolean' |
const | TYPE_BOOL = 'bool' |
const | TYPE_NUMBER = 'number' |
const | TYPE_INTEGER = 'integer' |
const | TYPE_INT = 'int' |
const | TYPE_FLOAT = 'float' |
const | TYPE_DOUBLE = 'double' |
const | TYPE_STRING = 'string' |
const | TYPE_ARRAY = 'array' |
const | TYPE_ARRAY_SHORT = 'array_short' |
const | TYPE_ARRAY_LONG = 'array_long' |
const | TYPE_CONSTANT = 'constant' |
const | TYPE_NULL = 'null' |
const | TYPE_OBJECT = 'object' |
const | TYPE_OTHER = 'other' |
const | OUTPUT_MULTIPLE_LINE = 'multipleLine' |
#@- | |
const | OUTPUT_SINGLE_LINE = 'singleLine' |
Protected Member Functions inherited from ValueGenerator | |
getValidatedType ($type) | |
generate | ( | ) |
Implements GeneratorInterface.
|
protected |