-
$_cache
-
Array to cache in. Usually a reference to an array in $_SESSION, but could be overridden by a subclass for testing or other users.
-
$_caching
-
Boolean indicating whether preference caching should be used.
-
$_connected
-
Boolean indicating whether or not we're connected to the IMSP server.
-
$_connected
-
Boolean indicating whether or not we're connected to the LDAP server.
-
$_connected
-
Boolean indicating whether or not we're connected to the SQL server.
-
$_connection
-
Handle for the current Kolab connection.
-
$_connection
-
Handle for the current LDAP connection.
-
$_credentials
-
A list of preference field names and their values.
-
$_db
-
Handle for the current database connection.
-
$_default
-
A pointer to the user's standard identity.
-
$_dirname
-
Directory to store the preferences
-
$_dn
-
String holding the user's DN.
-
$_file_cache
-
Cached unserialized data of all scopes
-
$_fullpath
-
Full path to the current preference file
-
$_hooks
-
Hash holding preferences with hook functions defined.
-
$_identities
-
Array containing all the user's identities.
-
$_imsp
-
Handle for the IMSP server connection.
-
$_params
-
Hash containing connection parameters.
-
$_params
-
Holds the driver specific parameters.
-
$_params
-
Hash containing connection parameters.
-
$_password
-
String holding the user's password.
-
$_password
-
User password.
-
$_prefs
-
Reference to the prefs object that this Identity points to.
-
$_prefs
-
Hash holding the current set of preferences. Each preference is itself a hash, so this will ultimately be multi-dimensional.
-
$_properties
-
Array containing all of the properties in this identity.
-
$_scope
-
String containing the name of the current scope. This is used to differentiate between sets of preferences (multiple applications can have a "sortby" preference, for example). By default, all preferences belong to the "global" (Horde) scope.
-
$_scopes
-
Array of loaded scopes. In order to only load what we need, and
-
$_share
-
ID of the config default share
-
$_user
-
The user whose identities these are.
-
$_user
-
String containing the current username. This indicates the owner of the preferences.
-
$_version
-
Current version number of the data format
-
$_write_db
-
Handle for the current database connection, used for writing. Defaults to the same handle as $_db if a separate write database is not configured.
-
_cacheLookup
-
Tries to find the requested preferences in the cache. If they exist, update the $_scopes hash with the cached values.
-
_cacheUpdate
-
Updates the session-based preferences cache (if available).
-
_dirtyPrefs
-
Return all "dirty" preferences across all scopes.
-
_getPref
-
Retrieves the requested preference from the user's config folder.
-
_getPreferenceScope
-
Returns the scope of the given preference.
-
_loadScope
-
Load a specific preference scope.
-
_PREF_DEFAULT
-
Preference value is the application default.
-
_PREF_DIRTY
-
Preference value has been changed.
-
_PREF_LOCKED
-
Preference is administratively locked.
-
_PREF_SHARED
-
Preference is shared amongst applications.
-
_read_cache
-
Read data from disc
-
_retrieve
-
Retrieves the requested set of preferences from the current session.
-
_retrieve
-
Retrieves the requested set of preferences from the current session.
-
_retrieve
-
Retrieves the requested set of preferences from the IMSP server.
-
_retrieve
-
Retrieves the requested set of preferences from the user's config folder.
-
_retrieve
-
Retrieves the requested set of preferences from the user's database entry.
-
_retrieve
-
Retrieves the requested set of preferences from the user's LDAP entry.
-
_setValue
-
Sets the given preferences ($pref) to the specified value ($val), whether or not the preference is user-modifiable, unset the default bit, and set the dirty bit.
-
_write_cache
-
Write data to disc
-
__get
-
-
__set
-
-
generateHeader
-
Generates the the full header of a preference screen including menu and navigation bars.
-
generateNavigationCell
-
Generate the content of the title bar navigation cell (previous | next option group).
-
generateUI
-
Generate the UI for the preferences interface, either for a specific group, or the group selection interface.
-
get
-
Returns a complete identity hash.
-
get
-
Get all categories.
-
getAll
-
Returns an array with the specified property from all existing identities.
-
getCharset
-
Returns the charset used by the concrete preference backend.
-
getCharset
-
Returns the charset used by the concrete preference backend.
-
getCredentials
-
Returns a list of available credentials collected from all Horde applications.
-
getDefault
-
Returns the default value of the given preference.
-
getDefault
-
Returns a pointer to the current default identity.
-
getDefaultApp
-
Get the default application to show preferences for. Defaults to 'horde'.
-
getDefaultFromAddress
-
Generates the from address to use for the default identity.
-
getJavaScript
-
-
getScope
-
Get the current scope
-
getSelect
-
-
getUser
-
Return the user who owns these preferences.
-
getValue
-
Returns the value of the requested preference.
-
getValue
-
Returns the value of a credential for the currently processed application.
-
getValue
-
Returns a property from one of the identities. If this value doesn't exist or is locked, the property is retrieved from the prefs backend.
-
groupIsEditable
-
Determine whether or not a preferences group is editable.
-
Prefs
-
Default constructor (must be called from each extending class in their constructors via parent::Prefs()).
-
Prefs
-
The Prefs:: class provides a common abstracted interface into the various preferences storage mediums. It also includes all of the functions for retrieving, storing, and checking preference values.
-
Prefs.php
-
-
Prefs_CategoryManager
-
Class for handling a list of categories stored in a user's preferences.
-
Prefs_Credentials
-
Constructor.
-
Prefs_Credentials
-
Class for handling a list of credentials stored in a user's preferences.
-
Prefs_file
-
Preferences storage implementation using files in a directory
-
Prefs_file
-
Constructs a new file preferences object.
-
Prefs_imsp
-
Preference storage implementation for an IMSP server.
-
Prefs_imsp
-
Constructor function.
-
Prefs_kolab
-
Kolab implementation of the Horde preference system. Derives from the Prefs_ldap LDAP authentication object, and simply provides parameters to it based on the global Kolab configuration.
-
Prefs_kolab
-
Constructs a new Kolab preferences object.
-
Prefs_kolab_imap
-
Constructs a new kolab_imap preferences object.
-
Prefs_kolab_imap
-
Preferences storage implementation for a Kolab IMAP server
-
Prefs_ldap
-
Constructs a new LDAP preferences object.
-
Prefs_ldap
-
Preferences storage implementation for PHP's LDAP extention.
-
Prefs_session
-
Constructs a new session preferences object.
-
Prefs_session
-
Preferences storage implementation for PHP's session implementation.
-
Prefs_sql
-
Preferences storage implementation for PHP's PEAR database abstraction layer.
-
Prefs_sql
-
Constructs a new SQL preferences object.
-
Prefs_UI
-
Class for auto-generating the preferences user interface and processing the forms.
-
session.php
-
-
sql.php
-
-
save
-
Saves all identities in the prefs backend.
-
setColor
-
-
setColors
-
-
setDefault
-
Sets the current default identity.
-
setDefault
-
Modifies the "default" bit for the given preference.
-
setDirty
-
Modifies the "dirty" bit for the given preference.
-
setLocked
-
Modifies the "locked" bit for the given preference.
-
setScope
-
Change scope without explicitly retrieving preferences
-
setShared
-
Modifies the "shared" bit for the given preference.
-
setValue
-
Sets a property with a specified value.
-
setValue
-
Sets the given preferences ($pref) to the specified value ($val), if the preference is modifiable.
-
showUI
-
Displays the preference interface for setting all available credentials.
-
singleton
-
Attempts to return a reference to a concrete Identity instance based on $type. It will only create a new instance if no Identity instance with the same parameters currently exists.
-
singleton
-
Attempts to return a reference to a concrete Prefs instance based on $driver. It will only create a new instance if no Prefs instance with the same parameters currently exists.
-
singleton
-
Returns a single instance of the Prefs_Credentials class, and sets the curently processed application.
-
store
-
Stores preferences in the current session.
-
store
-
Stores preferences to the SQL server.
-
store
-
Stores preferences to the LDAP server.
-
store
-
Stores preferences in the current session.
-
store
-
Stores all dirty prefs to IMSP server.
-
store
-
Stores preferences to the Kolab server.
-
store
-
This function will be run at the end of every request as a shutdown