Class icms_ipf_form_Base
Form that will output as a theme-enabled HTML table
Also adds JavaScript to validate required fields
- icms_form_Base
- icms_form_Theme
- icms_ipf_form_Base
Direct known subclasses
icms_ipf_form_Secure
Package: Form
Category: ICMS
Copyright: copyright (c) 2000-2003 XOOPS.org
License: GNU General Public License (GPL)
Author: Kazumi Ono onokazu@xoops.org
Located at ipf/form/Base.php
Category: ICMS
Copyright: copyright (c) 2000-2003 XOOPS.org
License: GNU General Public License (GPL)
Author: Kazumi Ono onokazu@xoops.org
Located at ipf/form/Base.php
public
|
#
__construct( string & $target, string $form_name, string $form_caption, string $form_action, string $form_fields = NULL, string $submit_button_caption = FALSE, boolean $cancel_js_action = FALSE, boolean $captcha = FALSE )
Constructor Sets all the values / variables for the IcmsForm class |
public
boolean
|
#
addCustomButton( string $name, string $caption, $onclick = FALSE )
Sets variables for adding custom button |
public
|
#
addElement( object & $formElement, string $key = FALSE, string $var = FALSE, boolean $required = 'notset' )
Add an element to the form |
public
&
|
#
getElementById( string $keyname, mixed $ret,… )
Gets reference to the object for each key in the variables of the targetobject |
public
string
|
|
public
|
|
public
boolean
|
#
renderValidationJS( boolean $withtags = TRUE )
create HTML to output the form as a theme-enabled table with validation. |
public
|
insertBreak()
|
public
|
$targetObject
|
#
NULL
|
public
|
$form_fields
|
#
NULL
|
$_elements
|