Example #1
0
 /**
  * Initialize self totals and children blocks totals before html building
  *
  * @return Mage_Sales_Block_Order_Totals
  */
 protected function _beforeToHtml()
 {
     $this->_initTotals();
     foreach ($this->getChild() as $child) {
         if (method_exists($child, 'initTotals')) {
             $child->initTotals();
         }
     }
     return parent::_beforeToHtml();
 }
Example #2
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('request4quote/quote/info/messages.phtml');
 }