API Documentation

Validate/Identical.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: Identical.php 22077 2010-05-02 13:44:46Z thomas $
Classes
Zend_Validate_Identical

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_Identical

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
NOT_SAME
MISSING_TOKEN
Properties
$_messageTemplates
$_messageVariables
$_tokenString
$_token
$_strict
Methods
__construct
getToken
setToken
getStrict
setStrict
isValid

Description

Constants

NOT_SAME

 NOT_SAME = 'notSame'

Error codes

Details

value
notSame
const
string

MISSING_TOKEN

 MISSING_TOKEN = 'missingToken'

Details

value
missingToken

Properties

$_messageTemplates

array $_messageTemplates = 'array'

Error messages

Details

$_messageTemplates
array
visibility
protected
default
array
final
false
static
false

$_messageVariables

array $_messageVariables = 'array'

Details

$_messageVariables
array
visibility
protected
default
array
final
false
static
false

$_strict

 $_strict = 'true'

Details

visibility
protected
default
true
final
false
static
false

$_token

 $_token = ''

Details

visibility
protected
default
final
false
static
false

$_tokenString

string $_tokenString = ''

Original token against which to validate

Details

$_tokenString
string
visibility
protected
default
final
false
static
false

Methods

__construct

__construct( mixed $token = null ) : void

Sets validator options

Arguments
$token
mixed
Details
visibility
public
final
false
static
false

getStrict

getStrict( ) : boolean

Returns the strict parameter

Output
boolean
Details
visibility
public
final
false
static
false

getToken

getToken( ) : string

Retrieve token

Output
string
Details
visibility
public
final
false
static
false

isValid

isValid( mixed $value, array $context = null ) : boolean

Defined by Zend_Validate_Interface

Returns true if and only if a token has been set and the provided value matches that token.

Arguments
$value
mixed
$context
array
Output
boolean
Details
visibility
public
final
false
static
false

setStrict

setStrict(  $strict ) :

Sets the strict parameter

Arguments
$strict
Zend_Validate_Identical
Details
visibility
public
final
false
static
false

setToken

setToken( mixed $token ) : Zend_Validate_Identical

Set token against which to compare

Arguments
$token
mixed
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.