Mage_Wishlist_Block_Customer_Sharing Class Reference

Inheritance diagram for Mage_Wishlist_Block_Customer_Sharing:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getSendUrl ()
 getEnteredData ($key)

Protected Member Functions

 _prepareLayout ()

Protected Attributes

 $_enteredData = null


Detailed Description

Definition at line 35 of file Sharing.php.


Member Function Documentation

_prepareLayout (  )  [protected]

Preparing global layout

You can redefine this method in child classes for changin layout

Returns:
Mage_Core_Block_Abstract

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 (  ) 

Definition at line 47 of file Sharing.php.

00048     {
00049         return $this->getUrl('*/*/send');
00050     }


Member Data Documentation

$_enteredData = null [protected]

Definition at line 38 of file Sharing.php.


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:56 2009 for Magento by  doxygen 1.5.8