Свойство | Type | Description | |
---|---|---|---|
$app | string | Current application. | |
$group | string | Current preferences group. | |
$nobuttons | boolean | If set, suppresses display of the buttons. | |
$prefGroups | array | Preferences groups. | |
$prefs | array | Preferences. | |
$suppress | array | Suppressed preference entries. | |
$suppressGroups | array | Suppressed prefGroup entries. | |
$vars | Horde_Variables | Form variables for this page load. |
Свойство | Type | Description | |
---|---|---|---|
$_errors | array | List of update errors. |
Méthode | Description | |
---|---|---|
__construct ( Horde_Variables $vars ) | Constructor. | |
generateUI ( ) | Generate the UI for the preferences interface, either for a specific group, or the group selection interface. | |
getChangeablePrefs ( string $group = null ) : array | Returns the list of changeable prefs for a group. | |
getDefaultApp ( ) : string | Get the default application to show preferences for. Defaults to 'horde'. | |
groupIsEditable ( string $group ) : boolean | Determine whether or not a preferences group is editable. | |
handleForm ( ) | Handle a preferences form submission if there is one, updating any preferences which have been changed. | |
hasAdvancedPrefs ( ) : boolean | Returns whether advanced preferences exist in the current application. | |
selfUrl ( array $options = [] ) : Horde_Url | Returns a self URL to the current page. |
Méthode | Description | |
---|---|---|
_addHordeIdentitiesPrefs ( array $pref_list ) : array | Adds Horde base identities prefs to preference list. | |
_generateEntry ( string $member, mixed $val ) : array | Generates an entry hash for an identity's preference value. | |
_getPrefGroups ( ) : array | Get the list of viewable preference groups, filtering out suppressed groups and groups with no settable prefs. | |
_handleForm ( $preflist, $save ) | * Handle a preferences form submission if there is one, updating any preferences which have been changed. | |
_identitiesUpdate ( ) | Update identities prefs. | |
_identityHeader ( array $members ) : string | Output the identities page header entries (default identity, identity selection, and identity deletion). | |
_loadPrefs ( string $app, boolean $data = false ) | Parses/loads preferences configuration. |
public __construct ( Horde_Variables $vars ) | ||
$vars | Horde_Variables | Form variables. |
protected _addHordeIdentitiesPrefs ( array $pref_list ) : array | ||
$pref_list | array | Preference list. |
Résultat | array | The preference list with the Horde preferences added, if needed. These prefs are also added to $this->prefs. |
protected _getPrefGroups ( ) : array | ||
Résultat | array | The filtered prefGroups array. |
protected _handleForm ( $preflist, $save ) | ||
$preflist | The list of preferences to process. | |
$save | The object to save preferences values to. |
protected _identityHeader ( array $members ) : string | ||
$members | array | The list of prefs to display on this page. |
Résultat | string | HTML output. |
protected _loadPrefs ( string $app, boolean $data = false ) | ||
$app | string | The application. |
$data | boolean | Return the data instead of loading into the current object? |
public generateUI ( ) |
public getChangeablePrefs ( string $group = null ) : array | ||
$group | string | The preferences group to check. |
Résultat | array | The list of changeable prefs. |
public getDefaultApp ( ) : string | ||
Résultat | string | The default application. |
public groupIsEditable ( string $group ) : boolean | ||
$group | string | The preferences group to check. |
Résultat | boolean | Whether or not the group is editable. |
public handleForm ( ) |
public hasAdvancedPrefs ( ) : boolean | ||
Résultat | boolean | True if at least one of the preferences is an advanced preference. |
public bool $nobuttons | ||
Résultat | boolean |
public array $suppressGroups | ||
Résultat | array |