Zend Framework
3.0
|
Public Member Functions | |
__construct ($name=null) | |
setAllowEmpty ($allowEmpty) | |
setBreakOnFailure ($breakOnFailure) | |
setContinueIfEmpty ($continueIfEmpty) | |
setErrorMessage ($errorMessage) | |
setFilterChain (FilterChain $filterChain) | |
setName ($name) | |
setRequired ($required) | |
setValidatorChain (ValidatorChain $validatorChain) | |
setValue ($value) | |
Set the input value. | |
resetValue () | |
Reset input value to the default state. | |
setFallbackValue ($value) | |
allowEmpty () | |
breakOnFailure () | |
continueIfEmpty () | |
getErrorMessage () | |
getFilterChain () | |
getName () | |
getRawValue () | |
isRequired () | |
getValidatorChain () | |
getValue () | |
hasValue () | |
Flag for inform if input value was set. | |
getFallbackValue () | |
hasFallback () | |
clearFallbackValue () | |
merge (InputInterface $input) | |
isValid ($context=null) | |
getMessages () | |
Public Member Functions inherited from InputInterface | |
isValid () | |
Protected Member Functions | |
injectNotEmptyValidator () | |
prepareRequiredValidationFailureMessage () | |
Create and return the validation failure message for required input. | |
Protected Attributes | |
$allowEmpty = false | |
$continueIfEmpty = false | |
$breakOnFailure = false | |
$errorMessage | |
$filterChain | |
$name | |
$notEmptyValidator = false | |
$required = true | |
$validatorChain | |
$value | |
$hasValue = false | |
$fallbackValue | |
$hasFallback = false | |
__construct | ( | $name = null | ) |
allowEmpty | ( | ) |
breakOnFailure | ( | ) |
Implements InputInterface.
clearFallbackValue | ( | ) |
continueIfEmpty | ( | ) |
Implements EmptyContextInterface.
getErrorMessage | ( | ) |
Implements InputInterface.
getFallbackValue | ( | ) |
getFilterChain | ( | ) |
Implements InputInterface.
getMessages | ( | ) |
Implements InputInterface.
getName | ( | ) |
Implements InputInterface.
getRawValue | ( | ) |
Implements InputInterface.
getValidatorChain | ( | ) |
Implements InputInterface.
getValue | ( | ) |
Implements InputInterface.
hasFallback | ( | ) |
hasValue | ( | ) |
Flag for inform if input value was set.
This flag used for distinguish when Input::getValue() will return the value previously set or the default.
|
protected |
isRequired | ( | ) |
Implements InputInterface.
isValid | ( | $context = null | ) |
mixed | $context | Extra "context" to provide the validator |
merge | ( | InputInterface | $input | ) |
|
protected |
Create and return the validation failure message for required input.
resetValue | ( | ) |
Reset input value to the default state.
setAllowEmpty | ( | $allowEmpty | ) |
bool | $allowEmpty |
Implements InputInterface.
setBreakOnFailure | ( | $breakOnFailure | ) |
setContinueIfEmpty | ( | $continueIfEmpty | ) |
bool | $continueIfEmpty |
Implements EmptyContextInterface.
setErrorMessage | ( | $errorMessage | ) |
setFallbackValue | ( | $value | ) |
mixed | $value |
setFilterChain | ( | FilterChain | $filterChain | ) |
setName | ( | $name | ) |
setRequired | ( | $required | ) |
setValidatorChain | ( | ValidatorChain | $validatorChain | ) |
setValue | ( | $value | ) |
Set the input value.
If you want to remove/unset the current value use Input::resetValue().
mixed | $value |
Implements InputInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |