/** * 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'); }
/** * 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'); }