Public Member Functions | |
__construct ($data=array()) | |
getFormKey () |
Definition at line 34 of file Session.php.
__construct | ( | $ | data = array() |
) |
Definition at line 36 of file Session.php.
00037 { 00038 $name = isset($data['name']) ? $data['name'] : null; 00039 $this->init('core', $name); 00040 }
getFormKey | ( | ) |
Retrieve Session Form Key
Definition at line 47 of file Session.php.
00048 { 00049 if (!$this->getData('_form_key')) { 00050 $this->setData('_form_key', Mage::helper('core')->getRandomString(16)); 00051 } 00052 return $this->getData('_form_key'); 00053 }