a SENSIOLABS Product
Symfony

Templating
Simple yet powerful templating framework

sfTemplateLoaderChain Class

All Classes

RELEASE INFORMATION

You are currently browsing the API for the trunk version.
sfTemplateLoaderChain is a loader that calls other loaders to load templates.

Inheritence

sfTemplateLoaderChain  <  sfTemplateLoader
METHODS
__construct()  constructor.
addLoader()  adds a loader instance.
load()  loads a template.

Methods inherited from sfTemplateLoader

setDebugger
  • __construct($loaders)

    Constructor.

    ARGUMENTS
    $loaders An array of loader instances
  • addLoader($loader)

    Adds a loader instance.

    ARGUMENTS
    $loader A sfTemplateLoader instance
  • (sfTemplateStorage|Boolean) load($template, $renderer)

    Loads a template.

    ARGUMENTS
    $template The logical template name
    $renderer The renderer to use

    returns false if the template cannot be loaded, a sfTemplateStorage instance otherwise

powered by symfony - "symfony" is a trademark of Fabien Potencier, all rights reserved - The components "animals" are © 2009 Sensio Labs

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.