From 6c1d3fa35198c54c69e37aa74fa80723209c1d1e Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Wed, 15 Dec 2010 10:51:37 -0500 Subject: Small tweak to the _remap documentation (see #208). --- user_guide/general/controllers.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'user_guide') diff --git a/user_guide/general/controllers.html b/user_guide/general/controllers.html index 1d9cd0328..3a85ca38a 100644 --- a/user_guide/general/controllers.html +++ b/user_guide/general/controllers.html @@ -243,9 +243,17 @@ allowing you to define your own function routing rules.

    }
} -

An array of leftover segments are passed into _remap() as an optional second parameter.

- +

Any extra segments after the method name are passed into _remap() as an optional second parameter. This array can be used in combination with PHP's call_user_func_array to emulate CodeIgniter's default behavior.

+function _remap($method, $params = array())
+{
+    $method = 'process_'.$method;
+    if (method_exists($this, $method)
+    {
+        return call_user_func_array(array($this, $method), $params);
+    }
+    show_404();
+}
-- cgit v1.2.3-24-g4f1b From 790ebf3a77677dd6d7473bb14f8e9c5594ddcb46 Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Wed, 15 Dec 2010 10:53:35 -0500 Subject: Changing the router to support any number of segments in the default route. Closes #261. --- 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 c3693e5f9..80d830d9d 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -160,6 +160,7 @@ Hg Tag:

  • Documented append_output() in the Output Class.
  • Documented a second argument in the decode() function for the Encryption Class.
  • Documented db->close().
  • +
  • Updated the router to support a default route with any number of segments.
  • Moved _remove_invisible_characters() function from the Security Library to common functions.
  • -- cgit v1.2.3-24-g4f1b From 383fd3bf1cf2ed5dc28d1759a025ba74c9b60529 Mon Sep 17 00:00:00 2001 From: Robin Sowell Date: Mon, 20 Dec 2010 12:13:05 -0500 Subject: Minor tweak to dbprefix. --- user_guide/changelog.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 80d830d9d..fdf36d30a 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -113,7 +113,7 @@ Hg Tag:

  • Database
      -
    • Added swap_pre value to database configuration.
    • + database configuration.
    • Added autoinit value to database configuration.
    • Added stricton value to database configuration.
    • Added database_exists() to the Database Utilities Class.
    • -- cgit v1.2.3-24-g4f1b From 9e4159e8e7111050b8e8d6477188b5c9e814e909 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 21 Dec 2010 09:43:35 -0600 Subject: Fix #288 html error in changelog.html --- user_guide/changelog.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index fdf36d30a..48f2ccf1d 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -113,7 +113,7 @@ Hg Tag:

    • Database
        - database configuration. +
      • database configuration.
      • Added autoinit value to database configuration.
      • Added stricton value to database configuration.
      • Added database_exists() to the Database Utilities Class.
      • -- cgit v1.2.3-24-g4f1b From 1180efd6c035b77d678c2abf7215a4ef9894deb3 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 21 Dec 2010 10:11:19 -0600 Subject: Fix: #211 DATE_RFC822 format in documentation was incorrect. Should include a 2 digit year, not four. see: http://www.w3.org/Protocols/rfc822/#z28 --- user_guide/helpers/date_helper.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/helpers/date_helper.html b/user_guide/helpers/date_helper.html index f8775b146..e38d81a82 100644 --- a/user_guide/helpers/date_helper.html +++ b/user_guide/helpers/date_helper.html @@ -134,7 +134,7 @@ echo standard_date($format, $time); DATE_RFC822 RFC 822 - Sun, 14 Aug 2005 16:13:03 UTC + Sun, 14 Aug 05 16:13:03 UTC DATE_RFC850 -- cgit v1.2.3-24-g4f1b From 11eb2dcb181c4518d19646867e499c85d449208e Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 21 Dec 2010 11:00:28 -0600 Subject: Fix: #236 Adding audio/mpeg3 as a valid mime type for mp3 --- 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 48f2ccf1d..68abaff27 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -162,6 +162,7 @@ Hg Tag:

      • Documented db->close().
      • Updated the router to support a default route with any number of segments.
      • Moved _remove_invisible_characters() function from the Security Library to common functions.
      • +
      • Added audio/mpeg3 as a valid mime type for MP3.
    -- cgit v1.2.3-24-g4f1b From 2eaa4074ea007cec58a802f591b4641b043213d1 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 21 Dec 2010 11:44:08 -0600 Subject: Moving system/{logs,cache} to the application directory. --- 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 68abaff27..251f6fbd9 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -69,6 +69,7 @@ Hg Tag:

  • Plugins have been removed, in favor of Helpers. The CAPTCHA plugin has been converted to a Helper and documented. The JavaScript calendar plugin was removed due to the ready availability of great JavaScript calendars, particularly with jQuery.
  • Added new special Library type: Drivers.
  • Moved the application folder outside of the system folder.
  • +
  • Moved system/cache and system/logs directories to the application directory.
  • Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per "index" file basis.
  • Added the ability to set config values (or override config values) directly from data set in the main index.php file. This allows a single application to be used with multiple front controllers, each having its own config values.
  • Added $config['directory_trigger'] to the config file so that a controller sub-directory can be specified when running _GET strings instead of URI segments.
  • -- cgit v1.2.3-24-g4f1b From 678256c2007b06452b581fb692d948b7c9c94a7b Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 21 Dec 2010 12:05:12 -0600 Subject: Fix #93 Updating postgres dbforge create table method. Thanks to James Gifford for the patch. http://codeigniter.com/forums/viewthread/73392/ --- 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 251f6fbd9..786b90269 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -124,6 +124,7 @@ Hg Tag:

  • Modified the database errors to show the filename and line number of the problematic query.
  • Removed the following deprecated functions: orwhere, orlike, groupby, orhaving, orderby, getwhere.
  • Removed deprecated _drop_database() and _create_database() functions from the db utility drivers.
  • +
  • Improved dbforge create_table() function for the Postgres driver.
  • Helpers -- cgit v1.2.3-24-g4f1b From ccbfbf60b6b1433dbc7d533443cdb433f837da8b Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 21 Dec 2010 13:49:33 -0600 Subject: Fix #85 error in db queries in the output profiler. --- 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 786b90269..0b060da22 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -198,6 +198,7 @@ Hg Tag:

  • Added a log message in core/output if the cache directory config value was not found.
  • Fixed a bug where multiple libraries could not be loaded by passing an array to load->library()
  • Fixed a bug in the html helper where too much white space was rendered between the src and alt tags in the img() function.
  • +
  • Fixed a bug in the profilers _compile_queries() function.
  • Version 1.7.2

    -- cgit v1.2.3-24-g4f1b From 3d2cde860753e86a05682279346115c42150b1ec Mon Sep 17 00:00:00 2001 From: Eric Barnes Date: Mon, 27 Dec 2010 13:51:10 -0500 Subject: Fixed version in file uploading docs. Fixes: #255 --- user_guide/libraries/file_uploading.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html index 00bc0c076..54725d035 100644 --- a/user_guide/libraries/file_uploading.html +++ b/user_guide/libraries/file_uploading.html @@ -28,7 +28,7 @@
    - +

    CodeIgniter User Guide Version 1.7.2

    CodeIgniter User Guide Version 2.0.0

    -- cgit v1.2.3-24-g4f1b From 2000f102d288b7043bf8f4779ce92378fe0d17d4 Mon Sep 17 00:00:00 2001 From: Eric Barnes Date: Tue, 28 Dec 2010 10:33:48 -0500 Subject: js and css was loaded via absolute url instead of pointing relative. Fixes #289 --- user_guide/libraries/table.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'user_guide') diff --git a/user_guide/libraries/table.html b/user_guide/libraries/table.html index 574110807..094d7aac6 100644 --- a/user_guide/libraries/table.html +++ b/user_guide/libraries/table.html @@ -4,12 +4,12 @@ CodeIgniter User Guide : HTML Table Class - + - - - - + + + + -- cgit v1.2.3-24-g4f1b From 0711dc87d98ce20d3a87f7ac43d78af8fba1dca7 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Wed, 5 Jan 2011 10:49:40 -0600 Subject: Hey look, it's 2011 --- user_guide/license.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/license.html b/user_guide/license.html index c76035d16..96ca53a70 100644 --- a/user_guide/license.html +++ b/user_guide/license.html @@ -60,7 +60,7 @@ License Agreement

    CodeIgniter License Agreement

    -

    Copyright (c) 2008 - 2010, EllisLab, Inc.
    +

    Copyright (c) 2008 - 2011, EllisLab, Inc.
    All rights reserved.

    This license is a legal agreement between you and EllisLab Inc. for the use of CodeIgniter Software (the "Software"). By obtaining the Software you agree to comply with the terms and conditions of this license.

    -- cgit v1.2.3-24-g4f1b From 3b889a970adbfc3ca015803f80a2a45066abcbd9 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Mon, 10 Jan 2011 12:35:57 -0600 Subject: Fixed a bug (#14628) where the DATE_ISO8601 variable was returning an incorrectly formatted date string. --- user_guide/changelog.html | 1 + user_guide/helpers/date_helper.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/changelog.html b/user_guide/changelog.html index 0b060da22..013468f6f 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -199,6 +199,7 @@ Hg Tag:

  • Fixed a bug where multiple libraries could not be loaded by passing an array to load->library()
  • Fixed a bug in the html helper where too much white space was rendered between the src and alt tags in the img() function.
  • Fixed a bug in the profilers _compile_queries() function.
  • +
  • Fixed a bug in the date helper where the DATE_ISO8601 variable was returning an incorrectly formatted date string.
  • Version 1.7.2

    diff --git a/user_guide/helpers/date_helper.html b/user_guide/helpers/date_helper.html index e38d81a82..59641a9e8 100644 --- a/user_guide/helpers/date_helper.html +++ b/user_guide/helpers/date_helper.html @@ -129,7 +129,7 @@ echo standard_date($format, $time); DATE_ISO8601 ISO-8601 - 2005-08-14T16:13:03+0000 + 2005-08-14T16:13:03+00:00 DATE_RFC822 -- cgit v1.2.3-24-g4f1b From aaec1e491f99e9d733b06b721d8d4d1ae778135a Mon Sep 17 00:00:00 2001 From: Pascal Kriete Date: Thu, 20 Jan 2011 00:01:21 -0500 Subject: Renaming the unicode class to utf8 so we don't run the risk of violating the Unicode Consortium's trademark. --- user_guide/general/core_classes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') diff --git a/user_guide/general/core_classes.html b/user_guide/general/core_classes.html index 35043d9ca..e36a5e2b9 100644 --- a/user_guide/general/core_classes.html +++ b/user_guide/general/core_classes.html @@ -84,8 +84,8 @@ know what you are doing before attempting it.

  • Log
  • Output
  • Router
  • -
  • Unicode
  • URI
  • +
  • Utf8
  • Replacing Core Classes

    -- cgit v1.2.3-24-g4f1b