tFPDF::_putresources PHP Метод

_putresources() публичный Метод

public _putresources ( )
    function _putresources()
    {
        $this->_putfonts();
        $this->_putimages();
        // Resource dictionary
        $this->offsets[2] = strlen($this->buffer);
        $this->_out('2 0 obj');
        $this->_out('<<');
        $this->_putresourcedict();
        $this->_out('>>');
        $this->_out('endobj');
    }

Usage Example

Пример #1
0
 function _putresources()
 {
     parent::_putresources();
     if ($this->encrypted) {
         $this->_newobj();
         $this->enc_obj_id = $this->n;
         $this->_out('<<');
         $this->_putencryption();
         $this->_out('>>');
         $this->_out('endobj');
     }
 }