From d8f002c6c92ed8395331b69ea77c4e5a83bfd83c Mon Sep 17 00:00:00 2001 From: Iban Eguia Date: Fri, 26 Aug 2011 14:34:38 +0200 Subject: Removed some documentation for PHP 4 users in the active record documentation. --- user_guide/database/active_record.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'user_guide') diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html index 92d9614d5..0f09e78c3 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -79,9 +79,6 @@ is generated by each database adapter. It also allows for safer queries, since

The following functions allow you to build SQL SELECT statements.

-

Note: If you are using PHP 5 you can use method chaining for more compact syntax. This is described at the end of the page.

- -

$this->db->get();

Runs the selection query and returns the result. Can be used by itself to retrieve all records from a table:

@@ -532,7 +529,7 @@ $this->db->insert('mytable', $object);

Generates an insert string based on the data you supply, and runs the query. You can either pass an array or an object to the function. Here is an example using an array:

- + $data = array(
   array(
      'title' => 'My title' ,
@@ -544,7 +541,7 @@ $data = array(
      'name' => 'Another Name' ,
      'date' => 'Another date'
   )
-);
+);

$this->db->update_batch('mytable', $data);

-- cgit v1.2.3-24-g4f1b From 95b7994a298a7c57118c59e03a1aa43bd804bce4 Mon Sep 17 00:00:00 2001 From: Bruno Bierbaumer Date: Sat, 27 Aug 2011 16:52:24 +0200 Subject: add Android user agent --- user_guide/changelog.html | 1 + 1 file changed, 1 insertion(+) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 33e0a62c1..978b710be 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -65,6 +65,7 @@ Change Log
  • General Changes
      +
    • Added Android to the list of user agents.
    • Callback validation rules can now accept parameters like any other validation rule.
    • Ability to log certain error types, not all under a threshold.
    • Added html_escape() to Common functions to escape HTML output for preventing XSS.
    • -- cgit v1.2.3-24-g4f1b From d2018ee8ae967cafbd8315ba9ea45f58150bcffe Mon Sep 17 00:00:00 2001 From: Niklas Nilsson Date: Tue, 30 Aug 2011 13:39:42 +0200 Subject: Fixed issue #105 SQL log errors Enabled logging database query errors even if $db_debug is not enabled. --- user_guide/changelog.html | 1 + 1 file changed, 1 insertion(+) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 978b710be..b3a58617e 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -112,6 +112,7 @@ Change Log
    • Fixed a bug (Reactor #19) where 1) the 404_override route was being ignored in some cases, and 2) auto-loaded libraries were not available to the 404_override controller when a controller existed but the requested method did not.
    • Fixed a bug (Reactor #89) where MySQL export would fail if the table had hyphens or other non alphanumeric/underscore characters.
    • Fixed a bug (#200) where MySQL queries would be malformed after calling count_all() then db->get()
    • +
    • Fixed bug #105 that stopped query errors from being logged unless database debugging was enabled
    • Fixed a bug (#181) where a mis-spelling was in the form validation language file.
    • Fixed a bug (#160) - Removed unneeded array copy in the file cache driver.
    • Fixed a bug (#150) - field_data() now correctly returns column length.
    • -- cgit v1.2.3-24-g4f1b From 053d67f17c2b1b26026506a5de0b10017630018e Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 31 Aug 2011 01:27:05 -0500 Subject: Adding bare-bones 2.1.0 upgrade notes documentation file. --- user_guide/installation/upgrade_210.html | 87 ++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 user_guide/installation/upgrade_210.html (limited to 'user_guide') diff --git a/user_guide/installation/upgrade_210.html b/user_guide/installation/upgrade_210.html new file mode 100644 index 000000000..9f8204a7c --- /dev/null +++ b/user_guide/installation/upgrade_210.html @@ -0,0 +1,87 @@ + + + + + +Upgrading from 2.0.3 to 2.1.0 : CodeIgniter User Guide + + + + + + + + + + + + + + + + + + + + + +
      + + + + + +

      CodeIgniter User Guide Version 2.1.0

      +
      + + + + + + + + + +
      + + +
      + + + +
      + +

      Upgrading from 2.0.3 to 2.1.0

      + +

      Before performing an update you should take your site offline by replacing the index.php file with a static one.

      + +

      Step 1: Update your CodeIgniter files

      + +

      Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

      + +

      Note: If you have any custom developed files in these folders please make copies of them first.

      + + + + +
      + + + + + + + \ No newline at end of file -- cgit v1.2.3-24-g4f1b From d369077ac6cae25fa51c9840a466e54333300d0a Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 31 Aug 2011 01:39:43 -0500 Subject: Removing class="reactor" from changelog items for 2.1.0 release. There is only one CI now, so this is no longer needed. --- user_guide/changelog.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index b3a58617e..e2ef2f455 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -65,42 +65,42 @@ Change Log
      • General Changes
          -
        • Added Android to the list of user agents.
        • -
        • Callback validation rules can now accept parameters like any other validation rule.
        • -
        • Ability to log certain error types, not all under a threshold.
        • -
        • Added html_escape() to Common functions to escape HTML output for preventing XSS.
        • +
        • Added Android to the list of user agents.
        • +
        • Callback validation rules can now accept parameters like any other validation rule.
        • +
        • Ability to log certain error types, not all under a threshold.
        • +
        • Added html_escape() to Common functions to escape HTML output for preventing XSS.
      • Helpers
          -
        • Added increment_string() to String Helper to turn "foo" into "foo-1" or "foo-1" into "foo-2".
        • +
        • Added increment_string() to String Helper to turn "foo" into "foo-1" or "foo-1" into "foo-2".
        • Altered form helper - made action on form_open_multipart helper function call optional. Fixes (#65)
        • url_title() will now trim extra dashes from beginning and end.
      • Database
          -
        • Added a CUBRID driver to the Database Driver. Thanks to the CUBRID team for supplying this patch.
        • -
        • Typecast limit and offset in the Database Driver to integers to avoid possible injection.
        • -
        • +
        • Added a CUBRID driver to the Database Driver. Thanks to the CUBRID team for supplying this patch.
        • +
        • Typecast limit and offset in the Database Driver to integers to avoid possible injection.
        • +
        • Added additional option 'none' for the optional third argument for $this->db->like() in the Database Driver.
      • Libraries
          -
        • Changed $this->cart->insert() in the Cart Library to return the Row ID if a single item was inserted successfully.
        • -
        • Added support to set an optional parameter in your callback rules of validation using the Form Validation Library.
        • -
        • Added a Migration Library to assist with applying incremental updates to your database schema.
        • -
        • Driver children can be located in any package path.
        • -
        • Added max_filename_increment config setting for Upload library.
        • +
        • Changed $this->cart->insert() in the Cart Library to return the Row ID if a single item was inserted successfully.
        • +
        • Added support to set an optional parameter in your callback rules of validation using the Form Validation Library.
        • +
        • Added a Migration Library to assist with applying incremental updates to your database schema.
        • +
        • Driver children can be located in any package path.
        • +
        • Added max_filename_increment config setting for Upload library.
        • CI_Loader::_ci_autoloader() is now a protected method.
        • -
        • Added is_unique to the Form Validation library.
        • +
        • Added is_unique to the Form Validation library.
      • Core
          -
        • Changed private functions in CI_URI to protected so MY_URI can override them.
        • +
        • Changed private functions in CI_URI to protected so MY_URI can override them.
      -- cgit v1.2.3-24-g4f1b From 2c63be25edf0f55de4f0625709cd00752ea70f5a Mon Sep 17 00:00:00 2001 From: mmestrovic Date: Wed, 31 Aug 2011 17:52:38 +0300 Subject: General changes: Added Windows 7 to the list of user platforms. --- user_guide/changelog.html | 1 + 1 file changed, 1 insertion(+) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index e2ef2f455..fb6e4493a 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -66,6 +66,7 @@ Change Log
    • General Changes
      • Added Android to the list of user agents.
      • +
      • Added Windows 7 to the list of user platforms.
      • Callback validation rules can now accept parameters like any other validation rule.
      • Ability to log certain error types, not all under a threshold.
      • Added html_escape() to Common functions to escape HTML output for preventing XSS.
      • -- cgit v1.2.3-24-g4f1b From 89878f3c007be72b59ceb53b201f32454231d1e6 Mon Sep 17 00:00:00 2001 From: mmestrovic Date: Wed, 31 Aug 2011 18:15:15 +0300 Subject: Added step 2: Replace config/user_agents.php --- user_guide/installation/upgrade_210.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user_guide') diff --git a/user_guide/installation/upgrade_210.html b/user_guide/installation/upgrade_210.html index 9f8204a7c..6e8ddec9d 100644 --- a/user_guide/installation/upgrade_210.html +++ b/user_guide/installation/upgrade_210.html @@ -63,6 +63,10 @@ Upgrading from 2.0.3 to 2.1.0

        Replace all files and directories in your "system" folder and replace your index.php file. If any modifications were made to your index.php they will need to be made fresh in this new one.

        +

        Step 2: Replace config/user_agents.php

        + +

        This config file has been updated to contain more user agent types, please copy it to application/config/user_agents.php.

        +

        Note: If you have any custom developed files in these folders please make copies of them first.

        -- cgit v1.2.3-24-g4f1b From 9d9ab3ad2cba4d369cd5a10b5fe675b31cc66480 Mon Sep 17 00:00:00 2001 From: Stolz Date: Wed, 31 Aug 2011 19:22:36 +0200 Subject: Added missing profiler section (session_data) --- user_guide/general/profiling.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'user_guide') diff --git a/user_guide/general/profiling.html b/user_guide/general/profiling.html index 9895b0284..0993da5b4 100644 --- a/user_guide/general/profiling.html +++ b/user_guide/general/profiling.html @@ -154,6 +154,11 @@ This information can be useful during development in order to help with debuggin The URI of the current request TRUE + + session_data + Data stored in current session + TRUE + query_toggle_count The number of queries after which the query block will default to hidden. -- cgit v1.2.3-24-g4f1b From c93ec88bedc8103095bcdd8f0e2ea2308ee0aa3f Mon Sep 17 00:00:00 2001 From: mmestrovic Date: Thu, 1 Sep 2011 03:24:08 +0300 Subject: Added reference for CUBRID database as supported in CI. --- user_guide/general/requirements.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/general/requirements.html b/user_guide/general/requirements.html index 405798f04..de0ee76dd 100644 --- a/user_guide/general/requirements.html +++ b/user_guide/general/requirements.html @@ -59,7 +59,7 @@ Server Requirements
        • PHP version 5.1.6 or newer.
        • -
        • A Database is required for most web application programming. Current supported databases are MySQL (4.1+), MySQLi, MS SQL, Postgres, Oracle, SQLite, and ODBC.
        • +
        • A Database is required for most web application programming. Current supported databases are MySQL (4.1+), MySQLi, MS SQL, Postgres, Oracle, SQLite, ODBC and CUBRID.
        -- cgit v1.2.3-24-g4f1b From bf54e300e19c8e207ac2cb92e33b1c7f7debb66b Mon Sep 17 00:00:00 2001 From: mmestrovic Date: Thu, 1 Sep 2011 03:30:43 +0300 Subject: Updated download links for current and older versions. --- user_guide/installation/downloads.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/installation/downloads.html b/user_guide/installation/downloads.html index f36b2bc0f..539fbc170 100644 --- a/user_guide/installation/downloads.html +++ b/user_guide/installation/downloads.html @@ -58,7 +58,9 @@ Downloading CodeIgniter

        Downloading CodeIgniter