Public Member Functions | |
__construct () | |
addError ($message) | |
addSuccess ($message) | |
getError () | |
getSuccess () |
Definition at line 35 of file Session.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 37 of file Session.php.
00038 { 00039 $this->init('newsletter'); 00040 }
addError | ( | $ | message | ) |
Adding new error message
string | $message |
Reimplemented from Mage_Core_Model_Session_Abstract.
Definition at line 42 of file Session.php.
addSuccess | ( | $ | message | ) |
Adding new success message
string | $message |
Reimplemented from Mage_Core_Model_Session_Abstract.
Definition at line 48 of file Session.php.
getError | ( | ) |
Definition at line 54 of file Session.php.
00055 { 00056 $message = $this->getErrorMessage(); 00057 $this->unsErrorMessage(); 00058 return $message; 00059 }
getSuccess | ( | ) |
Definition at line 61 of file Session.php.
00062 { 00063 $message = $this->getSuccessMessage(); 00064 $this->unsSuccessMessage(); 00065 return $message; 00066 }