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_Folder_Namespace_Element

The Horde_Kolab_Storage_Folder_Namespace_Element:: class represents a namespace type.

Copyright 2010-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.

Direct known subclasses

Horde_Kolab_Storage_Folder_Namespace_Element_Other, Horde_Kolab_Storage_Folder_Namespace_Element_Personal, Horde_Kolab_Storage_Folder_Namespace_Element_Shared

Indirect known subclasses

Horde_Kolab_Storage_Folder_Namespace_Element_SharedWithPrefix
Abstract
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/Folder/Namespace/Element.php
Methods summary
public
# __construct( string $name, string $delimiter, string $user )

Constructor.

Constructor.

Parameters

$name
The prefix identifying this namespace.
$delimiter
The delimiter used for this namespace.
$user
The current user.
abstract public string
# getType( )

Return the type of this namespace (personal, other, or shared).

Return the type of this namespace (personal, other, or shared).

Returns

string
The type.
public string
# getName( )

Return the name of this namespace.

Return the name of this namespace.

Returns

string
The name/prefix.
public string
# getDelimiter( )

Return the delimiter for this namespace.

Return the delimiter for this namespace.

Returns

string
The delimiter.
public boolean
# matches( string $name )

Does the folder name lie in this namespace?

Does the folder name lie in this namespace?

Parameters

$name
The name of the folder.

Returns

boolean
True if the folder is element of this namespace.
abstract public string|boolean
# getOwner( string $name )

Return the owner of a folder.

Return the owner of a folder.

Parameters

$name
The name of the folder.

Returns

string|boolean
The owner of the folder.
public string
# getTitle( string $name )

Return the title of a folder.

Return the title of a folder.

Parameters

$name
The name of the folder.

Returns

string
The title of the folder.
public string
# getSubpath( string $name )

Get the sub path for the given folder name.

Get the sub path for the given folder name.

Parameters

$name
The folder name.

Returns

string
The sub path.
public string
# getParent( string $name )

Get the parent for the given folder name.

Get the parent for the given folder name.

Parameters

$name
The parent folder name.

Returns

string
The parent.
public string
# generateName( array $path )

Generate a folder path for the given path in this namespace.

Generate a folder path for the given path in this namespace.

Parameters

$path
The path of the folder.

Returns

string
The name of the folder.
public string
# generatePath( string $subpath, string $owner )

Generate a folder path for the given subpath and owner.

Generate a folder path for the given subpath and owner.

Parameters

$subpath
The subpath of the folder.
$owner
The folder owner.

Returns

string
The name of the folder.

Since

Horde_Kolab_Storage 1.1.0
public string
# __toString( )

Convert the namespace description to a string.

Convert the namespace description to a string.

Returns

string
The namespace description.
API documentation generated by ApiGen