Esempio n. 1
0
 public function __construct(Cuadro $cuadro, Collection $articulos)
 {
     $this->cuadro = $cuadro;
     $this->articulos = $articulos;
     $this->req = $cuadro->req;
     parent::__construct('L', 'mm', 'Letter');
 }
Esempio n. 2
0
 public function __construct(Cotizacion $invitacion, $articulos)
 {
     $this->invitacion = $invitacion;
     $this->usuario_adq = \InfoDirectivos::getResponsable('ADQ');
     $this->articulos = $articulos;
     parent::__construct('P', 'mm', 'Letter');
 }
Esempio n. 3
0
 public function __construct(Oc $oc)
 {
     $this->oc = $oc;
     parent::__construct('P', 'mm', 'Letter');
     $this->SetFillColor(230, 230, 230);
     $this->AddFont('CenturyGothic', '', 'century.php');
 }
Esempio n. 4
0
 public function __construct(Req $req, Collection $articulos)
 {
     $this->req = $req;
     $this->articulos = $articulos;
     $this->getUsuarios();
     parent::__construct('P', 'mm', 'Letter');
 }
Esempio n. 5
0
 public function __construct(Solicitud $solicitud)
 {
     $this->solicitud = $solicitud;
     parent::__construct('P', 'mm', 'Letter');
     $this->SetFillColor(200, 200, 200);
     $this->AddFont('CenturyGothic', '', 'century.php');
     $this->SetFont('CenturyGothic', '', '10');
     $this->getUsuarios();
 }
Esempio n. 6
0
 public function __construct($orientation = 'P', $unit = 'mm', $size = 'Letter')
 {
     /***
      * ESTA LIBRERIA DEPENDE ROTUNDAMENTE DE FPDF 
      * QUE ESTA COMO COMPLEMENTO DENTRO DEL DIRECTORIO 
      * DE "complement" SU MANUAL ESTA EN DICHO DIRECTORIO
      * DE FPDF/DOC , BASICAMENTE FPDF ES UN PUENTE A LA EXTENCION
      * ***/
     parent::__construct($orientation, $unit, $size);
 }
Esempio n. 7
0
 function __construct($orientation = 'P', $unit = 'mm', $size = 'A4')
 {
     // Call parent constructor
     parent::__construct($orientation, $unit, $size);
     // Initialization
     $this->B = 0;
     $this->I = 0;
     $this->U = 0;
     $this->HREF = '';
 }
Esempio n. 8
0
 public function __construct($title, $data, $headers, $sizes, $max_lengths)
 {
     parent::__construct();
     $this->header_text = $title;
     $this->footer_text = "Generated by [" . Session::get('user_name') . "] on [" . date("l jS \\of F Y h:i:s A") . "] - " . Config::get('VERSION');
     $this->data = $data;
     $this->col_headers = $headers;
     $this->col_sizes = $sizes;
     $this->col_max_lengs = $max_lengths;
     $this->SetTitle($title);
     $this->SetAuthor(Session::get('user_name'));
     $this->AliasNbPages();
     $this->SetFont('Arial', '', 8);
     $this->AddPage();
     $this->renderTable();
 }
Esempio n. 9
0
 public function __construct($data = array())
 {
     if ($data['tipo_formato'] == 'Entrada') {
         $this->titulo = 'COMPRAS A PROVEEDOR';
     } else {
         $this->titulo = 'ENTREGAS A DEPENDENCIA';
     }
     $this->req = $data['req'];
     $this->ref_tipo = $data['ref_tipo'];
     $this->ref = $data['ref'];
     $this->fecha_oc = $data['fecha_oc'];
     $this->d_proveedor = $data['d_proveedor'];
     $this->id = $data['id'];
     $this->fecha = $data['fecha'];
     $this->d_urg = $data['d_urg'];
     $this->cmt = $data['cmt'];
     $this->usr_id = $data['usr_id'];
     parent::__construct('P', 'mm', 'Letter');
 }
Esempio n. 10
0
 function __construct($orientation = 'P', $unit = 'mm', $size = array(210, 297))
 {
     parent::__construct($orientation, $unit, $size);
     $this->SetCreator($this->_('Intrasis Desenvolvimento de Sistemas'));
     $this->SetAuthor($this->_('Intrasis Desenvolvimento de Sistemas'));
     $this->SetSubject($this->_('Visualização gerada pelo Sismanager'));
     $this->SetKeywords($this->_('Visualização visualização Visualizacao visualizacao sismanger Sismanger Intrasis intrasis'));
     $this->AliasNbPages('{1}');
 }
 public function __construct($invoice)
 {
     parent::__construct('P', 'mm', 'A4');
     $this->addPage();
     $this->SetAutoPageBreak(TRUE, 30);
     $this->invoice = $invoice;
 }
Esempio n. 12
0
 public function __construct($config)
 {
     parent::__construct('P', 'pt', 'A4');
     $this->config = $config;
 }
 public function __construct(EntityManagerInterface $em)
 {
     parent::__construct();
     $this->em = $em;
 }
Esempio n. 14
0
 public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4')
 {
     parent::__construct($orientation, $unit, $format);
     stream_wrapper_register('var', 'VariableStream');
 }
Esempio n. 15
0
 /**
  * Constructor
  * @param PDFBuilderInterface $builder
  */
 public function __construct(PdfDocumentInterface $document)
 {
     $this->setDocument($document);
     parent::__construct();
 }