PHP Class Nexcessnet_Turpentine_Model_Core_Session

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Inheritance: extends Mage_Core_Model_Session
Show file Open project: nexcess/magento-turpentine

Public Methods

Method Description
__construct ( $data = [] )
getFormKey ( ) : string Retrieve Session Form Key
real_getFormKey ( )
renewFormKey ( ) Creates new Form key
validateFormKey ( string | null $formKey ) : boolean Validates Form key

Method Details

__construct() public method

public __construct ( $data = [] )

getFormKey() public method

Retrieve Session Form Key
public getFormKey ( ) : string
return string A 16 bit unique key for forms

real_getFormKey() public method

public real_getFormKey ( )

renewFormKey() public method

Creates new Form key
public renewFormKey ( )

validateFormKey() public method

Validates Form key
public validateFormKey ( string | null $formKey ) : boolean
$formKey string | null
return boolean