2003. Class

2003.1. Zend\Validator\Identical

2003.1.1. Methods

2003.1.1.1. __construct

__construct()

Sets validator options

Parameters:mixed

2003.1.1.2. getToken

getToken()

Retrieve token

Return type:string

2003.1.1.3. setToken

setToken()

Set token against which to compare

Parameters:mixed
Return type:Identical

2003.1.1.4. getStrict

getStrict()

Returns the strict parameter

Return type:bool

2003.1.1.5. setStrict

setStrict()

Sets the strict parameter

Parameters:ZendValidatorIdentical
Return type:Identical

2003.1.1.6. isValid

isValid()

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

Parameters:
  • mixed
  • array
Return type:

bool

2003.1.2. Constants

2003.1.2.1. NOT_SAME

Error codes

2003.1.2.2. MISSING_TOKEN