Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. public function updateAction(){
  2.  
  3. $block = $this->getLayout()->createBlock(
  4. 'Mage_Core_Block_Template',
  5. 'namespace_update_form_head_data',
  6. array(
  7. 'template' => 'namespace/update/head/data.phtml'
  8. )
  9. );
  10.  
  11. /**
  12. * @var Mage_Adminhtml_Block_Page_Head
  13. */
  14. $head =$this->getLayout()->getBlock('head');
  15. $head->append($block);
  16. }
  17.  
  18. <?php echo $this->getChildHtml('namespace_update_form_head_data') ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement