Overview

Packages

  • Kolab
    • Storage

Classes

  • Horde_Kolab_Storage_Base
  • Horde_Kolab_Storage_Cache
  • Horde_Kolab_Storage_Cache_Data
  • Horde_Kolab_Storage_Cache_List
  • Horde_Kolab_Storage_Cached
  • Horde_Kolab_Storage_Data_Base
  • Horde_Kolab_Storage_Data_Cached
  • Horde_Kolab_Storage_Data_Decorator_Log
  • Horde_Kolab_Storage_Data_Format_Mime
  • Horde_Kolab_Storage_Data_Modifiable
  • Horde_Kolab_Storage_Data_Old
  • Horde_Kolab_Storage_Data_Parser_Structure
  • Horde_Kolab_Storage_Data_Query_History_Base
  • Horde_Kolab_Storage_Data_Query_History_Cache
  • Horde_Kolab_Storage_Data_Query_Preferences_Base
  • Horde_Kolab_Storage_Data_Query_Preferences_Cache
  • Horde_Kolab_Storage_Decorator_Synchronization
  • Horde_Kolab_Storage_Driver_Base
  • Horde_Kolab_Storage_Driver_Cclient
  • Horde_Kolab_Storage_Driver_Decorator_Base
  • Horde_Kolab_Storage_Driver_Decorator_Log
  • Horde_Kolab_Storage_Driver_Decorator_Timer
  • Horde_Kolab_Storage_Driver_Imap
  • Horde_Kolab_Storage_Driver_Mock
  • Horde_Kolab_Storage_Driver_Mock_Data
  • Horde_Kolab_Storage_Driver_Pear
  • Horde_Kolab_Storage_Driver_Rcube
  • Horde_Kolab_Storage_Exception
  • Horde_Kolab_Storage_Exception_Pear
  • Horde_Kolab_Storage_Factory
  • Horde_Kolab_Storage_Folder_Base
  • Horde_Kolab_Storage_Folder_Decorator_Base
  • Horde_Kolab_Storage_Folder_Decorator_Trigger
  • Horde_Kolab_Storage_Folder_Namespace
  • Horde_Kolab_Storage_Folder_Namespace_Config
  • Horde_Kolab_Storage_Folder_Namespace_Element
  • Horde_Kolab_Storage_Folder_Namespace_Element_Other
  • Horde_Kolab_Storage_Folder_Namespace_Element_Personal
  • Horde_Kolab_Storage_Folder_Namespace_Element_Shared
  • Horde_Kolab_Storage_Folder_Namespace_Element_SharedWithPrefix
  • Horde_Kolab_Storage_Folder_Namespace_Fixed
  • Horde_Kolab_Storage_Folder_Namespace_Imap
  • Horde_Kolab_Storage_Folder_Stamp_Uids
  • Horde_Kolab_Storage_Folder_Type
  • Horde_Kolab_Storage_List_Base
  • Horde_Kolab_Storage_List_Decorator_Cache
  • Horde_Kolab_Storage_List_Decorator_Log
  • Horde_Kolab_Storage_List_Query_Acl_Base
  • Horde_Kolab_Storage_List_Query_Acl_Cache
  • Horde_Kolab_Storage_List_Query_ActiveSync_Base
  • Horde_Kolab_Storage_List_Query_ActiveSync_Cache
  • Horde_Kolab_Storage_List_Query_List_Base
  • Horde_Kolab_Storage_List_Query_List_Cache
  • Horde_Kolab_Storage_List_Query_Share_Base
  • Horde_Kolab_Storage_List_Query_Share_Cache
  • Horde_Kolab_Storage_QuerySet_Base
  • Horde_Kolab_Storage_QuerySet_Cached
  • Horde_Kolab_Storage_QuerySet_Uncached
  • Horde_Kolab_Storage_Synchronization
  • Horde_Kolab_Storage_Translation
  • Horde_Kolab_Storage_Uncached

Interfaces

  • Horde_Kolab_Storage
  • Horde_Kolab_Storage_Data
  • Horde_Kolab_Storage_Data_Format
  • Horde_Kolab_Storage_Data_Parser
  • Horde_Kolab_Storage_Data_Query
  • Horde_Kolab_Storage_Data_Query_History
  • Horde_Kolab_Storage_Data_Query_Preferences
  • Horde_Kolab_Storage_Driver
  • Horde_Kolab_Storage_Folder
  • Horde_Kolab_Storage_Folder_Stamp
  • Horde_Kolab_Storage_List
  • Horde_Kolab_Storage_List_Query
  • Horde_Kolab_Storage_List_Query_Acl
  • Horde_Kolab_Storage_List_Query_ActiveSync
  • Horde_Kolab_Storage_List_Query_List
  • Horde_Kolab_Storage_List_Query_Share
  • Horde_Kolab_Storage_Queriable
  • Horde_Kolab_Storage_Query
  • Horde_Kolab_Storage_QuerySet
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Kolab_Storage_List_Base

The basic handler for accessing folder lists from Kolab storage.

Copyright 2004-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_Kolab_Storage_List_Base implements Horde_Kolab_Storage_List, Horde_Kolab_Storage_List_Query
Package: Kolab\Storage
Category: Kolab
License: LGPL 2.1
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Kolab_Storage
Located at Horde/Kolab/Storage/List/Base.php
Methods summary
public
# __construct( Horde_Kolab_Storage_Driver $driver, Horde_Kolab_Storage_Factory $factory )

Constructor.

Constructor.

Parameters

$driver
The primary connection driver.
$factory
The factory.
public Horde_Kolab_Storage_Driver
# getDriver( )

Return the list driver.

Return the list driver.

Returns

Horde_Kolab_Storage_Driver
The driver.

Implementation of

Horde_Kolab_Storage_List::getDriver()
public string
# getId( )

Return the ID of the underlying connection.

Return the ID of the underlying connection.

Returns

string
The connection ID.

Implementation of

Horde_Kolab_Storage_List::getId()
public array
# getIdParameters( )

Return the connection parameters.

Return the connection parameters.

Returns

array
The connection parameters.

Implementation of

Horde_Kolab_Storage_List::getIdParameters()
public null
# createFolder( string $folder, string $type = null )

Create a new folder.

Create a new folder.

Parameters

$folder
The path of the folder to create.
$type
An optional type for the folder.

Returns

null

Implementation of

Horde_Kolab_Storage_List_Query::createFolder()
public null
# deleteFolder( string $folder )

Delete a folder.

Delete a folder.

WARNING: Do not use this call in case there is still data present in the folder. You are required to empty any data set before removing the folder. Otherwise there is no guarantee you can adhere to that Kolab specification that might require the triggering of remote systems to inform them about the removal of the folder.

Parameters

$folder
The path of the folder to delete.

Returns

null

Implementation of

Horde_Kolab_Storage_List_Query::deleteFolder()
public null
# renameFolder( string $old, string $new )

Rename a folder.

Rename a folder.

Parameters

$old
The old path of the folder.
$new
The new path of the folder.

Returns

null

Implementation of

Horde_Kolab_Storage_List_Query::renameFolder()
public Horde_Kolab_Storage_Folder
# getFolder( string $folder )

Returns a representation for the requested folder.

Returns a representation for the requested folder.

Parameters

$folder
The path of the folder to return.

Returns

Horde_Kolab_Storage_Folder
The folder representation.

Implementation of

Horde_Kolab_Storage_List::getFolder()
public null
# setDefault( string $folder )

Mark the specified folder as the default folder of this type.

Mark the specified folder as the default folder of this type.

Parameters

$folder
The path of the folder to mark as default.

Returns

null

Implementation of

Horde_Kolab_Storage_List::setDefault()
public array
# listFolders( )

Returns the list of folders visible to the current user.

Returns the list of folders visible to the current user.

Returns

array
The list of folders, represented as a list of strings.

Implementation of

Horde_Kolab_Storage_List::listFolders()
public array
# listFolderTypes( )

Returns the folder type annotation as associative array.

Returns the folder type annotation as associative array.

Returns

array

The list folder types with the folder names as key and the folder type as values.

Implementation of

Horde_Kolab_Storage_List::listFolderTypes()
public Horde_Kolab_Storage_Folder_Namespace
# getNamespace( )

Returns the namespace for the list.

Returns the namespace for the list.

Returns

Horde_Kolab_Storage_Folder_Namespace
The namespace handler.

Implementation of

Horde_Kolab_Storage_List::getNamespace()
public string
# getStamp( )

Return the last sync stamp.

Return the last sync stamp.

Returns

string
The stamp.

Implementation of

Horde_Kolab_Storage_List_Query::getStamp()
public null
# synchronize( array $params = array() )

Synchronize the list information with the information from the backend.

Synchronize the list information with the information from the backend.

Parameters

$params
Additional parameters.

Returns

null

Implementation of

Horde_Kolab_Storage_Query::synchronize()
public null
# registerQuery( string $name, Horde_Kolab_Storage_Query $query )

Register a query to be updated if the underlying data changes.

Register a query to be updated if the underlying data changes.

Parameters

$name
The query name.
$query
The query to register.

Returns

null

Implementation of

Horde_Kolab_Storage_Queriable::registerQuery()
public Horde_Kolab_Storage_Query
# getQuery( string $name = null )

Return a registered query.

Return a registered query.

Parameters

$name
The query name.

Returns

Horde_Kolab_Storage_Query
The requested query.

Throws

Horde_Kolab_Storage_Exception

In case the requested query does not exist.

Implementation of

Horde_Kolab_Storage_Queriable::getQuery()
Constants summary
string ANNOTATION_FOLDER_TYPE

The folder type annotation

The folder type annotation

# '/shared/vendor/kolab/folder-type'
Constants inherited from Horde_Kolab_Storage_List
QUERY_ACL, QUERY_BASE, QUERY_SHARE
API documentation generated by ApiGen