MINOR Documentation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@104483 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-10 21:26:46 +00:00 committed by Sam Minnee
parent 4fd6d3ad39
commit 32dfef3a2f

View File

@ -5,9 +5,13 @@
* the views folder, a template in views/Content or views/Layout will be rendered into $Content and
* $Layout, respectively.
*
* <b>Caching</b>
*
* Compiled templates are cached. If you put ?flush=1 on your URL, it will force the template to be recompiled. This
* is a hack; the system should really detect when a page needs re-fetching.
*
* <b>Manifest File and Structure</b>
*
* Works with the global $_TEMPLATE_MANIFEST which is compiled by {@link ManifestBuilder->getTemplateManifest()}.
* This associative array lists all template filepaths by "identifier", meaning the name
* of the template without its path or extension.
@ -43,7 +47,9 @@
* )
* </code>
*
* @todo Fix the broken caching.
* @see http://doc.silverstripe.org/themes
* @see http://doc.silverstripe.org/themes:developing
*
* @package sapphire
* @subpackage view
*/
@ -102,7 +108,7 @@ class SSViewer {
}
/**
* @param string $theme
* @param string $theme The "base theme" name (without underscores).
*/
static function set_theme($theme) {
self::$current_theme = $theme;