프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$allowedTypes | array | ||
$arrayDepth | integer | ||
$constants | ArrayObject | Zend\Stdlib\ArrayObject | Autodetectable constants | |
$outputMode | string | ||
$type | string | ||
$value | mixed |
메소드 | 설명 | |
---|---|---|
__construct ( mixed $value = null, string $type = self::TYPE_AUTO, string $outputMode = self::OUTPUT_MULTIPLE_LINE, null | ArrayObject | Zend\Stdlib\ArrayObject $constants = null ) | ||
__toString ( ) | ||
addConstant ( string $constant ) | Add constant to list | |
deleteConstant ( string $constant ) : boolean | Delete constant from constant list | |
escape ( string $input, boolean $quote = true ) : string | Quotes value for PHP code. | |
generate ( ) : string | ||
getArrayDepth ( ) : integer | ||
getAutoDeterminedType ( mixed $value ) : string | ||
getConstants ( ) : ArrayObject | Zend\Stdlib\ArrayObject | Return constant list | |
getOutputMode ( ) : string | ||
getType ( ) : string | ||
getValue ( ) : mixed | ||
initEnvironmentConstants ( ) | Init constant list by defined and magic constants | |
isValidConstantType ( ) : boolean | ||
setArrayDepth ( integer $arrayDepth ) : |
||
setOutputMode ( string $outputMode ) : |
||
setType ( string $type ) : |
||
setValue ( mixed $value ) : |
메소드 | 설명 | |
---|---|---|
getValidatedType ( string $type ) : string |
public deleteConstant ( string $constant ) : boolean | ||
$constant | string | |
리턴 | boolean |
public getAutoDeterminedType ( mixed $value ) : string | ||
$value | mixed | |
리턴 | string |
public getConstants ( ) : ArrayObject | Zend\Stdlib\ArrayObject | ||
리턴 | ArrayObject | Zend\Stdlib\ArrayObject |
protected getValidatedType ( string $type ) : string | ||
$type | string | |
리턴 | string |
public initEnvironmentConstants ( ) |
public setArrayDepth ( integer $arrayDepth ) : |
||
$arrayDepth | integer | |
리턴 |
public setOutputMode ( string $outputMode ) : |
||
$outputMode | string | |
리턴 |
protected ArrayObject|ArrayObject,Zend\Stdlib $constants | ||
리턴 | ArrayObject | Zend\Stdlib\ArrayObject |