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])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
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 )