From cf49390d3d699d878eb6e151745e80285465ddb9 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 10 Oct 2006 07:12:31 +0000 Subject: --- user_guide/general/changelog.html | 4 ++-- user_guide/general/creating_libraries.html | 3 +++ user_guide/libraries/calendar.html | 2 -- user_guide/libraries/encryption.html | 2 -- user_guide/libraries/loader.html | 4 ++++ user_guide/libraries/parser.html | 1 - user_guide/libraries/sessions.html | 1 - user_guide/libraries/table.html | 2 -- user_guide/libraries/trackback.html | 1 - user_guide/libraries/unit_testing.html | 1 - user_guide/libraries/user_agent.html | 1 - user_guide/libraries/zip.html | 1 - 12 files changed, 9 insertions(+), 14 deletions(-) (limited to 'user_guide') diff --git a/user_guide/general/changelog.html b/user_guide/general/changelog.html index 2a871acf5..732e1c77e 100644 --- a/user_guide/general/changelog.html +++ b/user_guide/general/changelog.html @@ -82,9 +82,9 @@ Change Log
  • Added $query->free_result() to database class.
  • Added $query->field_names() function to database class
  • Added $this->db->platform() function
  • -
  • Added two more protocols to the URI handler to make it more reliable when the $config['uri_protocol'] item is set to AUTO.
  • Added "is_numeric" to validation, which uses the native PHP is_numeric function.
  • -
  • Moved most of the functions in the Controller class into the Loader class, allowing fewer reserved function names for controllers.
  • +
  • Improved the URI handler to make it more reliable when the $config['uri_protocol'] item is set to AUTO.
  • +
  • Moved most of the functions in the Controller class into the Loader class, allowing fewer reserved function names for controllers when running under PHP 5.
  • Updated the DB Result class to return an empty array when $query->result() doesn't produce a result.
  • Updated the input->cookie() and input->post() functions in Input Class to permit arrays contained cookies that are arrays to be run through the XSS filter.
  • Fixed a bug in the Email class related to SMTP Helo data.
  • diff --git a/user_guide/general/creating_libraries.html b/user_guide/general/creating_libraries.html index 73bc4d60f..fb3f41789 100644 --- a/user_guide/general/creating_libraries.html +++ b/user_guide/general/creating_libraries.html @@ -250,8 +250,11 @@ class MY_Email extends CI_Email {
    $this->load->library('my_email'); +

    Once loaded you will use the class variable as you normally would for the class you are extending. In the case of +the email class all calls will use: +$this->email->some_function(); diff --git a/user_guide/libraries/calendar.html b/user_guide/libraries/calendar.html index 9d2a01e1b..cd3e66441 100644 --- a/user_guide/libraries/calendar.html +++ b/user_guide/libraries/calendar.html @@ -75,8 +75,6 @@ template, allowing 100% control over every aspect of its design. In addition, yo $this->load->library('calendar');

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    -

    Displaying a Calendar

    diff --git a/user_guide/libraries/encryption.html b/user_guide/libraries/encryption.html index 92d128cd8..9be32cf4f 100644 --- a/user_guide/libraries/encryption.html +++ b/user_guide/libraries/encryption.html @@ -110,8 +110,6 @@ for example, can only hold 4K of information.

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

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    -

    $this->encrypt->encode()

    diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html index b93d5fa79..347421d68 100644 --- a/user_guide/libraries/loader.html +++ b/user_guide/libraries/loader.html @@ -85,6 +85,10 @@ Note: We use the terms "class" and "library" interchangeably.

    Each library is described in detail in its own page, so please read theinformation regarding each one you would like to use.

    +

    Parameters can be passed to the library via an array in the second parameter. + + +

    If you would like your libraries assigned to a different variable name then the default you can specify the name in the second paramter:

    diff --git a/user_guide/libraries/parser.html b/user_guide/libraries/parser.html index 2f93baf0b..ace408e09 100644 --- a/user_guide/libraries/parser.html +++ b/user_guide/libraries/parser.html @@ -103,7 +103,6 @@ full-blown template parsing solution. We've kept it very lean on purpose in orde $this->load->library('parser');

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    The following functions are available in this library:

    diff --git a/user_guide/libraries/sessions.html b/user_guide/libraries/sessions.html index 7a894faed..5a1216f6e 100644 --- a/user_guide/libraries/sessions.html +++ b/user_guide/libraries/sessions.html @@ -87,7 +87,6 @@ will cause it to read, create, and update sessions.

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

    Once loaded, the Sessions library object will be available using: $this->session

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    How do Sessions work?

    diff --git a/user_guide/libraries/table.html b/user_guide/libraries/table.html index c2e323993..61b5ce82f 100644 --- a/user_guide/libraries/table.html +++ b/user_guide/libraries/table.html @@ -72,8 +72,6 @@ HTML Table Class $this->load->library('table');

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    -

    Examples

    diff --git a/user_guide/libraries/trackback.html b/user_guide/libraries/trackback.html index 87f6f3a0b..0621d4e75 100644 --- a/user_guide/libraries/trackback.html +++ b/user_guide/libraries/trackback.html @@ -74,7 +74,6 @@ Trackback Class $this->load->library('trackback');

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    Sending Trackbacks

    diff --git a/user_guide/libraries/unit_testing.html b/user_guide/libraries/unit_testing.html index 9951c824d..45b92abb8 100644 --- a/user_guide/libraries/unit_testing.html +++ b/user_guide/libraries/unit_testing.html @@ -78,7 +78,6 @@ to determine if it is producing the correct data type and result. $this->load->library('unit_test');

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    Running Tests

    diff --git a/user_guide/libraries/user_agent.html b/user_guide/libraries/user_agent.html index 50f4b77f4..8f3eb07de 100644 --- a/user_guide/libraries/user_agent.html +++ b/user_guide/libraries/user_agent.html @@ -72,7 +72,6 @@ In addition you can get referrer information as well as language and supported c $this->load->library('user_agent');

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    User Agent Definitions

    diff --git a/user_guide/libraries/zip.html b/user_guide/libraries/zip.html index 32ef3bedd..d072a5705 100644 --- a/user_guide/libraries/zip.html +++ b/user_guide/libraries/zip.html @@ -71,7 +71,6 @@ desktop or saved to a directory.

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

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

    -

    You can also set your own class variable name. Please see the Loader Class for more info.

    Usage Example

    -- cgit v1.2.3-24-g4f1b