_isScopePrivate = true; } /** * Sets the template * * @return void */ public function _construct() { parent::_construct(); $this->setTemplate('widget/taxvat.phtml'); } /** * Get is enabled. * * @return bool */ public function isEnabled() { return $this->_getAttribute('taxvat') ? (bool)$this->_getAttribute('taxvat')->isVisible() : false; } /** * Get is required. * * @return bool */ public function isRequired() { return $this->_getAttribute('taxvat') ? (bool)$this->_getAttribute('taxvat')->isRequired() : false; } }