File loader for twig templates. This obeys the same path rules as PHP views: - using the unavailable skin - using module/ sprout/ skin/ prefixes TODO Some actual caching.
This is the code documentation for the SproutCMS project
Search documentation |
class TwigSkinLoaderFile loader for twig templates. This obeys the same path rules as PHP views: - using the unavailable skin - using module/ sprout/ skin/ prefixes TODO Some actual caching.
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-08-16
**/
class NewClassName extends TwigSkinLoader {
public function isFresh (string $name, int $time) {
// Method code goes here
}
public function exists (string $name) {
// Method code goes here
}
public function getCacheKey (string $name) {
// Method code goes here
}
/**
* Find a template for the current subsite skin.
**/
protected function findTemplate (string $name) {
// Method code goes here
}
public function getSourceContext (string $name) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Wednesday, 5th August, 2026 at 03:31 pm |
|