Example #1
0
 public function __construct($arrHeader, $isRA = false)
 {
     parent::__construct();
     $this->root_path = Zend_Registry::get('config')->paths->root;
     $this->public_path = Zend_Registry::get('config')->paths->public;
     $this->headerTittle = $arrHeader['title'];
     define('FPDF_FONTPATH', APPLICATION_PATH_LIBS . '/Fpdf/font/');
     $devolutiveTexts = new Zend_Config_Ini(APPLICATION_PATH . '/configs/devolutive.ini', APPLICATION_ENV);
     $this->isRA = $isRA;
     $this->texts = $devolutiveTexts;
     $this->locale = new Zend_Locale('de_AT');
 }
Example #2
0
 /**
  * Private Method
  */
 function _out($s)
 {
     if ($this->state == 2 && $this->_intpl) {
         $this->tpls[$this->tpl]['buffer'] .= $s . "\n";
     } else {
         parent::_out($s);
     }
 }