PHP Class Rarst\Meadow\Extension

Inheritance: extends Twig_Extension
Afficher le fichier Open project: rarst/meadow

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode Description
get_template ( Twig_Environment $env, $context, $type, $name = null )

Method Details

comments_template() public méthode

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

getFunctions() public méthode

public getFunctions ( )

getGlobals() public méthode

public getGlobals ( )

getName() public méthode

public getName ( )

getTokenParsers() public méthode

public getTokenParsers ( )

get_header() public méthode

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

get_search_form() public méthode

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

get_sidebar() public méthode

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

get_template() protected méthode

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

get_template_part() public méthode

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

get_templates() public méthode

public get_templates ( $slug, $name = null )

initRuntime() public méthode

public initRuntime ( Twig_Environment $environment )
$environment Twig_Environment

return_blank_template() public méthode