diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-22 00:02:37 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-22 00:02:37 +0200 |
commit | 866b8138c5f51b0ca544dd8a91c265d9200acab8 (patch) | |
tree | 066404f0978996c59d9cc43ce5fa7f54c57b3703 /user_guide/libraries/parser.html | |
parent | 6b397a8bf28d2bf01b43ae393f853a853410cd57 (diff) |
doc clarifications, example fixes, grammar.
Diffstat (limited to 'user_guide/libraries/parser.html')
-rw-r--r-- | user_guide/libraries/parser.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/user_guide/libraries/parser.html b/user_guide/libraries/parser.html index 48af7ecd9..d72891af9 100644 --- a/user_guide/libraries/parser.html +++ b/user_guide/libraries/parser.html @@ -86,10 +86,8 @@ PHP from your templates (view files).</p> since using pure PHP in your view pages lets them run a little faster. However, some developers prefer to use a template engine if
they work with designers who they feel would find some confusion working with PHP.</p>
-<p><strong>Also Note:</strong> The Template Parser Class is <strong>not</strong> not a
-full-blown template parsing solution. We've kept it very lean on purpose in order to maintain maximum performance.
-
-</p>
+<p><strong>Also Note:</strong> The Template Parser Class is <strong>not</strong> a
+full-blown template parsing solution. We've kept it very lean on purpose in order to maintain maximum performance.</p>
<h2>Initializing the Class</h2>
@@ -104,7 +102,7 @@ full-blown template parsing solution. We've kept it very lean on purpose in orde <h2>$this->parser->parse()</h2>
-<p>This variable accepts a template name and data array as input, and it generates a parsed version. Example:</p>
+<p>This method accepts a template name and data array as input, and it generates a parsed version. Example:</p>
<code>$this->load->library('parser');<br />
<br />
@@ -173,7 +171,7 @@ $data = array(<br /> $this->parser->parse('blog_template', $data);</code>
<p>If your "pair" data is coming from a database result, which is already a multi-dimensional array, you can simply
-use the database result function:</p>
+use the database result_array() function:</p>
<code>
$query = $this->db->query("SELECT * FROM blog");<br />
|