Свойство | Тип | Описание | |
---|---|---|---|
$argumentNames | array | Names of the arguments contained by this object |
Метод | Описание | |
---|---|---|
__call ( string $methodName, array $arguments ) : void | Magic setter method for the argument values. Each argument value can be set by just calling the setArgumentName() method. | |
addArgument ( |
Adds the specified controller argument to this composite object. | |
addNewArgument ( string $name, string $dataType = 'string', boolean $isRequired = true, mixed $defaultValue = null ) : |
Creates, adds and returns a new controller argument to this composite object. | |
append ( mixed $value ) : void | Sets an argument, aliased to offsetSet() | |
getArgument ( string $argumentName ) : |
Returns an argument specified by name | |
getArgumentNames ( ) : array | Returns the names of all arguments contained in this object | |
getValidationResults ( ) : Neos\Error\Messages\Result | Get all property mapping / validation errors | |
hasArgument ( string $argumentName ) : boolean | Checks if an argument with the specified name exists | |
offsetExists ( mixed $offset ) : boolean | Returns whether the requested index exists | |
offsetGet ( mixed $offset ) : |
Returns the value at the specified index | |
offsetSet ( mixed $offset, mixed $value ) : void | Adds or replaces the argument specified by $value. The argument's name is taken from the argument object itself, therefore the $offset does not have any meaning in this context. | |
offsetUnset ( mixed $offset ) : void | Unsets an argument | |
removeAll ( ) : void | Remove all arguments and resets this object |
Метод | Описание | |
---|---|---|
validateArgumentExistence ( string $argumentName ) : string | Translates a short argument name to its corresponding long name. If the specified argument name is a real argument name already, it will be returned again. |
public addArgument ( |
||
$argument | The argument to add | |
Результат | void |
public addNewArgument ( string $name, string $dataType = 'string', boolean $isRequired = true, mixed $defaultValue = null ) : |
||
$name | string | Name of the argument |
$dataType | string | Name of one of the built-in data types |
$isRequired | boolean | TRUE if this argument should be marked as required |
$defaultValue | mixed | Default value of the argument. Only makes sense if $isRequired==FALSE |
Результат | The new argument |
public getArgument ( string $argumentName ) : |
||
$argumentName | string | Name of the argument to retrieve |
Результат |
public getArgumentNames ( ) : array | ||
Результат | array | Argument names |
public getValidationResults ( ) : Neos\Error\Messages\Result | ||
Результат | Neos\Error\Messages\Result |
public hasArgument ( string $argumentName ) : boolean | ||
$argumentName | string | Name of the argument to check for |
Результат | boolean | TRUE if such an argument exists, otherwise FALSE |
public offsetExists ( mixed $offset ) : boolean | ||
$offset | mixed | Offset |
Результат | boolean |
public offsetUnset ( mixed $offset ) : void | ||
$offset | mixed | Offset |
Результат | void |
protected validateArgumentExistence ( string $argumentName ) : string | ||
$argumentName | string | argument name |
Результат | string | long argument name or empty string |
protected array $argumentNames | ||
Результат | array |