Deprecated: Assigning the return value of new by reference is deprecated in /home/bluestat/public_html/source/index.php on line 477
From ba7c0d0e8ae83c1e9eac76cdc507ee240e2fbbaa Mon Sep 17 00:00:00 2001
From: Robert Sesek
Date: Wed, 20 Oct 2010 10:43:36 -0400
Subject: [PATCH] Add View::HTML() as a wrapper for Cleaner::HTML().
---
views/view.php | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/views/view.php b/views/view.php
index dd68245..2aa83e6 100644
--- a/views/view.php
+++ b/views/view.php
@@ -66,6 +66,12 @@ class View
include $this->_CachePath($this->template_name);
}
+ // Wrapper for Cleaner::HTML().
+ public function HTML($string)
+ {
+ return \phalanx\data\Cleaner::HTML($string);
+ }
+
// Loads the template from the file system, pre-processes the template, and
// stores the cached result in the file system.
protected function _Cache()
--
1.7.11.3