Overview

Packages

  • Prefs

Classes

  • Horde_Prefs
  • Horde_Prefs_Cache_Base
  • Horde_Prefs_Cache_Null
  • Horde_Prefs_Cache_Session
  • Horde_Prefs_CategoryManager
  • Horde_Prefs_Exception
  • Horde_Prefs_Identity
  • Horde_Prefs_Scope
  • Horde_Prefs_Storage_Base
  • Horde_Prefs_Storage_File
  • Horde_Prefs_Storage_Imsp
  • Horde_Prefs_Storage_KolabImap
  • Horde_Prefs_Storage_Ldap
  • Horde_Prefs_Storage_Null
  • Horde_Prefs_Storage_Sql
  • Horde_Prefs_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Prefs_Storage_KolabImap

Preferences storage implementation for a Kolab IMAP server.

Copyright 2007-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Prefs_Storage_Base
Extended by Horde_Prefs_Storage_KolabImap
Package: Prefs
Category: Horde
License: LGPL 2.1
Author: Gunnar Wrobel p@rdus.de
Located at Horde/Prefs/Storage/KolabImap.php
Methods summary
public
# __construct( string $user, array $params = array() )

Constructor.

Constructor.

Parameters

$user
The username.
$params
Configuration parameters. <pre><span class="php-quote">'kolab'</span> - (Horde_Kolab_Storage) [REQUIRED] The storage backend. <span class="php-quote">'folder'</span> - (string) The <span class="php-keyword1">default</span> name of the preferences folder. <span class="php-keyword1">DEFAULT</span>: _(<span class="php-quote">'Preferences'</span>)</pre>

Throws

InvalidArgumentException

Overrides

Horde_Prefs_Storage_Base::__construct()
public Horde_Prefs_Scope
# get( Horde_Prefs_Scope $scope_ob )

Retrieves the requested preferences scope from the storage backend.

Retrieves the requested preferences scope from the storage backend.

Parameters

$scope_ob
The scope object.

Returns

Horde_Prefs_Scope
The modified scope object.

Throws

Horde_Prefs_Exception
public
# store( Horde_Prefs_Scope $scope_ob )

Stores changed preferences in the storage backend.

Stores changed preferences in the storage backend.

Parameters

$scope_ob
The scope object.

Throws

Horde_Prefs_Exception
public
# remove( string $scope = null, string $pref = null )

Removes preferences from the backend.

Removes preferences from the backend.

Parameters

$scope
<p>The scope of the prefs to clear. If null, clears all scopes.</p>
$pref
<p>The pref to clear. If null, clears the entire scope.</p>

Throws

Horde_Prefs_Exception
public array
# listScopes( )

Lists all available scopes.

Lists all available scopes.

Returns

array
The list of scopes stored in the backend.

Since

Horde_Prefs 1.1.0

Overrides

Horde_Prefs_Storage_Base::listScopes()
Methods inherited from Horde_Prefs_Storage_Base
getParams(), onChange()
API documentation generated by ApiGen