PHP Класс Horde_Kolab_Storage_List_Query_List_Defaults, horde

Copyright 2010-2016 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.
Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getDefaults ( ) : array Return the complete list of default folders available.
getDuplicates ( ) : array Return any duplicates.
getPersonalDefaults ( ) : array Return the list of personal defaults of the current user.
isComplete ( ) : boolean Query if the list of defaults has been completely assembled.
markComplete ( ) Mark the list of defaults as completed.
rememberDefault ( string $folder, string $type, string $owner, boolean $personal ) Remember a default folder.
reset ( ) Reset the list of defaults.

Защищенные методы

Метод Описание
doubleDefault ( string $first, string $second, string $owner, string $type ) React on detection of more than one default folder.

Описание методов

doubleDefault() абстрактный защищенный Метод

React on detection of more than one default folder.
abstract protected doubleDefault ( string $first, string $second, string $owner, string $type )
$first string The first default folder name.
$second string The second default folder name.
$owner string The folder owner.
$type string The folder type.

getDefaults() публичный Метод

Return the complete list of default folders available.
public getDefaults ( ) : array
Результат array The list of default folders accessible to the current user.

getDuplicates() публичный Метод

Return any duplicates.
public getDuplicates ( ) : array
Результат array The list of duplicate default folders accessible to the current user.

getPersonalDefaults() публичный Метод

Return the list of personal defaults of the current user.
public getPersonalDefaults ( ) : array
Результат array The list of default folder owned by the current user.

isComplete() публичный Метод

Query if the list of defaults has been completely assembled.
public isComplete ( ) : boolean
Результат boolean True, if the list is complete.

markComplete() публичный Метод

Mark the list of defaults as completed.
public markComplete ( )

rememberDefault() публичный Метод

Remember a default folder.
public rememberDefault ( string $folder, string $type, string $owner, boolean $personal )
$folder string The folder name.
$type string The folder type.
$owner string The folder owner.
$personal boolean Is this a folder owned by the current user?

reset() публичный Метод

Reset the list of defaults.
public reset ( )