function exec() { $this->smarty->register_function('validate_init', array(&$this, 'dummy')); $this->smarty->register_function('validate', array(&$this, 'dummy')); return parent::exec(); }