a SENSIOLABS Product
Symfony

Templating
Simple yet powerful templating framework

sfTemplateLoaderCache Class

All Classes

RELEASE INFORMATION

You are currently browsing the API for the trunk version.
sfTemplateLoaderCache is a loader that caches other loaders responses

on the filesystem.

This cache only caches on disk to allow PHP accelerators to cache the opcodes.
All other mecanism would imply the use of `eval()`.

Inheritence

sfTemplateLoaderCache  <  sfTemplateLoader
METHODS
__construct()  constructor.
load()  loads a template.

Methods inherited from sfTemplateLoader

setDebugger
  • __construct($loader, $dir)

    Constructor.

    ARGUMENTS
    $loader A sfTemplateLoader instance
    $dir The directory where to store the cache files
  • (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.