
Public Member Functions | |
| getSendUrl () | |
| getEnteredData ($key) | |
Protected Member Functions | |
| _prepareLayout () | |
Protected Attributes | |
| $_enteredData = null | |
Definition at line 35 of file Sharing.php.
| _prepareLayout | ( | ) | [protected] |
Preparing global layout
You can redefine this method in child classes for changin layout
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 40 of file Sharing.php.
00041 { 00042 if ($headBlock = $this->getLayout()->getBlock('head')) { 00043 $headBlock->setTitle($this->__('Wishlist Sharing')); 00044 } 00045 }
| getEnteredData | ( | $ | key | ) |
Definition at line 52 of file Sharing.php.
00053 { 00054 if(is_null($this->_enteredData)) { 00055 $this->_enteredData = Mage::getSingleton('wishlist/session')->getData('sharing_form', true); 00056 } 00057 00058 if(!$this->_enteredData || !isset($this->_enteredData[$key])) { 00059 return null; 00060 } else { 00061 return $this->htmlEscape($this->_enteredData[$key]); 00062 } 00063 }
| getSendUrl | ( | ) |
$_enteredData = null [protected] |
Definition at line 38 of file Sharing.php.
1.5.8