PHP Класс Horde_Kolab_Format_Factory, horde

Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__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.