Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

widget Class Reference

class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search More...


Public Member Functions

 widget ($p_type="")
 SetReadOnly ($p_read)
 IOValue ($p_name=null, $p_value=null, $p_label="")
 create the corresponding INPUT tag
 debug ()
 Submit ($p_name, $p_value)
 Reset ($p_value)

Data Fields

 $type
 $name
 $value
 $readonly
 $size
 $selected
 $table
 $label
 $disabled
 $extra
 $extra2
 $tabindex


Detailed Description

class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search

Definition at line 32 of file class_widget.php.


Constructor & Destructor Documentation

widget::widget p_type = ""  ) 
 

Definition at line 59 of file class_widget.php.

References disabled, heigh, label, readonly, selected, size, table, value, and width.


Member Function Documentation

widget::debug  ) 
 

Definition at line 370 of file class_widget.php.

References $readonly, readonly, and value.

widget::IOValue p_name = null,
p_value = null,
p_label = ""
 

create the corresponding INPUT tag

function IOValue($p_name,$p_value="",$p_label="")

Parameters:
$p_name is the INPUT NAME
$p_value is the INPUT VALUE or an array for select
$p_label is the label of the INPUT
Returns:
string containing the tag

Definition at line 84 of file class_widget.php.

References $check, $disabled, $i, $r, disabled, echo_debug(), label, name, selected, and value.

widget::Reset p_value  ) 
 

Definition at line 380 of file class_widget.php.

widget::SetReadOnly p_read  ) 
 

Definition at line 72 of file class_widget.php.

References readonly.

widget::Submit p_name,
p_value
 

Definition at line 377 of file class_widget.php.


Field Documentation

widget::$disabled
 

to disable the type

Definition at line 55 of file class_widget.php.

Referenced by IOValue().

widget::$extra
 

depends of the input type

Definition at line 56 of file class_widget.php.

widget::$extra2
 

depends of the input type

Definition at line 57 of file class_widget.php.

widget::$label
 

text before the input tag

Definition at line 54 of file class_widget.php.

widget::$name
 

name of the input tag

Definition at line 48 of file class_widget.php.

widget::$readonly
 

if set to false cannot modify

Definition at line 50 of file class_widget.php.

Referenced by debug().

widget::$selected
 

selected value for the radio or select

Definition at line 52 of file class_widget.php.

widget::$size
 

size for the text type

Definition at line 51 of file class_widget.php.

widget::$tabindex
 

the tabindex

Definition at line 58 of file class_widget.php.

widget::$table
 

if we want to make a HTML table row

Definition at line 53 of file class_widget.php.

widget::$type
 

type of the input tag (text, select, files, js_search,...)

Definition at line 47 of file class_widget.php.

widget::$value
 

value

Definition at line 49 of file class_widget.php.


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 00:12:49 2006 for phpcompta by  doxygen 1.4.4