Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. /**
  2. * Runs the procedure for rendering a modal view to the screen
  3. *
  4. * @param Company_Module_Block_* block
  5. * @return void
  6. * @author Dan Hanly
  7. **/
  8. public function renderModal($block)
  9. {
  10. $this->loadLayout();
  11. $this->_addContent($block);
  12. $this->renderLayout();
  13. }
  14.  
  15. $this->loadLayout();
  16.  
  17. $this->loadLayout('popup');
  18.  
  19. $this->getLayout()->unsetBlock('footer');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement