SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class TwigSkinLoader

File loader for twig templates.

This obeys the same path rules as PHP views:
 - using the unavailable skin
 - using module/ sprout/ skin/ prefixes

TODO Some actual caching.

Variables

NameVisibilityDescription
$cache
File path cache.
$templates
Template cache.

Functions

NameVisibilityDescription
existspublic 
findTemplateprotectedFind a template for the current subsite skin.
getCacheKeypublic 
getSourceContextpublic 
isFreshpublic 

public exists

unknown $TwigSkinLoader->exists ( string $name );

This function does not have a description

protected findTemplate

string $TwigSkinLoader->findTemplate ( string $name );

Find a template for the current subsite skin.

public getCacheKey

unknown $TwigSkinLoader->getCacheKey ( string $name );

This function does not have a description

public getSourceContext

unknown $TwigSkinLoader->getSourceContext ( string $name );

This function does not have a description

public isFresh

unknown $TwigSkinLoader->isFresh ( string $name , int $time );

This function does not have a description