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 js_search_only only for searching a card no new button
 debug ()
 Submit ($p_name, $p_value)
 Reset ($p_value)

Data Fields

 $type
 $name
 $value
 $readonly
 $size
 $selected
 $table
 $label
 $disabled
 $extra
 $extra2
 $tabindex
 special value js_search and js_search_only :you need to add a span widget the name of the js_* widget + '_label' , the member extra contains cred,deb to filter the search of cred of deb of a jrn or contains a string with a list of frd_id


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 65 of file class_widget.php.

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


Member Function Documentation

widget::debug  ) 
 

Definition at line 435 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 js_search_only only for searching a card no new button

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 90 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 445 of file class_widget.php.

widget::SetReadOnly p_read  ) 
 

Definition at line 78 of file class_widget.php.

References readonly.

widget::Submit p_name,
p_value
 

Definition at line 442 of file class_widget.php.


Field Documentation

widget::$disabled
 

to disable the type

Definition at line 61 of file class_widget.php.

Referenced by IOValue().

widget::$extra
 

depends of the input type

Definition at line 62 of file class_widget.php.

widget::$extra2
 

depends of the input type

Definition at line 63 of file class_widget.php.

widget::$label
 

text before the input tag

Definition at line 60 of file class_widget.php.

widget::$name
 

name of the input tag

Definition at line 54 of file class_widget.php.

widget::$readonly
 

if set to false cannot modify

Definition at line 56 of file class_widget.php.

Referenced by debug().

widget::$selected
 

selected value for the radio or select

Definition at line 58 of file class_widget.php.

widget::$size
 

size for the text type

Definition at line 57 of file class_widget.php.

widget::$tabindex
 

special value js_search and js_search_only :you need to add a span widget the name of the js_* widget + '_label' , the member extra contains cred,deb to filter the search of cred of deb of a jrn or contains a string with a list of frd_id

the tabindex

Definition at line 64 of file class_widget.php.

widget::$table
 

if we want to make a HTML table row the value is return with <TD>

Definition at line 59 of file class_widget.php.

widget::$type
 

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

Definition at line 53 of file class_widget.php.

widget::$value
 

value

Definition at line 55 of file class_widget.php.


The documentation for this class was generated from the following file:
Generated on Sun Jun 25 23:05:38 2006 for phpcompta by  doxygen 1.4.4