API Documentation

Validate/NotEmpty.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
version
$Id: NotEmpty.php 22697 2010-07-26 21:14:47Z alexander $
Classes
Zend_Validate_NotEmpty

Description

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.

Zend_Validate_NotEmpty

Extends from
Zend_Validate_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
Constants
BOOLEAN
INTEGER
FLOAT
STRING
ZERO
EMPTY_ARRAY
NULL
PHP
SPACE
OBJECT
OBJECT_STRING
OBJECT_COUNT
ALL
INVALID
IS_EMPTY
Properties
$_constants
$_messageTemplates
$_type
Methods
__construct
getType
setType
isValid

Description

Constants

BOOLEAN

 BOOLEAN = '1'

Details

value
1

INTEGER

 INTEGER = '2'

Details

value
2

FLOAT

 FLOAT = '4'

Details

value
4

STRING

 STRING = '8'

Details

value
8

ZERO

 ZERO = '16'

Details

value
16

EMPTY_ARRAY

 EMPTY_ARRAY = '32'

Details

value
32

NULL

 NULL = '64'

Details

value
64

PHP

 PHP = '127'

Details

value
127

SPACE

 SPACE = '128'

Details

value
128

OBJECT

 OBJECT = '256'

Details

value
256

OBJECT_STRING

 OBJECT_STRING = '512'

Details

value
512

OBJECT_COUNT

 OBJECT_COUNT = '1024'

Details

value
1024

ALL

 ALL = '2047'

Details

value
2047

INVALID

 INVALID = 'notEmptyInvalid'

Details

value
notEmptyInvalid

IS_EMPTY

 IS_EMPTY = 'isEmpty'

Details

value
isEmpty

Properties

$_constants

 $_constants = 'array'

Details

visibility
protected
default
array
final
false
static
false

$_messageTemplates

array $_messageTemplates = 'array'

Details

$_messageTemplates
array
visibility
protected
default
array
final
false
static
false

$_type

integer $_type = '493'

Internal type to detect

Details

$_type
integer
visibility
protected
default
493
final
false
static
false

Methods

__construct

__construct( string|array|Zend_Config $options = null ) :

Constructor

Arguments
$options
stringarrayZend_Config
OPTIONAL
Details
visibility
public
final
false
static
false

getType

getType( ) : array

Returns the set types

Output
array
Details
visibility
public
final
false
static
false

isValid

isValid( string $value ) : boolean

Defined by Zend_Validate_Interface

Returns true if and only if $value is not an empty value.

Arguments
$value
string
Output
boolean
Details
visibility
public
final
false
static
false

setType

setType( integer|array $type = null ) : Zend_Validate_NotEmpty

Set the types

Arguments
$type
integerarray
Details
visibility
public
final
false
static
false
throws
Documentation was generated by DocBlox.