From a7b2e451ef9f9c471da43442633506bb6e33dde3 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 14 Jan 2010 14:35:04 +0000 Subject: added a parse_string() method to the Parser --- user_guide/changelog.html | 1 + user_guide/libraries/parser.html | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'user_guide') 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:

  • Fixed a language key in the profiler: "profiler_no_memory_usage" to "profiler_no_memory".
  • Added "is_object" into the list of unit tests capable of being run.
  • Table library will generate an empty cell with a blank string, or NULL value.
  • +
  • Added a parse_string() method to the Parser Class.
  • 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:

    $string = $this->parser->parse('blog_template', $data, TRUE); +

    $this->parser->parse_string()

    + +

    This method works exactly like parse(), only accepts a string as the first parameter in place of a view file.

    +

    Variable Pairs

    -- cgit v1.2.3-24-g4f1b