--
cgit v1.2.3-24-g4f1b
From f57a46b48287d7e5e5807100156e73730cf74e0c Mon Sep 17 00:00:00 2001
From: Kyle Farris Version 2.0.3
--
cgit v1.2.3-24-g4f1b
From 0e857631f5c6f38c5715450ea3f6ff514ac65b2c Mon Sep 17 00:00:00 2001
From: kenjis
--
cgit v1.2.3-24-g4f1b
From 40d1a7684444f6a8eb4cda23d8822f0b258f0c3e Mon Sep 17 00:00:00 2001
From: Phil Sturgeon
foreach ($query->result('User') as $user)
{
- echo $row->name; // call attributes
- echo $row->reverse_name(); // or methods defined on the 'User' class
+ echo $user->name; // call attributes
+ echo $user->reverse_name(); // or methods defined on the 'User' class
}
--
cgit v1.2.3-24-g4f1b
From 08488e8ec1ae0a0519b914459becdade7b004a09 Mon Sep 17 00:00:00 2001
From: purandi
foreach ($query->result('User') as $user)
{
- echo $row->name; // call attributes
- echo $row->reverse_name(); // or methods defined on the 'User' class
+ echo $user->name; // call attributes
+ echo $user->reverse_name(); // or methods defined on the 'User' class
}
--
cgit v1.2.3-24-g4f1b
--
cgit v1.2.3-24-g4f1b
From 7fe625aa1b294d135c860a79830da12658238c7e Mon Sep 17 00:00:00 2001
From: Pedro Junior
The above example would create a form that points to your base URL plus the "email/send" URI segments, like this:
-<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send" />
+<form method="post" accept-charset="utf-8" action="http://example.com/index.php/email/send" />
The above example would create a form similar to this:
-<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send" class="email" id="myform" />
+<form method="post" accept-charset="utf-8" action="http://example.com/index.php/email/send" class="email" id="myform" />
The above example would create a form similar to this:
-<form method="post" accept-charset="utf-8" action="http:/example.com/index.php/email/send">
+<form method="post" accept-charset="utf-8" action="http://example.com/index.php/email/send">
<input type="hidden" name="username" value="Joe" />
<input type="hidden" name="member_id" value="234" />
--
cgit v1.2.3-24-g4f1b
From c394dbd01d3dfc75357379077d673926118b2ef8 Mon Sep 17 00:00:00 2001
From: genio
Date: Tue, 6 Sep 2011 15:48:17 -0300
Subject: added the change to form_helper documentation to the change list
---
user_guide/changelog.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index fb6e4493a..cee8cc52a 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -75,8 +75,9 @@ Change Log
Helpers
- 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)
+ - 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.
+ - Fixed a couple of typos in the Form Helper documentation.
Database
--
cgit v1.2.3-24-g4f1b
From 9e2df7c1fc8f8f5c9837f52c308f72e9f326b577 Mon Sep 17 00:00:00 2001
From: druu
Date: Tue, 6 Sep 2011 22:19:59 +0300
Subject: Major speed improvement in function random_string() for cases
'alpha', 'alnum', 'numeric' and 'nozero'
---
system/helpers/string_helper.php | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/system/helpers/string_helper.php b/system/helpers/string_helper.php
index 9fa69f46c..dd8ffaddb 100644
--- a/system/helpers/string_helper.php
+++ b/system/helpers/string_helper.php
@@ -215,12 +215,9 @@ if ( ! function_exists('random_string'))
case 'nozero' : $pool = '123456789';
break;
}
-
- $str = '';
- for ($i=0; $i < $len; $i++)
- {
- $str .= substr($pool, mt_rand(0, strlen($pool) -1), 1);
- }
+
+ $str = substr(str_shuffle(str_repeat($pool, ceil($len/strlen($pool)))),0,$len);
+
return $str;
break;
case 'unique' :
--
cgit v1.2.3-24-g4f1b
From ec952d6694781140bbf95a589305d6a11e6a721e Mon Sep 17 00:00:00 2001
From: genio
Date: Tue, 6 Sep 2011 16:54:37 -0300
Subject: took out the changelog on the typo
---
user_guide/changelog.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index cee8cc52a..d9f28e96d 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -77,7 +77,6 @@ Change Log
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.
- Fixed a couple of typos in the Form Helper documentation.
Database
--
cgit v1.2.3-24-g4f1b
From 5feb8bb8c89875224049a44ae988500c532ed6d4 Mon Sep 17 00:00:00 2001
From: druu
Date: Tue, 6 Sep 2011 22:18:26 +0200
Subject: Added changelog entry
---
user_guide/changelog.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index fb6e4493a..cdbbe6bda 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -77,6 +77,7 @@ Change Log
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.
+ Improved speed of String Helper's random_string() method
Database
--
cgit v1.2.3-24-g4f1b
From 378d2d77485162390c286321da6f222021ab641d Mon Sep 17 00:00:00 2001
From: Troy McCormick
Date: Wed, 7 Sep 2011 09:32:41 -0700
Subject: Added CodeIgniter version information to footer of default welcome
message view.
---
application/views/welcome_message.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/views/welcome_message.php b/application/views/welcome_message.php
index 0bf5a8d2e..5faac1c2c 100644
--- a/application/views/welcome_message.php
+++ b/application/views/welcome_message.php
@@ -81,7 +81,7 @@
If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
-
+