From: Martín Marrese Date: Tue, 3 Jun 2003 15:49:34 +0000 (+0000) Subject: (no commit message) X-Git-Tag: svn_import~513 X-Git-Url: https://git.llucax.com/mecon/meconlib.git/commitdiff_plain/2ee40a32ef0b52d7b33d5e28614e76222925dfab?ds=sidebyside --- diff --git a/HTML/php/Tabla.php b/HTML/php/Tabla.php index 7ff4816..ce736c5 100644 --- a/HTML/php/Tabla.php +++ b/HTML/php/Tabla.php @@ -189,6 +189,18 @@ class Tabla extends HTML_Table { } /** + * Setea una columna como del tipo titulo + * + * @param int $columna + * + * @access public + */ + function setColTitulo ($columna) + { + return $this->updateColAttributes($columna,$this->_conf['atributos']['celda_titulo']); + } + + /** * Alinea una columna entera * * @param int $columna diff --git a/HTML/test/prueba_tabla.php b/HTML/test/prueba_tabla.php index be669bf..47f06c3 100644 --- a/HTML/test/prueba_tabla.php +++ b/HTML/test/prueba_tabla.php @@ -38,7 +38,7 @@ $TABLA->colSpan(2, 6,2); $TABLA->colSpan(2, 8,2); - + $TABLA->setCeldaTitulo($0); $tohtml = $TABLA->toHtml(); print $tohtml;