X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/4074a55f24d59914f9d0738191fb3dfa3650bda1..f74f6e09db3e97077ff1c2b9f8199f530b1a7099:/lib/MECON/HTML/QuickForm.php?ds=sidebyside diff --git a/lib/MECON/HTML/QuickForm.php b/lib/MECON/HTML/QuickForm.php index 407e5c9..560ad60 100644 --- a/lib/MECON/HTML/QuickForm.php +++ b/lib/MECON/HTML/QuickForm.php @@ -40,6 +40,14 @@ class MECON_HTML_QuickForm extends HTML_QuickForm { $this->registerRule('fecha', 'function', 'validate', 'HTML_QuickForm_mdate'); $this->setRequiredNote('* indica un campo obligatorio'); } + function addRule($element, $message, $type, $format='', $validation='client', $reset = false, $force = false) + { + parent::addRule($element, $message, $type, $format, $validation, $reset, $force); + } + function addGroupRule($group, $arg1, $type='', $format='', $howmany=0, $validation = 'client') + { + parent::addGroupRule($group, $arg1, $type, $format, $howmany, $validation); + } } ?>