X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/15c32314cf6a6eadf7d2d24ff2827c3db9bd8950..7833b20f2539532f5af0b6447ca5b74da6cc6982:/lib/MECON/HTML/QuickForm.php?ds=sidebyside diff --git a/lib/MECON/HTML/QuickForm.php b/lib/MECON/HTML/QuickForm.php index 8c3deb1..c5b52ca 100644 --- a/lib/MECON/HTML/QuickForm.php +++ b/lib/MECON/HTML/QuickForm.php @@ -37,7 +37,7 @@ class MECON_HTML_QuickForm extends MECON_HTML_QuickFormSimple { function MECON_HTML_QuickForm($formName='', $method='post', $action='', $target='_self', $attributes=null) { parent::MECON_HTML_QuickFormSimple($formName, $method, $action, $target, $attributes); - $this->renderer =& new MECON_HTML_QuickForm_Renderer_Tabla($this->_rendererOpts); + $this->renderer =& new MECON_HTML_QuickForm_Renderer_Tabla(); } function toHtml() @@ -53,7 +53,7 @@ class MECON_HTML_QuickForm extends MECON_HTML_QuickFormSimple { * @deprecated */ function setRendererOpts($opts) { - $this->renderer->setAttributes($opts); + $this->renderer->updateAttributes($opts); } /** @@ -76,6 +76,10 @@ class MECON_HTML_QuickForm extends MECON_HTML_QuickFormSimple { $this->renderer->updateAttributes($opts); } + function getCSS() { + return $this->renderer->getCSS(); + } + } ?> \ No newline at end of file