diff options
Diffstat (limited to 'user_guide/libraries/parser.html')
-rw-r--r-- | user_guide/libraries/parser.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide/libraries/parser.html b/user_guide/libraries/parser.html index 091817e11..febeaa572 100644 --- a/user_guide/libraries/parser.html +++ b/user_guide/libraries/parser.html @@ -12,7 +12,7 @@ <script type="text/javascript" src="../nav/moo.fx.js"></script>
<script type="text/javascript">
window.onload = function() {
- myHeight = new fx.Height('nav', {duration: 400});
+ myHeight = new fx.Height('nav', {duration: 400});
myHeight.hide();
}
</script>
@@ -88,7 +88,7 @@ variables or variable tag pairs. If you've never used a template engine, pseudo- PHP from your templates (view files).</p>
<p class="important"><strong>Note:</strong> Code Igniter does <strong>not</strong> require you to use this class
-since using pure PHP in your view pages lets them run a little faster. However, some developers prefer to use a template engine if
+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
@@ -125,7 +125,7 @@ and the second parameter contains an associative array of data to be replaced in template would contain two variables: {blog_title} and {blog_heading}</p>
<p>There is no need to "echo" or do something with the data returned by <dfn>$this->parser->parse()</dfn>. It is automatically
-passed to the output class to be sent to the browser. However, if you do want the data returned instead of sent to the output class you can
+passed to the output class to be sent to the browser. However, if you do want the data returned instead of sent to the output class you can
pass TRUE (boolean) to the third parameter:</p>
<code>$string = $this->parser->parse('blog_template', $data, TRUE);</code>
@@ -156,7 +156,7 @@ repeated, with each iteration containing new values? Consider the template exam In a case like this, the entire chunk of data between these pairs would be repeated multiple times, corresponding
to the number of rows in a result.</p>
-<p>Parsing variable pairs is done using the identical code shown above to parse single variables,
+<p>Parsing variable pairs is done using the identical code shown above to parse single variables,
except, you will add a multi-dimensional array corresponding to your variable pair data.
Consider this example:</p>
|