From 866b8138c5f51b0ca544dd8a91c265d9200acab8 Mon Sep 17 00:00:00 2001
From: Derek Allard
Also Note: The Template Parser Class is not not a -full-blown template parsing solution. We've kept it very lean on purpose in order to maintain maximum performance. - -
+Also Note: The Template Parser Class is not a +full-blown template parsing solution. We've kept it very lean on purpose in order to maintain maximum performance.
This variable accepts a template name and data array as input, and it generates a parsed version. Example:
+This method accepts a template name and data array as input, and it generates a parsed version. Example:
$this->load->library('parser');
@@ -173,7 +171,7 @@ $data = array(
$this->parser->parse('blog_template', $data);
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:
+use the database result_array() function:
$query = $this->db->query("SELECT * FROM blog");
diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html
index a3ca58808..69cc6ba59 100644
--- a/user_guide/libraries/sessions.html
+++ b/user_guide/libraries/sessions.html
@@ -123,7 +123,7 @@ and encrypting the data automatically.
Note: Session cookies are only updated every five minutes by default to reduce processor load. If you repeatedly reload a page
you'll notice that the "last activity" time only updates if five minutes or more has passed since the last time
-the cookie was written. This time is configurable my changing the $config['time_to_update'] line in your system/config/config.php file.
+the cookie was written. This time is configurable by changing the $config['time_to_update'] line in your system/config/config.php file.
Retrieving Session Data
diff --git a/user_guide/libraries/trackback.html b/user_guide/libraries/trackback.html
index ecc9c21ee..513cbf2c9 100644
--- a/user_guide/libraries/trackback.html
+++ b/user_guide/libraries/trackback.html
@@ -200,7 +200,7 @@ $this->trackback->send_success();
http://www.your-site.com/index.php/trackback/receive/entry_id
-Notice the entry_id is in the third URI, which you can retrieve using:
+Notice the entry_id is in the third URI segment, which you can retrieve using:
$this->uri->segment(3);
diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html
index bf9796feb..06ab665ca 100644
--- a/user_guide/libraries/validation.html
+++ b/user_guide/libraries/validation.html
@@ -319,7 +319,7 @@ $rules['password'] = "trim|required|matches[passconf]|md5"
$rules['passconf'] = "trim|required";In the above, we are "trimming" the fields, converting the password to MD5, and running the username through +
In the above example, we are "trimming" the fields, converting the password to MD5, and running the username through the "xss_clean" function, which removes malicious data.
Any native PHP function that accepts one parameter can be used as a rule, like htmlspecialchars, @@ -446,7 +446,7 @@ error message.
} -Now open your myform.php view file and update the value in each field so that it has an object corresponding to its name:
+Now open your myform.php view file and update the value in each field so that it has an attribute corresponding to its name: