Example #1
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 = '';
 }
Example #2
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();
 }