a SENSIOLABS Product
Symfony

Templating
Simple yet powerful templating framework

sfTemplateLoaderFilesystem Class

All Classes

RELEASE INFORMATION

You are currently browsing the API for the trunk version.
sfTemplateLoaderFilesystem is a loader that read templates from the filesystem.

Inheritence

sfTemplateLoaderFilesystem  <  sfTemplateLoader
METHODS
__construct()  constructor.
load()  loads a template.
isAbsolutePath()  returns true if the file is an existing absolute path.

Methods inherited from sfTemplateLoader

setDebugger
  • __construct($templatePathPatterns)

    Constructor.

    ARGUMENTS
    $templatePathPatterns An array of path patterns to look for templates
  • (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

  • (true) isAbsolutePath($file)

    Returns true if the file is an existing absolute path.

    ARGUMENTS
    $file A path

    returns if the path exists and is absolute, false 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.