array validateUser(
array
$values)
|
|
Validate user input, add or update form $values is an array on multiple levels.
Validate user input, add or update form $values is an array on multiple levels. On first level, the key suggest what validation will be done.
- details - only filter the input
- username - validate with Zend_Validate_Alnum, Zend_Validate_StringLength and filter the input
- email - validate with Zend_Validate_EmailAddress and filter the input
- password - validate with Zend_Validate_StringLength and filter the input
Tags:
Parameters: