Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
BOOLEAN = '1'
INTEGER = '2'
FLOAT = '4'
STRING = '8'
ZERO = '16'
EMPTY_ARRAY = '32'
NULL = '64'
PHP = '127'
SPACE = '128'
OBJECT = '256'
OBJECT_STRING = '512'
OBJECT_COUNT = '1024'
ALL = '2047'
INVALID = 'notEmptyInvalid'
IS_EMPTY = 'isEmpty'
$_constants = 'array'
array $_messageTemplates = 'array'
integer $_type = '493'
Internal type to detect
__construct(
string|array|Zend_Config $options
=
null
)
:
Constructor
getType(
)
:
array
Returns the set types
isValid(
string $value
)
:
boolean
Defined by Zend_Validate_Interface
Returns true if and only if $value is not an empty value.
setType(
integer|array $type
=
null
)
:
Zend_Validate_NotEmpty
Set the types