Zend Framework
1.12
|
Public Member Functions | |
isValidConstantType () | |
isValidConstantType() | |
setValue ($value) | |
setValue() | |
getValue () | |
getValue() | |
setType ($type) | |
setType() | |
getType () | |
getType() | |
setArrayDepth ($arrayDepth) | |
setArrayDepth() | |
getArrayDepth () | |
getArrayDepth() | |
_getAutoDeterminedType ($value) | |
_getAutoDeterminedType() | |
generate () | |
generate() | |
![]() | |
setSourceDirty ($isSourceDirty=true) | |
setSourceDirty() | |
isSourceDirty () | |
isSourceDirty() | |
setIndentation ($indentation) | |
setIndentation() | |
getIndentation () | |
getIndentation() | |
![]() | |
__construct ($options=array()) | |
__construct() | |
setConfig (Zend_Config $config) | |
setConfig() | |
setOptions (Array $options) | |
setOptions() | |
setSourceContent ($sourceContent) | |
setSourceContent() | |
getSourceContent () | |
getSourceContent() | |
generate () | |
generate() - must be implemented by the child | |
__toString () | |
__toString() - casting to a string will in turn call generate() | |
Public Attributes | |
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_CONSTANT = 'constant' |
const | TYPE_NULL = 'null' |
const | TYPE_OTHER = 'other' |
![]() | |
const | LINE_FEED = "\n" |
Line feed to use in place of EOL. | |
Protected Member Functions | |
_init () | |
_init() | |
_getValidatedType ($type) | |
_getValidatedType() | |
Protected Attributes | |
$_value = null | |
$_type = self::TYPE_AUTO | |
$_arrayDepth = 1 | |
![]() | |
$_isSourceDirty = true | |
$_indentation = ' ' | |
![]() | |
$_sourceContent = null | |
$_isSourceDirty = true | |
Static Protected Attributes | |
static | $_constants = array() |
_getAutoDeterminedType | ( | $value | ) |
|
protected |
|
protected |
This method will prepare the constant array for this class
generate | ( | ) |
getArrayDepth | ( | ) |
getType | ( | ) |
getValue | ( | ) |
isValidConstantType | ( | ) |
setArrayDepth | ( | $arrayDepth | ) |
setType | ( | $type | ) |
setValue | ( | $value | ) |
|
protected |
|
staticprotected |
|
protected |
|
protected |
const TYPE_ARRAY = 'array' |
const TYPE_AUTO = 'auto' |
#@+ Constant values
const TYPE_BOOL = 'bool' |
const TYPE_BOOLEAN = 'boolean' |
const TYPE_CONSTANT = 'constant' |
const TYPE_DOUBLE = 'double' |
const TYPE_FLOAT = 'float' |
const TYPE_INT = 'int' |
const TYPE_INTEGER = 'integer' |
const TYPE_NULL = 'null' |
const TYPE_NUMBER = 'number' |
const TYPE_OTHER = 'other' |
const TYPE_STRING = 'string' |