Summary
- File
- Package hierarchy Template\loader
- Class hierarchy \FileTemplateLoader
- Implements \TemplateLoader
This loader is the most used. It takes a file identifier as input. This identifier corresponds to a file that can be different from the user's theme. In fact, when it loads a template, its looks for it at several places. For a module template, it can be the default one which is in the /module/templates directory, but if the file is specialized by the theme, it loads it from the theme directory. All that is explained in the {@link FileTemplate} class description.
This loader supports caching and stores cache files in the /cache/tpl directory, their name are related to their source's real path.