/**
  * Strategy pattern: Initialize the configuration.
  *
  * Change the title web page according the configuration pararmeters
  *
  * See {@link \Zend_View}
  * See {@link \Zend_View_Helper_HeadTitle}
  *
  * @param \Zend_Controller_Request_Abstract $request
  */
 public function init(\Zend_Controller_Request_Abstract $request)
 {
     $this->_headTitle = $this->_getView()->headTitle($this->_options['title'], $this->_type);
     $this->_headTitle->setSeparator($this->_separator);
     if ($this->_translate) {
         $this->_headTitle->enableTranslation();
     } else {
         $this->_headTitle->disableTranslation();
     }
 }
 public function getHeadTitle()
 {
     if ($this->_headTitle === null) {
         parent::init();
         $options = $this->getOptions();
         $this->_headTitle = $this->_getView()->headTitle($options['title'], $this->_type);
         $this->_headTitle->setSeparator($this->_separator);
         if ($this->_translate) {
             $this->_headTitle->enableTranslation();
         } else {
             $this->_headTitle->disableTranslation();
         }
     }
     return $this->_headTitle;
 }