PHP Класс Horde_Kolab_Storage_Scenario, horde

Copyright 2008-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])
Наследование: extends Horde_Kolab_Server_Integration_Scenario
Показать файл Открыть проект

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

Метод Описание
authenticate ( Horde_Auth_Base $auth, $username = 'test', $password = 'test' )
prepareBasicConfiguration ( ) : null Prepare a basic Kolab configuration.
prepareBasicSetup ( ) : Horde_Kolab_Server Prepare a Kolab server with some basic entries.
prepareBrowser ( ) : null Prepare the browser setup.
prepareConfiguration ( ) : null Prepare the configuration.
prepareEmptyKolabStorage ( $params = null ) : Horde_Kolab_Storage_List Prepare an empty Kolab storage.
prepareFixedConfiguration ( ) : null Fix the read configuration.
prepareKolabSetup ( $username = 'test', $password = 'test' ) : null Prepare a Kolab setup.
prepareNewFolder ( &$storage, string $name, string $type, boolean $default = false ) : Kolab_Folder Create a new folder.
prepareNotification ( ) : null Prepare the notification setup.
prepareRegistry ( ) : null Prepare the registry.
provideHordeBase ( )
provideServerName ( )
runGiven ( &$world, string $action, array $arguments ) : mixed Handle a "given" step.
runThen ( &$world, string $action, array $arguments ) : mixed Handle a "then" step.
runWhen ( &$world, string $action, array $arguments ) : mixed Handle a "when" step.

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

Метод Описание
getConfiguration ( )

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

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

public authenticate ( Horde_Auth_Base $auth, $username = 'test', $password = 'test' )
$auth Horde_Auth_Base

getConfiguration() защищенный Метод

protected getConfiguration ( )

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

Prepare a basic Kolab configuration.
public prepareBasicConfiguration ( ) : null
Результат null

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

Prepare a Kolab server with some basic entries.
public prepareBasicSetup ( ) : Horde_Kolab_Server
Результат Horde_Kolab_Server The empty server.

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

Prepare the browser setup.
public prepareBrowser ( ) : null
Результат null

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

Prepare the configuration.
public prepareConfiguration ( ) : null
Результат null

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

Prepare an empty Kolab storage.
public prepareEmptyKolabStorage ( $params = null ) : Horde_Kolab_Storage_List
Результат Horde_Kolab_Storage_List The empty storage.

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

Fix the read configuration.
public prepareFixedConfiguration ( ) : null
Результат null

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

Prepare a Kolab setup.
public prepareKolabSetup ( $username = 'test', $password = 'test' ) : null
Результат null

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

Create a new folder.
public prepareNewFolder ( &$storage, string $name, string $type, boolean $default = false ) : Kolab_Folder
$name string Name of the new folder.
$type string Type of the new folder.
$default boolean Should the new folder be a default folder?
Результат Kolab_Folder The new folder.

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

Prepare the notification setup.
public prepareNotification ( ) : null
Результат null

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

Prepare the registry.
public prepareRegistry ( ) : null
Результат null

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

public provideHordeBase ( )

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

public provideServerName ( )

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

Handle a "given" step.
public runGiven ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
Результат mixed The outcome of the step.

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

Handle a "then" step.
public runThen ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
Результат mixed The outcome of the step.

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

Handle a "when" step.
public runWhen ( &$world, string $action, array $arguments ) : mixed
$action string The description of the step.
$arguments array Additional arguments to the step.
Результат mixed The outcome of the step.