Skip to content
Browse files

Fixing documentation for templating classes.

  • Loading branch information...
1 parent e86fd73 commit cf8b27ca3e6304bc59e3f96beecb7eb1eb16bba6 @nateabele nateabele committed Nov 9, 2010
View
6 libraries/lithium/template/TemplateException.php
@@ -9,9 +9,9 @@
namespace lithium\template;
/**
- * A `NetworkException` may be thrown whenever an unsuccessful attempt is made to connect to a
- * remote service over the network. This may be a web service, a database, or another network
- * resource.
+ * A `TemplateException` is thrown whenever a view template cannot be found, or a called template is
+ * not readible or accessible for rendering. Also used by the view compiler if a compiled template
+ * cannot be written.
*/
class TemplateException extends \RuntimeException {
View
8 libraries/lithium/template/view/Compiler.php
@@ -27,9 +27,11 @@ class Compiler extends \lithium\core\StaticObject {
/**
* The list of syntax replacements to apply to compiled templates.
*
- * @var array Key/value pairs of regular expressions. The keys are the regexes,
- * and the values are the resulting expressions along with any capture groups
- * that may have been used in the corresponding regexes.
+ * Key/value pairs of regular expressions. The keys are the regexes, and the values are the
+ * resulting expressions along with any capture groups that may have been used in the
+ * corresponding regexes.
+ *
+ * @var array
*/
protected static $_processors = array(
'/\<\?=\s*\$this->(.+?)\s*;?\s*\?>/msx' => '<?php echo $this->$1; ?>',

0 comments on commit cf8b27c

Please sign in to comment.
Something went wrong with that request. Please try again.