diff options
author | Derek Allard <derek.allard@ellislab.com> | 2010-01-14 15:35:04 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2010-01-14 15:35:04 +0100 |
commit | a7b2e451ef9f9c471da43442633506bb6e33dde3 (patch) | |
tree | 8523eb8cac8f3b1e57b1977b881996f14df619c5 /user_guide | |
parent | 0ce9f781778505e7f4b186bc7948b24c6f63a6d3 (diff) |
added a parse_string() method to the Parser
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/changelog.html | 1 | ||||
-rw-r--r-- | user_guide/libraries/parser.html | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 3f4fbdb16..f75201942 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -69,6 +69,7 @@ SVN Revision: </p> <li>Fixed a language key in the profiler: "profiler_no_memory_usage" to "profiler_no_memory".</li> <li>Added "is_object" into the list of unit tests capable of being run.</li> <li>Table library will generate an empty cell with a blank string, or NULL value.</li> + <li>Added a <kbd>parse_string()</kbd> method to the <a href="libraries/parser.html">Parser Class</a>.</li> </ul> </li> <li>Database 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> |