- if ($this->getRowCount()) {
- $this->_agregarContenido();
-
- //Agrego los encabezados
- $t = true;
- foreach ($this->_pdf->getPages() as $page) {
- $this->_pdf->_pagina_actual = $page;
- $this->buildPage($t, $t);
- $t = false;
- }
- //}}}
- }
- else {
- $this->_pdf->newPage($this->_tamanio);
- $this->_pdf->addText($this->_config['Xi'],
- $this->_config['contenido']['Y'],
- 'No hay contenido para mostrar.',
- $this->_config['contenido']);
- $this->buildPage();
+ $this->_agregarContenido();
+
+ //Agrego los encabezados
+ $t = true;
+ foreach ($this->_pdf->getPages() as $page) {
+ $this->_pdf->_pagina_actual = $page;
+ $this->buildPage($t, $t);
+ $t = false;