Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
TYPE_AUTO = 'auto'
TYPE_BOOLEAN = 'boolean'
TYPE_BOOL = 'bool'
TYPE_NUMBER = 'number'
TYPE_INTEGER = 'integer'
TYPE_INT = 'int'
TYPE_FLOAT = 'float'
TYPE_DOUBLE = 'double'
TYPE_STRING = 'string'
TYPE_ARRAY = 'array'
TYPE_CONSTANT = 'constant'
TYPE_NULL = 'null'
TYPE_OTHER = 'other'
int $_arrayDepth = '1'
array $_constants = 'array'
string $_type = 'self'
mixed $_value = 'null'
_getAutoDeterminedType(
mixed $value
)
:
string
_getAutoDeterminedType()
_getValidatedType(
string $type
)
:
string
_getValidatedType()
_init(
)
:
_init()
This method will prepare the constant array for this class
generate(
)
:
string
generate()
getArrayDepth(
)
:
int
getArrayDepth()
getType(
)
:
string
getType()
getValue(
)
:
mixed
getValue()
isValidConstantType(
)
:
bool
isValidConstantType()
setArrayDepth(
int $arrayDepth
)
:
Zend_CodeGenerator_Php_Property_DefaultValue
setArrayDepth()
setType(
string $type
)
:
Zend_CodeGenerator_Php_Property_DefaultValue
setType()
setValue(
mixed $value
)
:
Zend_CodeGenerator_Php_Property_DefaultValue
setValue()