|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for ilUserFormSettings:Public Member Functions | |
| __construct ($a_id, $a_user_id=null) | |
| Constructor. More... | |
| hasStoredEntry () | |
| Check if entry exist. 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, $a_set_post=false) | |
| Export settings from form. More... | |
Static Public Member Functions | |
| static | deleteAllForUser ($a_user_id) |
| Delete all settings for user id. More... | |
| static | deleteAllForId ($a_id) |
| Delete for id. More... | |
| static | deleteAllForPrefix ($a_prefix) |
| Delete all entries for prefix. More... | |
Protected Member Functions | |
| read () | |
| Read store settings. More... | |
Protected Attributes | |
| $db | |
| $user_id | |
| $id | |
| $settings = array() | |
Private Attributes | |
| $has_stored_entry = false | |
| ilUserFormSettings::__construct | ( | $a_id, | |
$a_user_id = null |
|||
| ) |
Constructor.
| int | $a_user_id | |
| int | $a_id |
Definition at line 44 of file class.ilUserFormSettings.php.
References $DIC, $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 193 of file class.ilUserFormSettings.php.
References $query, and reset().
Here is the call graph for this function:
|
static |
Delete for id.
| string | $a_id |
Definition at line 222 of file class.ilUserFormSettings.php.
|
static |
Delete all entries for prefix.
| type | $a_prefix |
Definition at line 233 of file class.ilUserFormSettings.php.
References $GLOBALS, and $query.
Referenced by ilMemberExportSettingsGUI\savePrintViewSettings().
Here is the caller graph for this function:
|
static |
Delete all settings for user id.
Definition at line 208 of file class.ilUserFormSettings.php.
| ilUserFormSettings::deleteValue | ( | $a_option | ) |
Delete value.
| string | $a_option |
Definition at line 129 of file class.ilUserFormSettings.php.
References settings(), and 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 95 of file class.ilUserFormSettings.php.
References getValue().
Here is the call graph for this function:| ilUserFormSettings::exportToForm | ( | ilPropertyFormGUI | $a_form, |
$a_set_post = false |
|||
| ) |
Export settings from form.
| ilPropertyFormGUI | $a_form |
Definition at line 277 of file class.ilUserFormSettings.php.
References $_POST, 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 106 of file class.ilUserFormSettings.php.
References settings(), and valueExists().
Referenced by enabled(), and exportToForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserFormSettings::hasStoredEntry | ( | ) |
Check if entry exist.
Definition at line 66 of file class.ilUserFormSettings.php.
References $has_stored_entry.
| ilUserFormSettings::importFromForm | ( | ilPropertyFormGUI | $a_form | ) |
Import settings from form.
| ilPropertyFormGUI | $a_form |
Definition at line 246 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 170 of file class.ilUserFormSettings.php.
References $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, reset(), and settings().
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 84 of file class.ilUserFormSettings.php.
References settings().
Referenced by delete(), importFromForm(), and read().
Here is the call 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 76 of file class.ilUserFormSettings.php.
References settings().
Here is the call graph for this function:| ilUserFormSettings::setValue | ( | $a_option, | |
| $a_value | |||
| ) |
Set value.
| string | $a_option | |
| mmixed | $a_value |
Definition at line 119 of file class.ilUserFormSettings.php.
References settings().
Referenced by importFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserFormSettings::store | ( | ) |
Store settings in DB.
Definition at line 150 of file class.ilUserFormSettings.php.
References $query, and settings().
Here is the call graph for this function:| ilUserFormSettings::valueExists | ( | $a_option | ) |
Does value exist in settings?
| string | $a_option |
Definition at line 142 of file class.ilUserFormSettings.php.
References settings().
Referenced by deleteValue(), exportToForm(), and getValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 32 of file class.ilUserFormSettings.php.
|
private |
Definition at line 36 of file class.ilUserFormSettings.php.
Referenced by hasStoredEntry().
|
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.