yamcsha

Zend View Head Title

Jul 4th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. protected function _initHeadTitle(){
  2.         $this->bootstrap('view');
  3.         $view = $this->getResource('view');
  4.         $view->headTitle('Text 1 | Text 2')
  5.               ->setSeparator(' - ')
  6.               ->setDefaultAttachOrder(Zend_View_Helper_Placeholder_Container::PREPEND);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment