Public Member Functions | |
| ConfigHtml ($config_code, $back_url) | |
| display_form ($property_list=null, $section_selected=null, $url_params=null) | |
| display_form_elt ($name, $value) | |
| get_def_section_list () | |
| display_section_menu ($section_selected, $url_params=null) | |
Data Fields | |
| $back_url = null | |
To use this class.
Example : $fooConfig = new Config('CLFOO');
$fooConfig->load(); Load property with actual values in configs files. $fooConfig->save(); write a new config file if (following def file), a property would be in the config file, and this property is in memory, the value would be write in the new config file)
Definition at line 38 of file configHtml.class.php.
| ConfigHtml | ( | $ | config_code, | |
| $ | back_url | |||
| ) |
Definition at line 42 of file configHtml.class.php.
| display_form | ( | $ | property_list = null, |
|
| $ | section_selected = null, |
|||
| $ | url_params = null | |||
| ) |
Function to create the different elements of the configuration form to display
| array | $property_list | |
| string | $section_selected | |
| string | $url_params appeded to POST query |
Definition at line 57 of file configHtml.class.php.
| display_form_elt | ( | $ | name, | |
| $ | value | |||
| ) |
Display the form elt of a property
Definition at line 153 of file configHtml.class.php.
| display_section_menu | ( | $ | section_selected, | |
| $ | url_params = null | |||
| ) |
Display section menu
Definition at line 463 of file configHtml.class.php.
| get_def_section_list | ( | ) |
Return list of displayed section
Definition at line 437 of file configHtml.class.php.
| $back_url = null |
Definition at line 40 of file configHtml.class.php.
1.6.3