| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Collaboration diagram for ilUserFormSettings:Public Member Functions | |
| __construct (string $a_id, ?int $a_user_id=null) | |
| hasStoredEntry () | |
| Check if entry exist.  More... | |
| set (array $a_data) | |
| reset () | |
| enabled (string $a_option) | |
| Check if a specific option is enabled.  More... | |
| getValue (string $a_option) | |
| Get value.  More... | |
| setValue (string $a_option, $a_value) | |
| deleteValue (string $a_option) | |
| Delete value.  More... | |
| valueExists (string $a_option) | |
| Does value exist in settings?  More... | |
| store () | |
| delete (bool $a_reset=true) | |
| Delete user related data.  More... | |
| importFromForm (ilPropertyFormGUI $a_form) | |
| Import settings from form.  More... | |
| exportToForm (ilPropertyFormGUI $a_form, bool $a_set_post=false) | |
| Export settings to form.  More... | |
Static Public Member Functions | |
| static | deleteAllForUser (int $a_user_id) | 
| Delete all settings for user id.  More... | |
| static | deleteAllForId (string $a_id) | 
| Delete for id.  More... | |
| static | deleteAllForPrefix (string $a_prefix) | 
| Delete all entries for prefix.  More... | |
Protected Member Functions | |
| read () | |
Protected Attributes | |
| ilDBInterface | $db | 
| int | $user_id | 
| string | $id | 
| array | $settings = [] | 
Private Attributes | |
| bool | $has_stored_entry = false | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 22 of file class.ilUserFormSettings.php.
| ilUserFormSettings::__construct | ( | string | $a_id, | 
| ?int | $a_user_id = null  | 
        ||
| ) | 
Definition at line 30 of file class.ilUserFormSettings.php.
References $DIC, $ilDB, ILIAS\Repository\int(), and read().
 Here is the call graph for this function:| ilUserFormSettings::delete | ( | bool | $a_reset = true | ) | 
Delete user related data.
Definition at line 150 of file class.ilUserFormSettings.php.
References reset().
 Here is the call graph for this function:
      
  | 
  static | 
      
  | 
  static | 
Delete all entries for prefix.
Definition at line 188 of file class.ilUserFormSettings.php.
References $GLOBALS.
Referenced by ilMemberExportSettingsGUI\savePrintViewSettings().
 Here is the caller graph for this function:
      
  | 
  static | 
| ilUserFormSettings::deleteValue | ( | string | $a_option | ) | 
Delete value.
Definition at line 102 of file class.ilUserFormSettings.php.
References ILIAS\Repository\settings(), and valueExists().
 Here is the call graph for this function:| ilUserFormSettings::enabled | ( | string | $a_option | ) | 
Check if a specific option is enabled.
Definition at line 74 of file class.ilUserFormSettings.php.
References getValue().
 Here is the call graph for this function:| ilUserFormSettings::exportToForm | ( | ilPropertyFormGUI | $a_form, | 
| bool | $a_set_post = false  | 
        ||
| ) | 
Export settings to form.
Definition at line 229 of file class.ilUserFormSettings.php.
References ilPropertyFormGUI\getItems(), getValue(), IL_CAL_DATETIME, and valueExists().
 Here is the call graph for this function:| ilUserFormSettings::getValue | ( | string | $a_option | ) | 
Get value.
Definition at line 83 of file class.ilUserFormSettings.php.
References ILIAS\Repository\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 53 of file class.ilUserFormSettings.php.
References $has_stored_entry.
| ilUserFormSettings::importFromForm | ( | ilPropertyFormGUI | $a_form | ) | 
Import settings from form.
Definition at line 199 of file class.ilUserFormSettings.php.
References ilPropertyFormGUI\getItems(), IL_CAL_DATETIME, reset(), and setValue().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 130 of file class.ilUserFormSettings.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, reset(), and ILIAS\Repository\settings().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilUserFormSettings::reset | ( | ) | 
Definition at line 66 of file class.ilUserFormSettings.php.
References ILIAS\Repository\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 | ( | array | $a_data | ) | 
| array | Array of Settings | 
Definition at line 61 of file class.ilUserFormSettings.php.
References ILIAS\Repository\settings().
 Here is the call graph for this function:| ilUserFormSettings::setValue | ( | string | $a_option, | 
| $a_value | |||
| ) | 
| mixed | $a_value | 
Definition at line 94 of file class.ilUserFormSettings.php.
References ILIAS\Repository\settings().
Referenced by importFromForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilUserFormSettings::store | ( | ) | 
Definition at line 117 of file class.ilUserFormSettings.php.
References ILIAS\Repository\settings().
 Here is the call graph for this function:| ilUserFormSettings::valueExists | ( | string | $a_option | ) | 
Does value exist in settings?
Definition at line 112 of file class.ilUserFormSettings.php.
References ILIAS\Repository\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 24 of file class.ilUserFormSettings.php.
      
  | 
  private | 
Definition at line 28 of file class.ilUserFormSettings.php.
Referenced by hasStoredEntry().
      
  | 
  protected | 
Definition at line 26 of file class.ilUserFormSettings.php.
      
  | 
  protected | 
Definition at line 27 of file class.ilUserFormSettings.php.
      
  | 
  protected | 
Definition at line 25 of file class.ilUserFormSettings.php.