| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilUserFormSettings:
 Collaboration diagram for ilUserFormSettings:| Public Member Functions | |
| __construct ($a_id, $a_user_id=null) | |
| Constructor. | |
| set ($a_data) | |
| Set Settings. | |
| reset () | |
| Remove all settings (internally) | |
| enabled ($a_option) | |
| Check if a specific option is enabled. | |
| getValue ($a_option) | |
| Get value. | |
| setValue ($a_option, $a_value) | |
| Set value. | |
| deleteValue ($a_option) | |
| Delete value. | |
| valueExists ($a_option) | |
| Does value exist in settings? | |
| store () | |
| Store settings in DB. | |
| delete ($a_reset=true) | |
| Delete user related data. | |
| importFromForm (ilPropertyFormGUI $a_form) | |
| Import settings from form. | |
| exportToForm (ilPropertyFormGUI $a_form) | |
| Export settings from form. | |
| Static Public Member Functions | |
| static | deleteAllForUser ($a_user_id) | 
| Delete all settings for user id. | |
| Protected Member Functions | |
| read () | |
| Read store settings. | |
| Protected Attributes | |
| $db | |
| $user_id | |
| $id | |
| $settings = array() | |
| ilUserFormSettings::__construct | ( | $a_id, | |
| $a_user_id = null | |||
| ) | 
Constructor.
| int | $a_user_id | |
| int | $a_id | 
Definition at line 43 of file class.ilUserFormSettings.php.
References $ilUser, and read().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserFormSettings::delete | ( | $a_reset = true | ) | 
Delete user related data.
| bool | $a_reset | 
Definition at line 180 of file class.ilUserFormSettings.php.
References $query, and reset().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Delete all settings for user id.
Definition at line 196 of file class.ilUserFormSettings.php.
References $query.
| ilUserFormSettings::deleteValue | ( | $a_option | ) | 
Delete value.
| string | $a_option | 
Definition at line 118 of file class.ilUserFormSettings.php.
References valueExists().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserFormSettings::enabled | ( | $a_option | ) | 
Check if a specific option is enabled.
| string | $a_option | 
Definition at line 83 of file class.ilUserFormSettings.php.
References getValue().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserFormSettings::exportToForm | ( | ilPropertyFormGUI | $a_form | ) | 
Export settings from form.
| ilPropertyFormGUI | $a_form | 
Definition at line 249 of file class.ilUserFormSettings.php.
References ilPropertyFormGUI\getItems(), getValue(), IL_CAL_DATETIME, and valueExists().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilUserFormSettings::getValue | ( | $a_option | ) | 
Get value.
| string | $a_option | 
Definition at line 94 of file class.ilUserFormSettings.php.
References valueExists().
Referenced by enabled(), and exportToForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserFormSettings::importFromForm | ( | ilPropertyFormGUI | $a_form | ) | 
Import settings from form.
| ilPropertyFormGUI | $a_form | 
Definition at line 208 of file class.ilUserFormSettings.php.
References ilPropertyFormGUI\getItems(), IL_CAL_DATETIME, reset(), and setValue().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Read store settings.
private
Definition at line 160 of file class.ilUserFormSettings.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and reset().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserFormSettings::reset | ( | ) | 
Remove all settings (internally)
Definition at line 72 of file class.ilUserFormSettings.php.
Referenced by delete(), importFromForm(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserFormSettings::set | ( | $a_data | ) | 
Set Settings.
| array | Array of Settings | 
Definition at line 64 of file class.ilUserFormSettings.php.
| ilUserFormSettings::setValue | ( | $a_option, | |
| $a_value | |||
| ) | 
Set value.
| string | $a_option | |
| mmixed | $a_value | 
Definition at line 108 of file class.ilUserFormSettings.php.
Referenced by importFromForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilUserFormSettings::store | ( | ) | 
Store settings in DB.
Definition at line 140 of file class.ilUserFormSettings.php.
References $query.
| ilUserFormSettings::valueExists | ( | $a_option | ) | 
Does value exist in settings?
| string | $a_option | 
Definition at line 132 of file class.ilUserFormSettings.php.
Referenced by deleteValue(), exportToForm(), and getValue().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 32 of file class.ilUserFormSettings.php.
| 
 | protected | 
Definition at line 34 of file class.ilUserFormSettings.php.
| 
 | protected | 
Definition at line 35 of file class.ilUserFormSettings.php.
| 
 | protected | 
Definition at line 33 of file class.ilUserFormSettings.php.