Fix class names in documentation

This commit is contained in:
Justin Hileman
2012-08-21 12:59:15 -07:00
parent 277288137b
commit d1b5601bd2
+6 -6
View File
@@ -12,19 +12,19 @@
/** /**
* Mustache Template filesystem Loader implementation. * Mustache Template filesystem Loader implementation.
* *
* An ArrayLoader instance loads Mustache Template source from the filesystem by name: * A FilesystemLoader instance loads Mustache Template source from the filesystem by name:
* *
* $loader = new FilesystemLoader(dirname(__FILE__).'/views'); * $loader = new Mustache_Loader_FilesystemLoader(dirname(__FILE__).'/views');
* $tpl = $loader->load('foo'); // equivalent to `file_get_contents(dirname(__FILE__).'/views/foo.mustache'); * $tpl = $loader->load('foo'); // equivalent to `file_get_contents(dirname(__FILE__).'/views/foo.mustache');
* *
* This is probably the most useful Mustache Loader implementation. It can be used for partials and normal Templates: * This is probably the most useful Mustache Loader implementation. It can be used for partials and normal Templates:
* *
* $m = new Mustache(array( * $m = new Mustache(array(
* 'loader' => new FilesystemLoader(dirname(__FILE__).'/views'), * 'loader' => new Mustache_Loader_FilesystemLoader(dirname(__FILE__).'/views'),
* 'partials_loader' => new FilesystemLoader(dirname(__FILE__).'/views/partials'), * 'partials_loader' => new Mustache_Loader_FilesystemLoader(dirname(__FILE__).'/views/partials'),
* )); * ));
* *
* @implements Loader * @implements Mustache_Loader
*/ */
class Mustache_Loader_FilesystemLoader implements Mustache_Loader class Mustache_Loader_FilesystemLoader implements Mustache_Loader
{ {
@@ -63,7 +63,7 @@ class Mustache_Loader_FilesystemLoader implements Mustache_Loader
/** /**
* Load a Template by name. * Load a Template by name.
* *
* $loader = new FilesystemLoader(dirname(__FILE__).'/views'); * $loader = new Mustache_Loader_FilesystemLoader(dirname(__FILE__).'/views');
* $loader->load('admin/dashboard'); // loads "./views/admin/dashboard.mustache"; * $loader->load('admin/dashboard'); // loads "./views/admin/dashboard.mustache";
* *
* @param string $name * @param string $name