category Zend
package Zend_Session
subpackage Validator

 Methods

Constructor get the current user agent and store it in the session as 'valid data'

__construct(string | null $data) 

Parameters

$data

stringnull

Retrieve token for validating call

getData() : string

Returns

string

Return validator name

getName() : string

Returns

string

isValid() - this method will determine if the current user agent matches the user agent we stored when we initialized this variable.

isValid() : bool

Returns

bool

 Properties

 

Internal data

$data : string