/** * @return string */ protected function _toHtml() { if ($this->canShowTab()) { $this->initForm(); return parent::_toHtml(); } else { return ''; } }
/** * @return string */ protected function _toHtml() { return $this->_getWarningHtml() . parent::_toHtml(); }