Mage_Customer_Block_Widget_Taxvat Class Reference

Inheritance diagram for Mage_Customer_Block_Widget_Taxvat:

Mage_Customer_Block_Widget_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 _construct ()
 isEnabled ()
 isRequired ()
 getCustomer ()


Detailed Description

Definition at line 27 of file Taxvat.php.


Member Function Documentation

_construct (  ) 

Internal constructor, that is called from real constructor

Please override this one instead of overriding real __construct constructor

Please override this one instead of overriding real __construct constructor

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 29 of file Taxvat.php.

00030     {
00031         parent::_construct();
00032         $this->setTemplate('customer/widget/taxvat.phtml');
00033     }

getCustomer (  ) 

Definition at line 45 of file Taxvat.php.

00046     {
00047         return Mage::getSingleton('customer/session')->getCustomer();
00048     }

isEnabled (  ) 

Definition at line 35 of file Taxvat.php.

00036     {
00037         return (bool)$this->getConfig('taxvat_show');
00038     }

isRequired (  ) 

Definition at line 40 of file Taxvat.php.

00041     {
00042         return 'req' == $this->getConfig('taxvat_show');
00043     }


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

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