PHP Class Rarst\Meadow\Extension

Inheritance: extends Twig_Extension
Mostra file Open project: rarst/meadow

Public Methods

Method Description
comments_template ( Twig_Environment $env, $context, $file = 'comments.twig', $separate_comments = false )
getFunctions ( )
getGlobals ( )
getName ( )
getTokenParsers ( )
get_footer ( Twig_Environment $env, $context, $name = null )
get_header ( Twig_Environment $env, $context, $name = null )
get_search_form ( ) : string Skips rendering in native function in favor of Plugin->get_search_form() in filter
get_sidebar ( Twig_Environment $env, $context, $name = null )
get_template_part ( Twig_Environment $env, $context, $slug, $name = null )
get_templates ( $slug, $name = null )
initRuntime ( Twig_Environment $environment )
return_blank_template ( )

Protected Methods

Method Description
get_template ( Twig_Environment $env, $context, $type, $name = null )

Method Details

comments_template() public method

public comments_template ( Twig_Environment $env, $context, $file = 'comments.twig', $separate_comments = false )
$env Twig_Environment

getFunctions() public method

public getFunctions ( )

getGlobals() public method

public getGlobals ( )

getName() public method

public getName ( )

getTokenParsers() public method

public getTokenParsers ( )

get_header() public method

public get_header ( Twig_Environment $env, $context, $name = null )
$env Twig_Environment

get_search_form() public method

Skips rendering in native function in favor of Plugin->get_search_form() in filter
public get_search_form ( ) : string
return string

get_sidebar() public method

public get_sidebar ( Twig_Environment $env, $context, $name = null )
$env Twig_Environment

get_template() protected method

protected get_template ( Twig_Environment $env, $context, $type, $name = null )
$env Twig_Environment

get_template_part() public method

public get_template_part ( Twig_Environment $env, $context, $slug, $name = null )
$env Twig_Environment

get_templates() public method

public get_templates ( $slug, $name = null )

initRuntime() public method

public initRuntime ( Twig_Environment $environment )
$environment Twig_Environment

return_blank_template() public method