
Public Member Functions | |
| _construct () | |
| isEnabled () | |
| isRequired () | |
| getCustomer () | |
Definition at line 27 of file Taxvat.php.
| _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 }
1.5.8