PHP Class Gumdrop\Page

Exibir arquivo Open project: simonjodet/gumdrop

Public Methods

Method Description
__construct ( Application $app )
convertMarkdownToHtml ( )
exportForTwigRendering ( )
getConfiguration ( ) : PageConfiguration
getHtmlContent ( )
getLayoutTwigEnvironment ( )
getMarkdownContent ( )
getPageContent ( )
getPageTwigEnvironment ( )
getRelativeLocation ( )
renderLayoutTwigEnvironment ( )
renderPageTwigEnvironment ( )
setConfiguration ( PageConfiguration $configuration )
setHtmlContent ( $htmlContent )
setLayoutTwigEnvironment ( Twig_Environment $layoutTwigEnvironment = null )
setMarkdownContent ( $markdownContent )
setPageContent ( $pageContent )
setPageTwigEnvironment ( $pageTwigEnvironment )
setRelativeLocation ( $location )
writeHtmlFile ( $destination )

Private Methods

Method Description
getDataForTwigRendering ( )

Method Details

__construct() public method

public __construct ( Application $app )
$app Application

convertMarkdownToHtml() public method

exportForTwigRendering() public method

getConfiguration() public method

public getConfiguration ( ) : PageConfiguration
return PageConfiguration

getHtmlContent() public method

public getHtmlContent ( )

getLayoutTwigEnvironment() public method

getMarkdownContent() public method

public getMarkdownContent ( )

getPageContent() public method

public getPageContent ( )

getPageTwigEnvironment() public method

getRelativeLocation() public method

public getRelativeLocation ( )

renderLayoutTwigEnvironment() public method

renderPageTwigEnvironment() public method

setConfiguration() public method

public setConfiguration ( PageConfiguration $configuration )
$configuration PageConfiguration

setHtmlContent() public method

public setHtmlContent ( $htmlContent )

setLayoutTwigEnvironment() public method

public setLayoutTwigEnvironment ( Twig_Environment $layoutTwigEnvironment = null )
$layoutTwigEnvironment Twig_Environment

setMarkdownContent() public method

public setMarkdownContent ( $markdownContent )

setPageContent() public method

public setPageContent ( $pageContent )

setPageTwigEnvironment() public method

public setPageTwigEnvironment ( $pageTwigEnvironment )

setRelativeLocation() public method

public setRelativeLocation ( $location )

writeHtmlFile() public method

public writeHtmlFile ( $destination )