noalyss Version-9
|
A switch let you switch between 2 values : 0 and 1, it is used to replace the check. More...
Public Member Functions | |
__construct ($p_name, $p_value) | |
add_json_param ($p_attribute, $p_value) | |
Add json parameter to the current one, if there attribute already exists it will be overwritten. More... | |
get_callback () | |
get_iconoff () | |
get_iconon () | |
get_jscript () | |
get_json () | |
get_name () | |
get_value () | |
input () | |
set_callback ($callback) | |
set_iconoff ($iconoff) | |
set_iconon ($iconon) | |
set_jscript ($jscript) | |
set_json ($json) | |
set_name ($name) | |
set_value ($value) | |
Private Attributes | |
$callback | |
callback More... | |
$iconoff | |
The icon off. More... | |
$iconon | |
The icon on. More... | |
$jscript | |
Supplemental javascript command, execute after the ajax script. More... | |
$json | |
Json object. More... | |
$name | |
name of the widget, javascript id must be unique More... | |
$value | |
value More... | |
A switch let you switch between 2 values : 0 and 1, it is used to replace the check.
Definition at line 33 of file inplace_switch.class.php.
Inplace_Switch::__construct | ( | $p_name, | |
$p_value | |||
) |
Definition at line 51 of file inplace_switch.class.php.
References Icon_Action\iconoff(), Icon_Action\iconon(), name, and value.
Inplace_Switch::add_json_param | ( | $p_attribute, | |
$p_value | |||
) |
Add json parameter to the current one, if there attribute already exists it will be overwritten.
Definition at line 164 of file inplace_switch.class.php.
Inplace_Switch::get_callback | ( | ) |
Inplace_Switch::get_iconoff | ( | ) |
Inplace_Switch::get_iconon | ( | ) |
Inplace_Switch::get_jscript | ( | ) |
Definition at line 91 of file inplace_switch.class.php.
References $jscript.
Inplace_Switch::get_json | ( | ) |
Inplace_Switch::get_name | ( | ) |
Definition at line 131 of file inplace_switch.class.php.
References $name.
Inplace_Switch::get_value | ( | ) |
Inplace_Switch::input | ( | ) |
Definition at line 62 of file inplace_switch.class.php.
References $color, $iconoff, $iconon, $r, elseif, name, and value.
Inplace_Switch::set_callback | ( | $callback | ) |
Definition at line 116 of file inplace_switch.class.php.
References $callback.
Inplace_Switch::set_iconoff | ( | $iconoff | ) |
Definition at line 146 of file inplace_switch.class.php.
References $iconoff.
Inplace_Switch::set_iconon | ( | $iconon | ) |
Definition at line 141 of file inplace_switch.class.php.
References $iconon.
Inplace_Switch::set_jscript | ( | $jscript | ) |
Definition at line 96 of file inplace_switch.class.php.
References $jscript.
Inplace_Switch::set_json | ( | $json | ) |
Definition at line 111 of file inplace_switch.class.php.
References $json.
Inplace_Switch::set_name | ( | $name | ) |
Inplace_Switch::set_value | ( | $value | ) |
|
private |
callback
Definition at line 47 of file inplace_switch.class.php.
Referenced by get_callback(), and set_callback().
|
private |
The icon off.
Definition at line 39 of file inplace_switch.class.php.
Referenced by get_iconoff(), input(), and set_iconoff().
|
private |
The icon on.
Definition at line 37 of file inplace_switch.class.php.
Referenced by get_iconon(), input(), and set_iconon().
|
private |
Supplemental javascript command, execute after the ajax script.
Definition at line 49 of file inplace_switch.class.php.
Referenced by get_jscript(), and set_jscript().
|
private |
Json object.
Definition at line 45 of file inplace_switch.class.php.
Referenced by get_json(), and set_json().
|
private |
name of the widget, javascript id must be unique
Definition at line 41 of file inplace_switch.class.php.
Referenced by get_name(), and set_name().
|
private |
value
Definition at line 43 of file inplace_switch.class.php.
Referenced by get_value(), and set_value().