示例#1
0
 /**
  * Render block
  *
  * @return string
  */
 public function _toHtml()
 {
     try {
         if (!$this->canRender()) {
             return '';
         }
         return parent::_toHtml();
     } catch (Exception $e) {
         $this->getLogger()->addException($e);
         return '';
     }
 }
示例#2
0
 public function _toHtml()
 {
     try {
         if (!$this->canRender()) {
             return '';
         }
         return parent::_toHtml();
     } catch (Exception $e) {
         Mage::getModel('listrak/log')->addException($e);
         return '';
     }
 }
示例#3
0
 /**
  * Render block
  *
  * @return string
  */
 public function _toHtml()
 {
     try {
         if (!$this->canRender()) {
             return '';
         }
         $this->addLine("_ltk.Click.Submit();");
         return parent::_toHtml();
     } catch (Exception $e) {
         $this->getLogger()->addException($e);
         return '';
     }
 }
示例#4
0
 /**
  * Render block
  *
  * @return string
  */
 public function _toHtml()
 {
     return parent::_toHtml();
 }