+ $row = array ('<font face="Arial, Helvetica, sans-serif" size="3" color="#FFFFFF"><b>'.$this->_seccionSeleccionada->_nombre.'</b></font>');
+ $this->_tabla->addRow($row,'align="left" bgcolor="#336699" colspan="'.$colspan.'"');
+ if (is_array($body['body'])) {
+ $tmp = '';
+ foreach ($body['body'] as $bod) {
+ if (is_object($bod)) {
+ if (method_exists($bod,'toHtml')) {
+ $tmp.=$bod->toHtml();
+ }
+ else {
+ trigger_error('El metodo no existe! - '.get_class($bod).'::toHtml()', E_USER_WARNING);
+ }
+ }
+ else {
+ $tmp.=$bod;
+ }
+ }
+ $row = array ($tmp);
+ }
+ else {
+ $row = array ($body['body']);
+ }