2001. Class

2001.1. Zend\Session\Validator\HttpUserAgent

2001.1.1. Methods

2001.1.1.1. __construct

__construct()

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

Parameters:string|null

2001.1.1.2. isValid

isValid()

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

Return type:bool

2001.1.1.3. getData

getData()

Retrieve token for validating call

Return type:string

2001.1.1.4. getName

getName()

Return validator name

Return type:string

Project Versions

Table Of Contents

Previous topic

2000. Class

Next topic

2002. Class

This Page