PHP Класс Goetas\Twital\Template

A valid template is a {DOMDocument} with some additional metadata.
Автор: Asmir Mustafic ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( DOMDocument $document, mixed $metadata = null )
getDocument ( ) : DOMDocument Returns the {DOMDocument} of a template
getMetadata ( ) : mixed Return template metadatas.

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

__construct() публичный Метод

public __construct ( DOMDocument $document, mixed $metadata = null )
$document DOMDocument The template {DOMDocument}
$metadata mixed Template metadatas

getDocument() публичный Метод

Returns the {DOMDocument} of a template
public getDocument ( ) : DOMDocument
Результат DOMDocument

getMetadata() публичный Метод

Return template metadatas.
public getMetadata ( ) : mixed
Результат mixed