From d2df9bc7cc9d4b3e53818470c5d0977c9a36677c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 15 Apr 2007 17:41:17 +0000 Subject: update pMachine to EllisLab update copyright year update Code Igniter to CodeIgniter --- user_guide/libraries/benchmark.html | 16 ++++++++-------- user_guide/libraries/calendar.html | 12 ++++++------ user_guide/libraries/config.html | 16 ++++++++-------- user_guide/libraries/email.html | 18 +++++++++--------- user_guide/libraries/encryption.html | 12 ++++++------ user_guide/libraries/file_uploading.html | 16 ++++++++-------- user_guide/libraries/ftp.html | 14 +++++++------- user_guide/libraries/image_lib.html | 16 ++++++++-------- user_guide/libraries/input.html | 18 +++++++++--------- user_guide/libraries/language.html | 14 +++++++------- user_guide/libraries/loader.html | 12 ++++++------ user_guide/libraries/output.html | 14 +++++++------- user_guide/libraries/pagination.html | 12 ++++++------ user_guide/libraries/parser.html | 14 +++++++------- user_guide/libraries/sessions.html | 12 ++++++------ user_guide/libraries/table.html | 12 ++++++------ user_guide/libraries/trackback.html | 12 ++++++------ user_guide/libraries/unit_testing.html | 14 +++++++------- user_guide/libraries/uri.html | 22 +++++++++++----------- user_guide/libraries/user_agent.html | 12 ++++++------ user_guide/libraries/validation.html | 20 ++++++++++---------- user_guide/libraries/xmlrpc.html | 14 +++++++------- user_guide/libraries/zip.html | 14 +++++++------- 23 files changed, 168 insertions(+), 168 deletions(-) (limited to 'user_guide/libraries') diff --git a/user_guide/libraries/benchmark.html b/user_guide/libraries/benchmark.html index ce4eb8993..3bb63fbf5 100644 --- a/user_guide/libraries/benchmark.html +++ b/user_guide/libraries/benchmark.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -63,7 +63,7 @@ Benchmarking Class

Benchmarking Class

-

Code Igniter has a Benchmarking class that is always active, enabling the time difference between any +

CodeIgniter has a Benchmarking class that is always active, enabling the time difference between any two marked points to be calculated.

Note: This class is initialized automatically by the system so there is no need to do it manually.

@@ -153,13 +153,13 @@ $this->benchmark->mark('another_mark_end');

Displaying Total Execution Time

-

If you would like to display the total elapsed time from the moment Code Igniter starts to the moment the final output +

If you would like to display the total elapsed time from the moment CodeIgniter starts to the moment the final output is sent to the browser, simply place this in one of your view templates:

<?=$this->benchmark->elapsed_time();?>

You'll notice that it's the same function used in the examples above to calculate the time between two point, except you are -not using any parameters. When the parameters are absent, Code Igniter does not stop the benchmark until right before the final +not using any parameters. When the parameters are absent, CodeIgniter does not stop the benchmark until right before the final output is sent to the browser. It doesn't matter where you use the function call, the timer will continue to run until the very end.

An alternate way to show your elapsed time in your view files is to use this pseudo-variable, if you prefer not to use the pure PHP:

@@ -195,7 +195,7 @@ Previous Topic:   SecurityUser Guide Home   ·   Next Topic:  Calendaring Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/calendar.html b/user_guide/libraries/calendar.html index 7f043546d..ce48acc5f 100644 --- a/user_guide/libraries/calendar.html +++ b/user_guide/libraries/calendar.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -70,7 +70,7 @@ template, allowing 100% control over every aspect of its design. In addition, yo

Initializing the Class

-

Like most other classes in Code Igniter, the Calendar class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Calendar class is initialized in your controller using the $this->load->library function:

$this->load->library('calendar');

Once loaded, the Calendar object will be available using: $this->calendar

@@ -247,7 +247,7 @@ Previous Topic:  Benchmarking ClassUser Guide Home   ·   Next Topic:  Config Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/config.html b/user_guide/libraries/config.html index eeec28c73..79f064c2e 100644 --- a/user_guide/libraries/config.html +++ b/user_guide/libraries/config.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -71,7 +71,7 @@ come from the default config file (application/config/config.php) o

Anatomy of a Config File

-

By default, Code Igniter has a one primary config file, located at application/config/config.php. If you open the file using +

By default, CodeIgniter has a one primary config file, located at application/config/config.php. If you open the file using your text editor you'll see that config items are stored in an array called $config.

You can add your own config items to @@ -79,12 +79,12 @@ this file, or if you prefer to keep your configuration items separate (assuming simply create your own file and save it in config folder.

Note: If you do create your own config files use the same format as the primary one, storing your items in -an array called $config. Code Igniter will intelligently manage these files so there will be no conflict even though +an array called $config. CodeIgniter will intelligently manage these files so there will be no conflict even though the array has the same name (assuming an array index is not named the same as another).

Loading a Config File

-

Note: Code Igniter automatically loads the primary config file (application/config/config.php), +

Note: CodeIgniter automatically loads the primary config file (application/config/config.php), so you will only need to load a config file if you have created your own.

There are two ways to load a config file:

@@ -181,7 +181,7 @@ Previous Topic:  Calendaring ClassUser Guide Home   ·   Next Topic:  Database Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/email.html b/user_guide/libraries/email.html index 7ce565640..244320534 100644 --- a/user_guide/libraries/email.html +++ b/user_guide/libraries/email.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -63,7 +63,7 @@ Email Class

Email Class

-

Code Igniter's robust Email Class supports the following features:

+

CodeIgniter's robust Email Class supports the following features:

- + @@ -219,7 +219,7 @@ $this->email->to($list);

This is an optional message string which can be used if you send HTML formatted email. It lets you specify an alternative message with no HTML formatting which is added to the header string for people who do not accept HTML email. -If you do not set your own message Code Igniter will extract the message from your HTML email and strip the tags.

+If you do not set your own message CodeIgniter will extract the message from your HTML email and strip the tags.

@@ -270,7 +270,7 @@ $this->email->send();

Overriding Word Wrapping

If you have word wrapping enabled (recommended to comply with RFC 822) and you have a very long link in your email it can -get wrapped too, causing it to become un-clickable by the person receiving it. Code Igniter lets you manually override +get wrapped too, causing it to become un-clickable by the person receiving it. CodeIgniter lets you manually override word wrapping within part of your message like this: The text of your email that
@@ -296,7 +296,7 @@ Previous Topic:  Database Class User Guide Home   ·   Next Topic:  Encryption Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/encryption.html b/user_guide/libraries/encryption.html index 7a25e7644..6f020a692 100644 --- a/user_guide/libraries/encryption.html +++ b/user_guide/libraries/encryption.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
Options Description
useragentCode IgniterNoneThe "user agent".useragentCodeIgniterNoneThe "user agent".
protocolmailmail, sendmail, or smtpThe mail sending protocol.
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -105,7 +105,7 @@ for example, can only hold 4K of information.

Initializing the Class

-

Like most other classes in Code Igniter, the Encryption class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Encryption class is initialized in your controller using the $this->load->library function:

$this->load->library('encrypt');

Once loaded, the Encrypt library object will be available using: $this->encrypt

@@ -180,7 +180,7 @@ Previous Topic:  Email ClassUser Guide Home   ·   Next Topic:  File Uploading Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html index eea1feb6c..80ec869a0 100644 --- a/user_guide/libraries/file_uploading.html +++ b/user_guide/libraries/file_uploading.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -63,7 +63,7 @@ File Uploading Class

File Uploading Class

-

Code Igniter's File Uploading Class permits files to be uploaded. You can set various +

CodeIgniter's File Uploading Class permits files to be uploaded. You can set various preferences, restricting the type and size of the files.

@@ -190,7 +190,7 @@ class Upload extends Controller {

The Upload Folder

-

You'll need a destination folder for your uploaded images. Create a folder at the root of your Code Igniter installation called +

You'll need a destination folder for your uploaded images. Create a folder at the root of your CodeIgniter installation called uploads and set its file permissions to 777.

@@ -211,7 +211,7 @@ controller is correct it should work.

Initializing the Upload Class

-

Like most other classes in Code Igniter, the Upload class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Upload class is initialized in your controller using the $this->load->library function:

$this->load->library('upload');

Once the Upload class is loaded, the object will be available using: $this->upload

@@ -429,7 +429,7 @@ Previous Topic:  Download HelperUser Guide Home   ·   Next Topic:  FTP Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/ftp.html b/user_guide/libraries/ftp.html index 8b50dee5e..5c092857e 100644 --- a/user_guide/libraries/ftp.html +++ b/user_guide/libraries/ftp.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -63,14 +63,14 @@ FTP Class

FTP Class

-

Code Igniter's FTP Class permits files to be transfered to a remote server. Remote files can also be moved, renamed, +

CodeIgniter's FTP Class permits files to be transfered to a remote server. Remote files can also be moved, renamed, and deleted. The FTP class also includes a "mirroring" function that permits an entire local directory to be recreated remotely via FTP.

Note:  SFTP and SSL FTP protocols are not supported, only standard FTP.

Initializing the Class

-

Like most other classes in Code Igniter, the FTP class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the FTP class is initialized in your controller using the $this->load->library function:

$this->load->library('ftp');

Once loaded, the FTP object will be available using: $this->ftp

@@ -301,7 +301,7 @@ Previous Topic:  File Uploading ClassUser Guide Home   ·   Next Topic:  HTML Table Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/image_lib.html b/user_guide/libraries/image_lib.html index 50063d3e0..5aeb0028e 100644 --- a/user_guide/libraries/image_lib.html +++ b/user_guide/libraries/image_lib.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -63,7 +63,7 @@ Image Manipulation Class

Image Manipulation Class

-

Code Igniter's Image Manipulation class lets you perform the following actions:

+

CodeIgniter's Image Manipulation class lets you perform the following actions:

  • Image Resizing
  • @@ -83,7 +83,7 @@ library you specify.

    Initializing the Class

    -

    Like most other classes in Code Igniter, the image class is initialized in your controller +

    Like most other classes in CodeIgniter, the image class is initialized in your controller using the $this->load_library function:

    $this->load->library('image_lib'); @@ -570,7 +570,7 @@ will be positioned at the bottom/center of the image, 20 pixels from the bottom
- + @@ -662,7 +662,7 @@ Previous Topic:  HTML Table ClassUser Guide Home   ·   Next Topic:  Input Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index f666bcf7c..0e056b27a 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
wm_font_path None NoneThe server path to the True Type Font you would like to use Code Igniter includes a font in the system/fonts folder. If you do not use this option, the native GD font will be used.The server path to the True Type Font you would like to use CodeIgniter includes a font in the system/fonts folder. If you do not use this option, the native GD font will be used.
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -78,7 +78,7 @@ Input and Security Class

The security filtering function is called automatically when a new controller is invoked. It does the following:

    -
  • Destroys the global GET array. Since Code Igniter does not utilize GET strings, there is no reason to allow it.
  • +
  • Destroys the global GET array. Since CodeIgniter does not utilize GET strings, there is no reason to allow it.
  • Destroys all global variables in the event register_globals is turned on.
  • Filters the POST/COOKIE array keys, permitting only alpha-numeric (and a few other) characters.
  • Provides XSS (Cross-site Scripting Hacks) filtering. This can be enabled globally, or upon request.
  • @@ -88,7 +88,7 @@ Input and Security Class

    XSS Filtering

    -

    Code Igniter comes with a Cross Site Scripting Hack prevention filter which can either run automatically to filter +

    CodeIgniter comes with a Cross Site Scripting Hack prevention filter which can either run automatically to filter all POST and COOKIE data that is encountered, or you can run it on a per item basis. By default it does not run globally since it requires a bit of processing overhead, and since you may not need it in all cases.

    @@ -119,7 +119,7 @@ Note: This function should only be used to deal with data upon submission. It's

    Using POST, COOKIE, or SERVER Data

    -

    Code Igniter comes with three helper functions that let you fetch POST, COOKIE or SERVER items. The main advantage of using the provided +

    CodeIgniter comes with three helper functions that let you fetch POST, COOKIE or SERVER items. The main advantage of using the provided functions rather then fetching an item directly ($_POST['something']) is that the functions will check to see if the item is set and return false (boolean) if not. This lets you conveniently use data without having to test whether an item exists first. In other words, normally you might do something like this: @@ -134,7 +134,7 @@ else
        $something = $_POST['something'];
    } -

    With Code Igniter's built in functions you can simply do this:

    +

    With CodeIgniter's built in functions you can simply do this:

    $something = $this->input->post('something'); @@ -212,7 +212,7 @@ Previous Topic:  Image Manipulation Class User Guide Home   ·   Next Topic:  Loader Class

    -

    Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

    +

    CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

    diff --git a/user_guide/libraries/language.html b/user_guide/libraries/language.html index 9bc90391c..75f0ba285 100644 --- a/user_guide/libraries/language.html +++ b/user_guide/libraries/language.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -65,11 +65,11 @@ Language Class

The Language Class provides functions to retrieve language files and lines of text for purposes of internationalization.

-

In your Code Igniter system folder you'll find one called language containing sets of language files. You can create +

In your CodeIgniter system folder you'll find one called language containing sets of language files. You can create your own language files as needed in order to display error and other messages in other languages.

Language files are typically stored in your system/language directory. Alternately you can create a folder called language inside -your application folder and store them there. Code Igniter will look first in your system/application/language +your application folder and store them there. CodeIgniter will look first in your system/application/language directory. If the directory does not exist or the specified language is not located there CI will instead look in your global system/language folder.

@@ -133,7 +133,7 @@ Previous Topic:  Loader ClassUser Guide Home   ·   Next Topic:  Output Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html index d80695a67..9e13d3947 100644 --- a/user_guide/libraries/loader.html +++ b/user_guide/libraries/loader.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -77,7 +77,7 @@ Loader Class

This function is used to load core classes. Where class_name is the name of the class you want to load. Note: We use the terms "class" and "library" interchangeably.

-

For example, if you would like to send email with Code Igniter, the first step is to load the email class within your controller:

+

For example, if you would like to send email with CodeIgniter, the first step is to load the email class within your controller:

$this->load->library('email'); @@ -165,7 +165,7 @@ Previous Topic:  Input ClassUser Guide Home   ·   Next Topic:  Language Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html index 6d2f9ae2e..e4e30032a 100644 --- a/user_guide/libraries/output.html +++ b/user_guide/libraries/output.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -70,7 +70,7 @@ also responsible for caching your web page

Under normal circumstances you won't even notice the Output class since it works transparently without your intervention. For example, when you use the Loader class to load a view file, it's automatically -passed to the Output class, which will be called automatically by Code Igniter at the end of system execution. +passed to the Output class, which will be called automatically by CodeIgniter at the end of system execution. It is possible, however, for you to manually intervene with the output if you need to, using either of the two following functions:

$this->output->set_output();

@@ -89,7 +89,7 @@ For example, if you build a page in one of your controller functions, don't set $string = $this->output->get_output();

Note that data will only be retrievable from this function if it has been previously sent to the output class by one of the -Code Igniter functions like $this->load->view().

+CodeIgniter functions like $this->load->view().

$this->output->set_header();

@@ -132,7 +132,7 @@ Previous Topic:  Language ClassUser Guide Home   ·   Next Topic:  Pagination Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html index 8f55628fe..5af6618ce 100644 --- a/user_guide/libraries/pagination.html +++ b/user_guide/libraries/pagination.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -63,7 +63,7 @@ Pagination Class

Pagination Class

-

Code Igniter's Pagination class is very easy to use, and it is 100% customizable, ether dynamically or via stored preferences.

+

CodeIgniter's Pagination class is very easy to use, and it is 100% customizable, ether dynamically or via stored preferences.

If you are not familiar with the term "pagination", it refers to links that allows you to navigate from page to page, like this:

@@ -211,7 +211,7 @@ Previous Topic:  Output ClassUser Guide Home   ·   Next Topic:  Session Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/parser.html b/user_guide/libraries/parser.html index 7238bcb41..0bc05886a 100644 --- a/user_guide/libraries/parser.html +++ b/user_guide/libraries/parser.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -87,7 +87,7 @@ variables or variable tag pairs. If you've never used a template engine, pseudo-

These variables are not actual PHP variables, but rather plain text representations that allow you to eliminate PHP from your templates (view files).

-

Note: Code Igniter does not require you to use this class +

Note: CodeIgniter does not 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 they work with designers who they feel would find some confusion working with PHP.

@@ -99,7 +99,7 @@ full-blown template parsing solution. We've kept it very lean on purpose in orde

Initializing the Class

-

Like most other classes in Code Igniter, the Parser class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Parser class is initialized in your controller using the $this->load->library function:

$this->load->library('parser');

Once loaded, the Parser library object will be available using: $this->parser

@@ -208,7 +208,7 @@ Previous Topic:  Trackback ClassUser Guide Home   ·   Next Topic:  Unit Testing Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html index d86f9053a..688f1aac1 100644 --- a/user_guide/libraries/sessions.html +++ b/user_guide/libraries/sessions.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -102,7 +102,7 @@ even add your own data to a user's session, but the process of reading, writing,

What is Session Data?

-

A session, as far as Code Igniter is concerned, is simply an array containing the following information:

+

A session, as far as CodeIgniter is concerned, is simply an array containing the following information:

  • The user's unique Session ID (this is a statistically random string with very strong entropy, hashed with MD5 for portability)
  • @@ -287,7 +287,7 @@ Previous Topic:  Pagination Class User Guide Home   ·   Next Topic:  Trackback Class

    -

    Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

    +

    CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

    diff --git a/user_guide/libraries/table.html b/user_guide/libraries/table.html index 22fb610a8..791cc21ce 100644 --- a/user_guide/libraries/table.html +++ b/user_guide/libraries/table.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -67,7 +67,7 @@ HTML Table Class

Initializing the Class

-

Like most other classes in Code Igniter, the Table class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Table class is initialized in your controller using the $this->load->library function:

$this->load->library('table');

Once loaded, the Table library object will be available using: $this->table

@@ -290,7 +290,7 @@ Previous Topic:  FTP Class   &mi User Guide Home   ·   Next Topic:  Image Manipulation Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/trackback.html b/user_guide/libraries/trackback.html index e60a38e56..99baa3e2a 100644 --- a/user_guide/libraries/trackback.html +++ b/user_guide/libraries/trackback.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -70,7 +70,7 @@ Trackback Class

Initializing the Class

-

Like most other classes in Code Igniter, the Trackback class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Trackback class is initialized in your controller using the $this->load->library function:

$this->load->library('trackback');

Once loaded, the Trackback library object will be available using: $this->trackback

@@ -244,7 +244,7 @@ Previous Topic:  Session ClassUser Guide Home   ·   Next Topic:  Template Parser Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/unit_testing.html b/user_guide/libraries/unit_testing.html index 4351c4c3a..02f8c0631 100644 --- a/user_guide/libraries/unit_testing.html +++ b/user_guide/libraries/unit_testing.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -66,7 +66,7 @@ Unit Testing Class

Unit testing is an approach to software development in which tests are written for each function in your application. If you are not familiar with the concept you might do a little googling on the subject.

-

Code Igniter's Unit Test class is quite simple, consisting of an evaluation function and two result functions. +

CodeIgniter's Unit Test class is quite simple, consisting of an evaluation function and two result functions. It's not intended to be a full-blown test suite but rather a simple mechanism to evaluate your code to determine if it is producing the correct data type and result.

@@ -74,7 +74,7 @@ to determine if it is producing the correct data type and result.

Initializing the Class

-

Like most other classes in Code Igniter, the Unit Test class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Unit Test class is initialized in your controller using the $this->load->library function:

$this->load->library('unit_test');

Once loaded, the Unit Test object will be available using: $this->unit

@@ -203,7 +203,7 @@ Previous Topic:  Template Parser ClassUser Guide Home   ·   Next Topic:  URI Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/uri.html b/user_guide/libraries/uri.html index 163d02db2..53357d4c5 100644 --- a/user_guide/libraries/uri.html +++ b/user_guide/libraries/uri.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -105,7 +105,7 @@ else

$this->uri->rsegment(n)

This function is identical to the previous one, except that it lets you retrieve a specific segment from your -re-routed URI in the event you are using Code Igniter's URI Routing feature. +re-routed URI in the event you are using CodeIgniter's URI Routing feature.

$this->uri->slash_segment(n)

@@ -129,7 +129,7 @@ $this->uri->slash_segment(3, 'both');

$this->uri->slash_rsegment(n)

This function is identical to the previous one, except that it lets you add slashes a specific segment from your -re-routed URI in the event you are using Code Igniter's URI Routing feature. +re-routed URI in the event you are using CodeIgniter's URI Routing feature. @@ -173,7 +173,7 @@ $array = $this->uri->uri_to_assoc(3, $default);

$this->uri->ruri_to_assoc(n)

This function is identical to the previous one, except that it creates an associative array using the -re-routed URI in the event you are using Code Igniter's URI Routing feature. +re-routed URI in the event you are using CodeIgniter's URI Routing feature. @@ -203,7 +203,7 @@ $str = $this->uri->assoc_to_uri($array);

$this->uri->ruri_string(n)

This function is identical to the previous one, except that it returns the -re-routed URI in the event you are using Code Igniter's URI Routing feature. +re-routed URI in the event you are using CodeIgniter's URI Routing feature. @@ -215,7 +215,7 @@ re-routed URI in the event you are using Code Igniter's URI Routing feature. +re-routed URI in the event you are using CodeIgniter's URI Routing feature. @@ -235,7 +235,7 @@ foreach ($segs as $segment)

$this->uri->rsegment_array(n)

This function is identical to the previous one, except that it returns the array of segments in your -re-routed URI in the event you are using Code Igniter's URI Routing feature. +re-routed URI in the event you are using CodeIgniter's URI Routing feature. @@ -251,7 +251,7 @@ Previous Topic:  Unit Testing Class User Guide Home   ·   Next Topic:  User Agent Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/user_agent.html b/user_guide/libraries/user_agent.html index 725a0186d..75ec06b3d 100644 --- a/user_guide/libraries/user_agent.html +++ b/user_guide/libraries/user_agent.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -68,7 +68,7 @@ In addition you can get referrer information as well as language and supported c

Initializing the Class

-

Like most other classes in Code Igniter, the User Agent class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the User Agent class is initialized in your controller using the $this->load->library function:

$this->load->library('user_agent');

Once loaded, the object will be available using: $this->agent

@@ -202,7 +202,7 @@ Previous Topic:  URI ClassUser Guide Home   ·   Next Topic:  Validation Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html index ce06cf883..502200862 100644 --- a/user_guide/libraries/validation.html +++ b/user_guide/libraries/validation.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -62,7 +62,7 @@ Form Validation

Form Validation

-

Before explaining Code Igniter's approach to data validation, let's describe the ideal scenario:

+

Before explaining CodeIgniter's approach to data validation, let's describe the ideal scenario:

  1. A form is displayed.
  2. @@ -88,12 +88,12 @@ and not exceed a maximum length. The username can't be someone else's existing u amount of code, and to display error messages, various control structures are usually placed within the form HTML. Form validation, while simple to create, is generally very messy and tedious to implement.

    -Code Igniter provides a comprehensive validation framework that truly minimizes the amount of code you'll write. +CodeIgniter provides a comprehensive validation framework that truly minimizes the amount of code you'll write. It also removes all control structures from your form HTML, permitting it to be clean and free of code.

    Overview

    -

    In order to implement Code Igniter's form validation you'll need three things:

    +

    In order to implement CodeIgniter's form validation you'll need three things:

    1. A View file containing the form.
    2. @@ -229,7 +229,7 @@ function only returns "true" if it has successfully applied your rules without a

      Setting Validation Rules

      -

      Code Igniter lets you set as many validation rules as you need for a given field, cascading them in order, and it even lets you prep and pre-process the field data +

      CodeIgniter lets you set as many validation rules as you need for a given field, cascading them in order, and it even lets you prep and pre-process the field data at the same time. Let's see it in action, we'll explain it afterwards.

      In your controller (form.php), add this code just below the validation initialization function:

      @@ -290,7 +290,7 @@ this code, placed in your controller:

      Cascading Rules

      -

      Code Igniter lets you pipe multiple rules together. Let's try it. Change your rules array like this:

      +

      CodeIgniter lets you pipe multiple rules together. Let's try it. Change your rules array like this:

      $rules['username'] = "required|min_length[5]|max_length[12]";
      @@ -715,7 +715,7 @@ Previous Topic:  User Agent Class User Guide Home   ·   Next Topic:  XML-RPC Class

      -

      Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

      +

      CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

      diff --git a/user_guide/libraries/xmlrpc.html b/user_guide/libraries/xmlrpc.html index e786d39e1..541e89657 100644 --- a/user_guide/libraries/xmlrpc.html +++ b/user_guide/libraries/xmlrpc.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -64,7 +64,7 @@ XML-RPC and XML-RPC Server Classes

XML-RPC and XML-RPC Server Classes

-

Code Igniter's XML-RPC classes permit you to send requests to another server, or set up +

CodeIgniter's XML-RPC classes permit you to send requests to another server, or set up your own XML-RPC server to receive requests.

@@ -86,7 +86,7 @@ Once processed, the server will then send back a response message.

Initializing the Class

-

Like most other classes in Code Igniter, the XML-RPC and XML-RPCS classes are initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the XML-RPC and XML-RPCS classes are initialized in your controller using the $this->load->library function:

To load the XML-RPC class you will use: $this->load->library('xmlrpc'); @@ -487,7 +487,7 @@ Previous Topic:  Validation Class User Guide Home   ·   Next Topic:  Zip Encoding Class

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

diff --git a/user_guide/libraries/zip.html b/user_guide/libraries/zip.html index dc39e9b18..af4baa0bf 100644 --- a/user_guide/libraries/zip.html +++ b/user_guide/libraries/zip.html @@ -2,7 +2,7 @@ -Code Igniter User Guide +CodeIgniter User Guide @@ -22,7 +22,7 @@ window.onload = function() { - + @@ -33,7 +33,7 @@ window.onload = function() {
- +

Code Igniter User Guide Version 1.5.2

CodeIgniter User Guide Version 1.5.3

@@ -45,7 +45,7 @@ window.onload = function() { @@ -62,12 +62,12 @@ Zip Encoding Class

Zip Encoding Class

-

Code Igniter's Zip Encoding Class classes permit you to create Zip archives. Archives can be downloaded to your +

CodeIgniter's Zip Encoding Class classes permit you to create Zip archives. Archives can be downloaded to your desktop or saved to a directory.

Initializing the Class

-

Like most other classes in Code Igniter, the Zip class is initialized in your controller using the $this->load->library function:

+

Like most other classes in CodeIgniter, the Zip class is initialized in your controller using the $this->load->library function:

$this->load->library('zip');

Once loaded, the Zip library object will be available using: $this->zip

@@ -276,7 +276,7 @@ Previous Topic:   XML-RPC ClassUser Guide Home   ·   Next Topic:  Array Helper

-

Code Igniter  ·  Copyright © 2006  ·  Ellislab, Inc.

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b