PHP Class Carew\Document

Afficher le fichier Open project: carew/carew Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Finder\SplFileInfo $file = null, $filePath = null, $type = self::TYPE_UNKNOWN )
__toString ( )
addMetadatas ( array $metadatas )
getBody ( )
getBodyDecorated ( )
getFile ( )
getFilePath ( )
getLayout ( )
getMetadata ( $key, $default = null )
getMetadatas ( )
getNavigations ( )
getPath ( )
getRootPath ( )
getTags ( )
getTitle ( )
getToc ( )
getType ( )
getVar ( $key, $default = null )
getVars ( )
isPublished ( )
isTypeApi ( )
isTypePage ( )
isTypePost ( )
setBody ( $body )
setBodyDecorated ( $bodyDecorated )
setFilePath ( $filePath )
setLayout ( $layout )
setMetadata ( $key, $value )
setNavigations ( $navigations )
setPath ( $path )
setPublished ( $published )
setTags ( $tags )
setTitle ( $title )
setToc ( $toc )
setVar ( $key, $value )
setVars ( $vars )

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Finder\SplFileInfo $file = null, $filePath = null, $type = self::TYPE_UNKNOWN )
$file Symfony\Component\Finder\SplFileInfo

__toString() public méthode

public __toString ( )

addMetadatas() public méthode

public addMetadatas ( array $metadatas )
$metadatas array

getBody() public méthode

public getBody ( )

getBodyDecorated() public méthode

public getBodyDecorated ( )

getFile() public méthode

public getFile ( )

getFilePath() public méthode

public getFilePath ( )

getLayout() public méthode

public getLayout ( )

getMetadata() public méthode

public getMetadata ( $key, $default = null )

getMetadatas() public méthode

public getMetadatas ( )

getNavigations() public méthode

public getNavigations ( )

getPath() public méthode

public getPath ( )

getRootPath() public méthode

public getRootPath ( )

getTags() public méthode

public getTags ( )

getTitle() public méthode

public getTitle ( )

getToc() public méthode

public getToc ( )

getType() public méthode

public getType ( )

getVar() public méthode

public getVar ( $key, $default = null )

getVars() public méthode

public getVars ( )

isPublished() public méthode

public isPublished ( )

isTypeApi() public méthode

public isTypeApi ( )

isTypePage() public méthode

public isTypePage ( )

isTypePost() public méthode

public isTypePost ( )

setBody() public méthode

public setBody ( $body )

setBodyDecorated() public méthode

public setBodyDecorated ( $bodyDecorated )

setFilePath() public méthode

public setFilePath ( $filePath )

setLayout() public méthode

public setLayout ( $layout )

setMetadata() public méthode

public setMetadata ( $key, $value )

setNavigations() public méthode

public setNavigations ( $navigations )

setPath() public méthode

public setPath ( $path )

setPublished() public méthode

public setPublished ( $published )

setTags() public méthode

public setTags ( $tags )

setTitle() public méthode

public setTitle ( $title )

setToc() public méthode

public setToc ( $toc )

setVar() public méthode

public setVar ( $key, $value )

setVars() public méthode

public setVars ( $vars )