/** * Constructor * Sets all the values / variables for the IcmsForm class * @param string &$target reference to targetobject (@todo, which object will be passed here?) * @param string $form_name the form name * @param string $form_caption the form caption * @param string $form_action the form action * @param string $form_fields the form fields * @param string $submit_button_caption whether to add a caption to the submit button * @param bool $cancel_js_action whether to invoke a javascript action when cancel button is clicked * @param bool $captcha whether to add captcha */ public function __construct(&$target, $form_name, $form_caption, $form_action, $form_fields = null, $submit_button_caption = false, $cancel_js_action = false, $captcha = false) { parent::__construct(&$target, $form_name, $form_caption, $form_action, $form_fields, $submit_button_caption, $cancel_js_action, $captcha); $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_form_Base', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Constructor * Sets all the values / variables for the icms_ipf_form_Base (@link icms_ipf_form_Base) (parent) class * @param string &$target reference to targetobject (@todo, which object will be passed here?) * @param string $form_name the form name * @param string $form_caption the form caption * @param string $form_action the form action * @param string $form_fields the form fields * @param string $submit_button_caption whether to add a caption to the submit button * @param bool $cancel_js_action whether to invoke a javascript action when cancel button is clicked * @param bool $captcha whether to add captcha */ public function __construct(&$target, $form_name, $form_caption, $form_action, $form_fields = null, $submit_button_caption = false, $cancel_js_action = false, $captcha = false) { parent::__construct($target, $form_name, $form_caption, $form_action, $form_fields, $submit_button_caption, $cancel_js_action, $captcha); $this->addElement(new icms_form_elements_Hiddentoken()); }