category | Zend |
---|---|
package | Zend_CodeGenerator |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_CodeGenerator_Php_Abstract |
__construct(array $options = array()
)
array
__toString() : string
string
_getAutoDeterminedType(mixed $value) : string
mixed
string
generate() : string
string
generate()
getArrayDepth() : integer
integer
getIndentation() : string | integer
string
integer
getSourceContent() : string
string
getType() : string
string
getValue() : mixed
mixed
isSourceDirty() : boolean
boolean
isValidConstantType() : boolean
boolean
setArrayDepth(integer $arrayDepth) : \Zend_CodeGenerator_Php_Property_DefaultValue
integer
\Zend_CodeGenerator_Php_Property_DefaultValue
setConfig(\Zend_Config $config) : \Zend_CodeGenerator_Abstract
\Zend_Config
\Zend_CodeGenerator_Abstract
setIndentation(string|integer $indentation) : \Zend_CodeGenerator_Php_Abstract
string
integer
\Zend_CodeGenerator_Php_Abstract
setOptions(array $options) : \Zend_CodeGenerator_Abstract
array
\Zend_CodeGenerator_Abstract
setSourceContent(string $sourceContent)
string
setSourceDirty(boolean $isSourceDirty = true
) : \Zend_CodeGenerator_Php_Abstract
boolean
\Zend_CodeGenerator_Php_Abstract
setType(string $type) : \Zend_CodeGenerator_Php_Property_DefaultValue
string
\Zend_CodeGenerator_Php_Property_DefaultValue
setValue(mixed $value) : \Zend_CodeGenerator_Php_Property_DefaultValue
mixed
\Zend_CodeGenerator_Php_Property_DefaultValue
_getValidatedType(string $type) : string
string
string
_init()
This method will prepare the constant array for this class
_init()
_prepare()
$_arrayDepth : integer
1
$_constants : array
array()
$_indentation : integer | string
' '
$_isSourceDirty : boolean
true
$_sourceContent : string
null
$_type : string
self::TYPE_AUTO
$_value : mixed
null
LINE_FEED = "\n"
TYPE_ARRAY = 'array'
TYPE_AUTO = 'auto'
TYPE_BOOL = 'bool'
TYPE_BOOLEAN = 'boolean'
TYPE_CONSTANT = 'constant'
TYPE_DOUBLE = 'double'
TYPE_FLOAT = 'float'
TYPE_INT = 'int'
TYPE_INTEGER = 'integer'
TYPE_NULL = 'null'
TYPE_NUMBER = 'number'
TYPE_OTHER = 'other'
TYPE_STRING = 'string'