PHP 클래스 Horde_Kolab_Server_Object_Factory, 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.
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
factory ( mixed $type, string $uid, Horde_Kolab_Server_Composite $storage, array $data = null ) : Horde_Kolab_Server_Object | PEAR_Error Attempts to return a concrete Horde_Kolab_Server_Object instance based on $type.
loadClass ( mixed $type ) : true | PEAR_Error Attempts to load the concrete Horde_Kolab_Server_Object class based on $type.

메소드 상세

factory() 공개 정적인 메소드

Attempts to return a concrete Horde_Kolab_Server_Object instance based on $type.
public static factory ( mixed $type, string $uid, Horde_Kolab_Server_Composite $storage, array $data = null ) : Horde_Kolab_Server_Object | PEAR_Error
$type mixed The type of the Horde_Kolab_Server_Object subclass to return.
$uid string UID of the object
$storage Horde_Kolab_Server_Composite A link to the Kolab_Server class handling read/write.
$data array A possible array of data for the object
리턴 Horde_Kolab_Server_Object | PEAR_Error The newly created concrete Horde_Kolab_Server_Object instance.

loadClass() 공개 정적인 메소드

Attempts to load the concrete Horde_Kolab_Server_Object class based on $type.
public static loadClass ( mixed $type ) : true | PEAR_Error
$type mixed The type of the Horde_Kolab_Server_Object subclass.
리턴 true | PEAR_Error True if successfull.