From 78c3fa83531d4c1ca292f64e9383a9a4ff0f795b Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 21 Jan 2008 15:11:13 +0000 Subject: assorted guide fixes and additions --- user_guide/changelog.html | 4 ++-- user_guide/general/controllers.html | 2 ++ user_guide/general/requirements.html | 4 ++-- user_guide/general/views.html | 15 ++++++--------- user_guide/helpers/email_helper.html | 9 ++++----- user_guide/overview/at_a_glance.html | 2 +- 6 files changed, 17 insertions(+), 19 deletions(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index f86e1f539..e1d2365d4 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -72,7 +72,7 @@ Change Log diff --git a/user_guide/general/controllers.html b/user_guide/general/controllers.html index cd11eb1ac..d4f1489cb 100644 --- a/user_guide/general/controllers.html +++ b/user_guide/general/controllers.html @@ -375,6 +375,8 @@ is a list of reserved names. Do not name your controller functions any of these
  • CI_Loader
  • config
  • database
  • +
  • dbutil
  • +
  • dbforge
  • file
  • helper
  • helpers
  • diff --git a/user_guide/general/requirements.html b/user_guide/general/requirements.html index 9acbd57d0..11a507679 100644 --- a/user_guide/general/requirements.html +++ b/user_guide/general/requirements.html @@ -58,8 +58,8 @@ Server Requirements

    Server Requirements

    diff --git a/user_guide/general/views.html b/user_guide/general/views.html index e41503f5f..851da92e8 100644 --- a/user_guide/general/views.html +++ b/user_guide/general/views.html @@ -162,7 +162,7 @@ $this->load->view('blogview', $data);

    Let's try it with your controller file. Open it add this code:

    @@ -193,9 +193,6 @@ class Blog extends Controller {

    Then load the page at the URL you've been using and you should see the variables replaced.

    -

    Note: You'll notice that in the example above we are using PHP's alternative syntax. If you -are not familiar with it you can read about it here.

    -

    Creating Loops

    The data array you pass to your view files is not limited to simple variables. You can @@ -205,7 +202,7 @@ pull data from your database it will typically be in the form of a multi-dimensi

    Here's a simple example. Add this to your controller:

    @@ -242,12 +239,12 @@ class Blog extends Controller { <?php endforeach;?> </ul> - </body> </html> - +

    Note: You'll notice that in the example above we are using PHP's alternative syntax. If you +are not familiar with it you can read about it here.

    diff --git a/user_guide/helpers/email_helper.html b/user_guide/helpers/email_helper.html index b7aff6f21..48c47f298 100644 --- a/user_guide/helpers/email_helper.html +++ b/user_guide/helpers/email_helper.html @@ -2,7 +2,7 @@ -CodeIgniter User Guide : Download Helper +CodeIgniter User Guide : Email Helper @@ -57,15 +57,14 @@ Download Helper
    -

    Download Helper

    - -

    The Download Helper lets you download data to your desktop.

    +

    Email Helper

    +

    The Email Helper provides some assitive functions for working with Email. For a more robust email solution, see CodeIgniter's Email Class.

    Loading this Helper

    This helper is loaded using the following code:

    -$this->load->helper(email); +

    $this->load->helper('email');

    The following functions are available:

    diff --git a/user_guide/overview/at_a_glance.html b/user_guide/overview/at_a_glance.html index 282081099..f762f7893 100644 --- a/user_guide/overview/at_a_glance.html +++ b/user_guide/overview/at_a_glance.html @@ -74,7 +74,7 @@ For more information please read the license agreement

    CodeIgniter is written to be compatible with PHP 4. Although we would have loved to take advantage of the better object handling in PHP 5 since it would have simplified some things we had to find creative solutions for (looking your way, multiple inheritance), at the time of this writing PHP 5 is not in widespread use, which means we would be alienating most of our -potential audience. Major OS vendors like RedHat have yet to support PHP 5, and they are unlikely to do so until 2007, so +potential audience. Major OS vendors like RedHat are moving slowly to support PHP 5, and they are unlikely to do so in the short term, so we felt that it did not serve the best interests of the PHP community to write CodeIgniter in PHP 5.

    Note: CodeIgniter will run on PHP 5. It simply does not take advantage of any native features that are only available in that version.

    -- cgit v1.2.3-24-g4f1b