Mage_Adminhtml_Block_Tag_Customer Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Tag_Customer:

Mage_Adminhtml_Block_Widget_Grid_Container Mage_Adminhtml_Block_Widget_Container Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()


Detailed Description

Definition at line 35 of file Customer.php.


Constructor & Destructor Documentation

__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 Mage_Adminhtml_Block_Widget_Grid_Container.

Definition at line 38 of file Customer.php.

00039     {
00040         parent::__construct();
00041 
00042         switch( $this->getRequest()->getParam('ret') ) {
00043             case 'all':
00044                 $url = $this->getUrl('*/*/');
00045                 break;
00046 
00047             case 'pending':
00048                 $url = $this->getUrl('*/*/pending');
00049                 break;
00050 
00051             default:
00052                 $url = $this->getUrl('*/*/');
00053         }
00054 
00055 
00056         $this->_block = 'tag_customer';
00057         $this->_controller = 'tag_customer';
00058         $this->_removeButton('add');
00059         $this->setBackUrl($url);
00060         $this->_addBackButton();
00061 
00062         $tagInfo = Mage::getModel('tag/tag')
00063             ->load(Mage::registry('tagId'));
00064 
00065         $this->_headerText = Mage::helper('tag')->__("Customers Tagged '%s'", $this->htmlEscape($tagInfo->getName()));
00066     }


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

Generated on Sat Jul 4 17:23:05 2009 for Magento by  doxygen 1.5.8