Пример #1
0
 /**
  * constructor to init settings
  */
 public function __construct()
 {
     parent::__construct();
     $this->encoding = 'UTF-8';
     $this->colors['black'] = new Zend_Pdf_Color_GrayScale(0);
     $this->colors['grey1'] = new Zend_Pdf_Color_GrayScale(0.9);
     // get the default imprint
     $this->_imprint = Mage::getStoreConfig('general/imprint');
 }
Пример #2
0
 /**
  * constructor to init settings
  */
 public function __construct()
 {
     parent::__construct();
     $this->encoding = 'UTF-8';
     $this->colors['black'] = new Zend_Pdf_Color_GrayScale(0);
     $this->colors['grey1'] = new Zend_Pdf_Color_GrayScale(0.9);
     $helper = Mage::helper('firegento_pdf');
     $this->colors['text'] = $helper->getTextColor();
     $this->colors['labels'] = $helper->getLabelColor();
     $this->colors['header'] = $helper->getHeaderColor();
     $this->colors['footer'] = $helper->getFooterColor();
     // get the default imprint
     $this->_imprint = Mage::getStoreConfig('general/imprint');
 }