|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| setup () | |
| validate () | |
Additional Inherited Members | |
Protected Member Functions inherited from Zend_Session_Validator_Abstract | |
| setValidData ($data) | |
| getValidData () | |
Definition at line 37 of file HttpUserAgent.php.
| setup | ( | ) |
Setup() - this method will get the current user agent and store it in the session as 'valid data'
Implements Zend_Session_Validator_Interface.
Definition at line 46 of file HttpUserAgent.php.
| validate | ( | ) |
Validate() - this method will determine if the current user agent matches the user agent we stored when we initialized this variable.
Implements Zend_Session_Validator_Interface.
Definition at line 58 of file HttpUserAgent.php.