|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Collaboration diagram for ilUserFormSettings:Public Member Functions | |
| __construct ($a_id, $a_user_id=null) | |
| Constructor. More... | |
| set ($a_data) | |
| Set Settings. More... | |
| reset () | |
| Remove all settings (internally) More... | |
| enabled ($a_option) | |
| Check if a specific option is enabled. More... | |
| getValue ($a_option) | |
| Get value. More... | |
| setValue ($a_option, $a_value) | |
| Set value. More... | |
| deleteValue ($a_option) | |
| Delete value. More... | |
| valueExists ($a_option) | |
| Does value exist in settings? More... | |
| store () | |
| Store settings in DB. More... | |
| delete ($a_reset=true) | |
| Delete user related data. More... | |
| importFromForm (ilPropertyFormGUI $a_form) | |
| Import settings from form. More... | |
| exportToForm (ilPropertyFormGUI $a_form) | |
| Export settings from form. More... | |
Static Public Member Functions | |
| static | deleteAllForUser ($a_user_id) |
| Delete all settings for user id. More... | |
Protected Member Functions | |
| read () | |
| Read store settings. More... | |
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 $ilDB, $ilUser, and read().
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:
|
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:| 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:| 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:| 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 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:
|
protected |
Read store settings.
@access 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 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:| 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:| 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:
|
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.