PHP 클래스 Goetas\Twital\Template

A valid template is a {DOMDocument} with some additional metadata.
저자: Asmir Mustafic ([email protected])
파일 보기 프로젝트 열기: goetas/twital 1 사용 예제들

공개 메소드들

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