프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dataType | string | Data type of this argument's value | |
$defaultValue | mixed | Default value. Used if argument is optional. | |
$isRequired | boolean | TRUE if this argument is required | |
$name | string | Name of this argument | |
$propertyMapper | |||
$propertyMappingConfiguration | |||
$validationResults | Neos\Error\Messages\Result | The validation results. This can be asked if the argument has errors. | |
$validator | Neos\Flow\Validation\Validator\ValidatorInterface | A custom validator, used supplementary to the base validation | |
$value | object | Actual value of this argument |
메소드 | 설명 | |
---|---|---|
__construct ( string $name, string $dataType ) | Constructs this controller argument | |
getDataType ( ) : string | Returns the data type of this argument's value | |
getDefaultValue ( ) : mixed | Returns the default value of this argument | |
getName ( ) : string | Returns the name of this argument | |
getPropertyMappingConfiguration ( ) : |
Return the Property Mapping Configuration used for this argument; can be used by the initialize*action to modify the Property Mapping. | |
getValidationResults ( ) : array |
||
getValidator ( ) : Neos\Flow\Validation\Validator\ValidatorInterface | Returns the set validator | |
getValue ( ) : object | Returns the value of this argument. If the value is NULL, we use the defaultValue. | |
isRequired ( ) : boolean | Returns TRUE if this argument is required | |
isValid ( ) : boolean | ||
setDefaultValue ( mixed $defaultValue ) : |
Sets the default value of the argument | |
setRequired ( boolean $required ) : |
Marks this argument to be required | |
setValidator ( Neos\Flow\Validation\Validator\ValidatorInterface $validator ) : |
Sets a custom validator which is used supplementary to the base validation | |
setValue ( mixed $rawValue ) : |
Sets the value of this argument. |
public __construct ( string $name, string $dataType ) | ||
$name | string | Name of this argument |
$dataType | string | The data type of this argument |
public getDataType ( ) : string | ||
리턴 | string | The data type |
public getDefaultValue ( ) : mixed | ||
리턴 | mixed | The default value |
public getPropertyMappingConfiguration ( ) : |
||
리턴 |
public getValidator ( ) : Neos\Flow\Validation\Validator\ValidatorInterface | ||
리턴 | Neos\Flow\Validation\Validator\ValidatorInterface | The set validator, NULL if none was set |
public isRequired ( ) : boolean | ||
리턴 | boolean | TRUE if this argument is required |
public setDefaultValue ( mixed $defaultValue ) : |
||
$defaultValue | mixed | Default value |
리턴 | $this |
public setRequired ( boolean $required ) : |
||
$required | boolean | TRUE if this argument should be required |
리턴 | $this |
public setValidator ( Neos\Flow\Validation\Validator\ValidatorInterface $validator ) : |
||
$validator | Neos\Flow\Validation\Validator\ValidatorInterface | The actual validator object |
리턴 | Returns $this (used for fluent interface) |
protected mixed $defaultValue | ||
리턴 | mixed |
protected PropertyMapper,Neos\Flow\Property $propertyMapper | ||
리턴 |
protected MvcPropertyMappingConfiguration,Neos\Flow\Mvc\Controller $propertyMappingConfiguration | ||
리턴 |
protected Result,Neos\Error\Messages $validationResults | ||
리턴 | Neos\Error\Messages\Result |
protected ValidatorInterface,Neos\Flow\Validation\Validator $validator | ||
리턴 | Neos\Flow\Validation\Validator\ValidatorInterface |