/** * Alias to Zikula_Form_View::execute for backward compatibility. * * @deprecated * @see Zikula_Form_View::execute * * @param boolean $template Name of template file. * @param pnFormHandler $eventHandler Instance of object that inherits from pnFormHandler. * * @return mixed False on errors, true on redirects, and otherwise it returns the HTML output for the page. */ public function execute($template, pnFormHandler $eventHandler) { if (!$eventHandler instanceof pnFormHandler) { throw new Zikula_Exception_Fatal('Form handlers must inherit from pnFormHandler.'); } return parent::execute($template, $eventHandler); }