summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/parser.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2010-01-14 15:35:04 +0100
committerDerek Allard <derek.allard@ellislab.com>2010-01-14 15:35:04 +0100
commita7b2e451ef9f9c471da43442633506bb6e33dde3 (patch)
tree8523eb8cac8f3b1e57b1977b881996f14df619c5 /user_guide/libraries/parser.html
parent0ce9f781778505e7f4b186bc7948b24c6f63a6d3 (diff)
added a parse_string() method to the Parser
Diffstat (limited to 'user_guide/libraries/parser.html')
-rw-r--r--user_guide/libraries/parser.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/user_guide/libraries/parser.html b/user_guide/libraries/parser.html
index 4bf63efb8..3dc268156 100644
--- a/user_guide/libraries/parser.html
+++ b/user_guide/libraries/parser.html
@@ -123,6 +123,10 @@ pass TRUE (boolean) to the third parameter:</p>
<code>$string = $this->parser->parse('blog_template', $data, TRUE);</code>
+<h2>$this->parser->parse_string()</h2>
+
+<p>This method works exactly like parse(), only accepts a string as the first parameter in place of a view file.</p>
+
<h2>Variable Pairs</h2>