FactDev  0.1
Mustache::PartialFileLoader Class Reference

#include <mustache.h>

Inheritance diagram for Mustache::PartialFileLoader:
Mustache::PartialResolver

Public Member Functions

 PartialFileLoader (const QString &basePath)
 
virtual QString getPartial (const QString &name)
 

Detailed Description

A partial fetcher when loads templates from '<name>.mustache' files in a given directory.

Once a partial has been loaded, it is cached for future use.

Member Function Documentation

QString PartialFileLoader::getPartial ( const QString &  name)
virtual

Returns the partial template with a given name.

Implements Mustache::PartialResolver.


The documentation for this class was generated from the following files: