src/Export/Pdf.php
private function defineStyles(array $options = array())
    {
        $this->_style = new ZfPdf\Style();
        $this->_style->setFillColor(new ZfPdf\Color\Html($options['colors']['lines']));

        $this->_topo = new ZfPdf\Style();
        $this->_topo->setFillColor(new ZfPdf\Color\Html($options['colors']['header']));

        $this->td = new ZfPdf\Style();
        $this->td->setFillColor(new ZfPdf\Color\Html($options['colors']['row2']));

        $this->td2 = new ZfPdf\Style();
        $this->td2->setFillColor(new ZfPdf\Color\Html($options['colors']['row1']));

        $this->_styleText = new ZfPdf\Style();
        $this->_styleText->setFillColor(new ZfPdf\Color\Html($options['colors']['text']));

        return $this;
    }
private function defineStyles(array $options = array())
    {
        $this->_style = new ZfPdf\Style();
        $this->_style->setFillColor(new ZfPdf\Color\Html($options['colors']['lines']));

        $this->_topo = new ZfPdf\Style();
        $this->_topo->setFillColor(new ZfPdf\Color\Html($options['colors']['header']));

        $this->td = new ZfPdf\Style();
        $this->td->setFillColor(new ZfPdf\Color\Html($options['colors']['row2']));

        $this->td2 = new ZfPdf\Style();
        $this->td2->setFillColor(new ZfPdf\Color\Html($options['colors']['row1']));

        $this->_styleText = new ZfPdf\Style();
        $this->_styleText->setFillColor(new ZfPdf\Color\Html($options['colors']['text']));

        return $this;
    }
private function defineStyles ( array $ options = array ( ) ) { $ this -> _style = new ZfPdf \ Style ( ) ; $ this -> _style -> setFillColor ( new ZfPdf \ Color \ Html ( $ options [ 'colors' ] [ 'lines' ] ) ) ; $ this -> _topo = new ZfPdf \ Style ( ) ; $ this -> _topo -> setFillColor ( new ZfPdf \ Color \ Html ( $ options [ 'colors' ] [ 'header' ] ) ) ; $ this -> td = new ZfPdf \ Style ( ) ; $ this -> td -> setFillColor ( new ZfPdf \ Color \ Html ( $ options [ 'colors' ] [ 'row2' ] ) ) ; $ this -> td2 = new ZfPdf \ Style ( ) ; $ this -> td2 -> setFillColor ( new ZfPdf \ Color \ Html ( $ options [ 'colors' ] [ 'row1' ] ) ) ; $ this -> _styleText = new ZfPdf \ Style ( ) ; $ this -> _styleText -> setFillColor ( new ZfPdf \ Color \ Html ( $ options [ 'colors' ] [ 'text' ] ) ) ; return $ this ; }
Define os estilos do documento
@param  array                         $options
@return \Cityware\Datagrid\Export\Pdf
Define os estilos do documento