PHP 클래스 Horde_Kolab_Format_Factory, horde

파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Constructor.
create ( string $format = 'Xml', string $type = '', array $params = [] ) : Horde_Kolab_Format Generates a handler for a specific Kolab object type.
createXmlHelper ( DOMDocument $xmldoc ) : Horde_Kolab_Format_Xml_Helper Generates a XML helper instance.
createXmlParser ( ) : Horde_Kolab_Format_Xml_Parser Generates a XML parser.
createXmlType ( string $type, array $params = [] ) : Horde_Kolab_Format_Xml_Type Generates a XML type that deals with XML data modifications.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $params = [] )
$params array Additional parameters for the creation of parsers.

create() 공개 메소드

Generates a handler for a specific Kolab object type.
public create ( string $format = 'Xml', string $type = '', array $params = [] ) : Horde_Kolab_Format
$format string The format that the handler should work with.
$type string The object type that should be handled.
$params array Additional parameters.
'version' - The format version.
리턴 Horde_Kolab_Format The handler.

createXmlHelper() 공개 메소드

Generates a XML helper instance.
public createXmlHelper ( DOMDocument $xmldoc ) : Horde_Kolab_Format_Xml_Helper
$xmldoc DOMDocument The XML document the helper works with.
리턴 Horde_Kolab_Format_Xml_Helper The helper utility.

createXmlParser() 공개 메소드

Generates a XML parser.
public createXmlParser ( ) : Horde_Kolab_Format_Xml_Parser
리턴 Horde_Kolab_Format_Xml_Parser The parser.

createXmlType() 공개 메소드

Generates a XML type that deals with XML data modifications.
public createXmlType ( string $type, array $params = [] ) : Horde_Kolab_Format_Xml_Type
$type string The value type.
$params array Additional parameters.
리턴 Horde_Kolab_Format_Xml_Type The type.