PHP Класс Kronolith_Resource, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Автор: Michael J. Rubinsky ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
addResource ( array $info ) : Kronolith_Resource_Single Adds a new resource to storage
checkResources ( Kronolith_Event $event ) : array Handles checking for resource availability or cancellation.
getResource ( $id )

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

addResource() публичный статический Метод

Adds a new resource to storage
public static addResource ( array $info ) : Kronolith_Resource_Single
$info array The resource array. - name: (string) The resource name. - desc: (string) The resource description. - email: (string) An email address for the resource, if needed. - response_type: (integer) The RESPONSETYPE_* constant. - group: (boolean) Flag resource as a group. - members: (array) An array of resource ids if this is a group.
Результат Kronolith_Resource_Single

checkResources() публичный статический Метод

Handles checking for resource availability or cancellation.
public static checkResources ( Kronolith_Event $event ) : array
$event Kronolith_Event The event whose resources we are saving.
Результат array An array of accepted resource objects.

getResource() публичный статический Метод

public static getResource ( $id )