|
|
| |
File: c:/www/apache/doc2//form/form_element_checkbox.inc
PHPLib Form Rewrite 11.02.2001 - Form
form_element_checkbox
form_commonobject | +-- form_element | +-- form_element_checkobject | +-- form_element_checkbox
Generates Checkboxes, [input type="checkbox" value=""].
|
Generates Checkboxes, [input type="checkbox" value=""].
| Authors | Ulf Wendel <ulf.wendel@phpdoc.de> |
| Version | $Id: form_element_checkbox.inc,v 1.8 2001/01/06 01:02:55 uw Exp $ |
|
| |
|
|
|
Methods inherited from form_element |
| form_element, setup, checkconfiguration, getvalue, gettype, isbutton, getvalidator, setvalidator, freeze, unfreeze, thawout, show, validate, validatelength, validateregex, dovalidation, react, setvalue, getjsonactivation, getcommonhtmlattributes, getfrozenhiddenelement, getfrozentable, getjs, getextrajs, getname, ishidden |
|
|
|
|
|
|
|
Fields inherited from form_element |
| $flag_config_ok, $elname, $name, $value, $additional_html, $frozen, $class, $id, $style, $shared_required_fields, $required_fields, $shared_optional_fields, $optional_fields, $method, $val_events, $js_mode, $form_name, $validator, $js_validator |
|
|
|
Private Method Details |
isChecked |
|
private bool isChecked( )
|
| |
Is this checkbox checked?
|
| Returns |
bool $checked |
|
get |
|
private void get( [ string $subelement ] )
|
| |
Returns the HTML code of the element.
Warning: documentation is missing.
|
| Parameter |
|
| string |
$subelement |
= >>""<< |
|
Some complex form elements consists of several
HTML form elements. Date e.g. uses several select boxes.
The subelement name allows you to retrive each of this
"subelements". To get the year selector of a "Ymd"
date element you would use the "Y" as a subelement name. |
|
| Returns |
void |
| See Also |
getfrozen(), show() |
|
getfrozen |
|
private void getfrozen( [ string $subelement ] )
|
| |
Returns thr HTML code of the frozen element.
Warning: documentation is missing.
|
| Parameter |
|
| string |
$subelement |
= >>""<< |
|
Some complex form elements consists of several
HTML form elements. Date e.g. uses several select boxes.
The subelement name allows you to retrive each of this
"subelements". To get the year selector of a "Ymd"
date element you would use the "Y" as a subelement name. |
|
| Returns |
void |
| See Also |
get(), show() |
|
getJSValue |
|
private void getJSValue( )
|
| |
JavaScript function used to get the value of the element.
Most elements can use document.forms[..].elements[...].value to get thevalue of an element but some need a more sophisticated function. Theseelements must override this function.The JavaScript function provided by this elements should be names "form_elmenttype",e.g. "form_select". The (JS) function gets called with two arguments:string formname, string elementname. It returns the value of the element, seeform_element_select for an example.The function returns the JavaScript code itself and a name for the codesnippet that allows the form object to avoid sending the code twice.
Warning: documentation is missing.
|
| Returns |
void |
|
form_checkbox |
|
private void form_checkbox( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
|
|
|
|
| PHPDoc 1.0beta |