jperras
c30dd48e2a
Updating doc block for Set::combine first parameter - may accept an object as first param, in addition to arrays.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8210 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-07-01 22:25:22 +00:00
gwoo
056402efa7
moving checks for Set::extract() so that null will be returned when empty data is passed and classicExtract is expected.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8105 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-15 19:39:35 +00:00
gwoo
198548092b
cleaning up some Set::extract, adding tests for empty data and results. Removing some checks from Cache engine.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8097 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-14 19:56:28 +00:00
the_undefined
55e72bb749
Better support for regex matching, fixes #6184
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8086 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-03-10 20:20:32 +00:00
jperras
f20ccc745c
Applying patch from 'phally' to update Set::extract to properly tokenize xpath selectors which contain hyphens (-). Fixes #6140
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8059 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-25 16:23:13 +00:00
mark_story
082ef2e4b0
Adding patch from 'mattcurry' Fixes Set::extract and parent selectors that with more than one element in the source array. Fixes #6043
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8055 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-24 03:01:06 +00:00
mark_story
27c321190e
Applying patch from 'mcurry' Fixes Set::extract with mixed numeric and stringKeys. Tests added. Fixes #6072
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8038 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-02-17 04:41:30 +00:00
mark_story
628a79aba6
Making direction flag in Set::sort() case insensitive. Test updated. Fixes #5992
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7977 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 04:06:01 +00:00
gwoo
4dbd8e6791
updating to Set::extract() to fix containable test fails, added set cases to match usage in containable.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7934 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 21:33:11 +00:00
nate
8eade1adb3
Fixing code formatting to wrap at 100 characters, adding fix for ticket #5596 , counterCache now decrements properly when foreign key value changes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7927 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 04:13:45 +00:00
gwoo
9d2f59529c
fixes #5684 , Set::extract() without index 0
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7895 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-26 22:33:21 +00:00
AD7six
3f2fa6929b
changing tabs for spaces in comment block indentation
...
Removing address and replacing with cakefoundation url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
mark_story
1b456f2cf1
Applying patch from 'davidpersson' fixing code spacing. Closes #5643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
renan.saddam
42241b2b27
Removing if block missed from an older refactoring.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7719 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:16:39 +00:00
the_undefined
aab1e506a1
Fixes #5225
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7674 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-28 17:41:23 +00:00
john
6ad3cfa0ef
Enhancing Set::map() so that it doesn't override manual setting of _name_. Test case enhanced to make sure it does so.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7669 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 21:11:51 +00:00
gwoo
e6b994bcb1
updating handling of required classes, fixes #5480
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7666 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-26 14:03:16 +00:00
mark_story
62168bfe0f
Updating doc blocks to include access and return PHPDOC tags.
...
Removing use of e() in Debugger.
Fixing code formatting in CookieComponent
Closes #5477
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7662 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-25 16:49:56 +00:00
DarkAngelBGE
5aade5b581
small return home early refactorings for the set class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7655 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-24 12:08:24 +00:00
DarkAngelBGE
c8ab1ec092
small readability refactorings for Set::filter() and Set::matches()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7647 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-23 11:33:36 +00:00
nate
24b444ca55
Fixing behavior initialization in model construction, adding Set::flatten() utility method for future refactoring, updating Set test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7644 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-22 16:32:41 +00:00
the_undefined
740bd4e769
Partial fix for #5225
...
Corrected expected behavior for 2nd issue
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7633 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-19 18:08:27 +00:00
the_undefined
3ff9c49f82
Performance improvements by removing array_merge
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7609 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-15 18:05:31 +00:00
the_undefined
0e621885ab
Fixed docblock error
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7608 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-15 18:05:26 +00:00
phpnut
5658e26e07
Changing comparison operators to === (identical) which is faster than == (equal)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7604 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-14 17:17:49 +00:00
phpnut
cb487bd6e6
More optimization refactoring.
...
Fix cache but causing object_map to be created and deleted on each request.
Replacing function and method calls with better performing code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-12 05:11:34 +00:00
the_undefined
95947053fe
Fixed bug in parent traversal, closes #5225
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7546 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-03 15:40:25 +00:00
gwoo
dde620edb4
fixing bug in Set:map() handling of recursive records
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7531 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-28 18:16:40 +00:00
gwoo
921a5770db
fix for Set::reverse() with _name_
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7495 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-24 22:08:13 +00:00
gwoo
fb47301258
adding _name_ property to nested Set::map() objects
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7488 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-22 19:17:48 +00:00
the_undefined
8fb9a50d3c
Added test for using Set::insert to overwrite keys with empty values and reverted change permitting it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7415 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-08-01 16:52:34 +00:00
gwoo
b0d2451a97
removing optional instantiation of Set class. Adding toArray() to xml class and calling it from Set::reverse(); updated test cases.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7398 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 23:50:32 +00:00
gwoo
e8acb375ec
fixes #5179 , set::numeric and other fails in set.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-07-31 19:36:28 +00:00
phpnut
022ffa3f4f
Adding fixes for pagination on associated models.
...
Corrected dot notation use in Controller::paginate();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7286 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-27 06:25:08 +00:00
nate
df75a06756
Fixing coding standards violations in core, and adding misc tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
phpnut
6807d4c333
Starting initial refactoring of current code base.
...
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
nate
42da5aba81
Moving Cake folder to correct location
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2
deleting cake folder from svn
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
joelmoss
9b514352dc
Set::combine() now returns an empty array if first passed var is empty. Fixes #4709 and #3784
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7002 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 08:21:08 +00:00
the_undefined
ab0a607189
Refactored Set::reverse and tweaked the expectation schema for consistency, fixes #4643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6888 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 14:48:49 +00:00
the_undefined
d039ad32d4
Allowed for matching empty elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6875 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 02:21:51 +00:00
the_undefined
586bcb8f28
Fixed Set::merge warning when calling it from a static function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 17:18:05 +00:00
mariano.iglesias
9af317b1b4
Adding documentation to show result of Set::reverse() with non-objects. Fixing commented out test for Set class and adding more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6682 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:01:59 +00:00
the_undefined
db96a250d1
Fixed :first / :last selector issues in Set::matches
...
Refactored condition filtering to respect context altering conditions in Set::extract
Fixed some bad test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6679 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 15:48:55 +00:00
the_undefined
00b531913a
Replace wrong comment
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6674 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:24:59 +00:00
the_undefined
e516a8ba08
Added doc block comments for new Set::extract features
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6673 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:23:02 +00:00
the_undefined
87d77f046b
Added :first and :last selector to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6670 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:15:50 +00:00
the_undefined
c154636723
Added all-attribute selector support to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6669 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:48:55 +00:00
the_undefined
fc8611b003
Added support for regex modifiers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6668 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:40:01 +00:00
the_undefined
5fe0038a74
Added regex match support to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6667 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:36:19 +00:00
the_undefined
f6c30745fe
Fixes #4485
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6666 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:12:31 +00:00
the_undefined
ed105de578
Added one more example to the Set::extract docblock
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6661 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:18:08 +00:00
the_undefined
4679dc9a12
Added support for dot char (selecting the current context node)
...
Fixed some more issues and added more tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6660 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:08:45 +00:00
the_undefined
9f040bd395
Modified Set::extract to be available from combine and other functions as well
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6659 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 18:46:27 +00:00
the_undefined
de4807e726
Fixed PHP warning showing up on some extract queries
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6658 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:32:58 +00:00
the_undefined
1fdd44f6b2
Added support for conditions on multi-nested numerically indexed items
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6657 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:27:12 +00:00
the_undefined
593c4d7245
Fixed issues with Set::extract and multiple numerically indexed nestings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6656 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:05:52 +00:00
the_undefined
26489efe19
Changed XPath behavior for mixed numeric and string keys
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-18 15:30:00 +00:00
the_undefined
2dc63c7bc7
Additional safety catch for the new extract function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6587 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 23:09:21 +00:00
the_undefined
0aebf2b50a
Fix for #4354
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6586 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 22:58:36 +00:00
nate
29fa485140
Adding extra fixes, tests for Set::_ _flatten, fixes #4297
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6573 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:30:30 +00:00
the_undefined
49a092f1d0
Removed code that was not needed any longer from Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6569 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 18:30:34 +00:00
the_undefined
32d9de160d
Added/Fixed doc blocks for Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6568 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:19:56 +00:00
the_undefined
3daf495488
Added initial XPath support for Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6567 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:05:56 +00:00
phpnut
acc79fe0f3
"Closes #2508 , Allow requestAction to use array urls
...
Fixes #4325 , error pages no longer displayed since changeset
Closes #4329 , remove am() usage in core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
nate
bacb74a6ef
Adding fix for Set::reverse() XML handling, fixes #4275 , plus fixes from previous commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 06:05:31 +00:00
nate
ae57eecc19
Adding test and patch for bug in Set::_ _flatten(), fixes #4297
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:33:22 +00:00
nate
14523dc8c4
Fixing XML class references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:24:10 +00:00
nate
5770e95fc9
Adding fixes and tests for Set::check(), closes #4077
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 15:48:31 +00:00
nate
89052b0f54
Adding performance enhancement to Set::numeric(), adding $filterKey param to Model::create() to overwrite primary keys, closes #4046
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 02:35:12 +00:00
nate
1db0c07852
Fixing issues in Set::check() with implicit array-to-string casting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 23:08:21 +00:00
nate
afebe2d418
Fixing XML text node conversion support in Set class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 04:53:52 +00:00
nate
acfc38e57d
Fixing XML support in Model and Set classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 20:45:37 +00:00
nate
4e56b06f66
Adding Set::sort(), for sorting model results by association keys, tests included
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 20:22:45 +00:00
gwoo
d901e0af31
fixed bake interactive models for self associations and error in Set:extract when data is not an array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:42:01 +00:00
gwoo
22cc25e9c5
updating Set::map() handling of deeply nested arrays, fixes #3809 , thanks to speedmax for an updated test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 01:32:52 +00:00
nate
60fa3938ee
Adding regular expression support to Set::extract(), closes #3263
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 04:46:49 +00:00
phpnut
cb53dc61b0
"Closes #2897 , Built-in file validation.
...
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
gwoo
7e845242d5
updating set handling of xml and adding tests for model saving xml
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:24:10 +00:00
phpnut
c5ff7cb4db
"Fixes #3774 , Set::combine possibly applies wrong formatstring"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:59:22 +00:00
phpnut
aa667c4d61
"Closes #3059 , Set::format() allow arg type conversion with use of sprintf format style"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:10:20 +00:00
gwoo
5dd9847881
changing Set::map() to accept true as second param. This will maintain the structure of the array coming in. related to #3713 , changes [6185]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6186 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:54:10 +00:00
gwoo
b4c3be2ccd
updating set, pass second param as false if you do not want the array flattened, fixes #3713
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6185 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:12:43 +00:00
phpnut
8a2b51c3ec
"Removing all shortcut function usage from the core"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 06:08:03 +00:00
phpnut
d6c918ec95
"Fixes #3689 , Set::__map() array cast corrupt new object"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:59:54 +00:00
phpnut
ae8ccbd817
"Correcting type for @param $primary"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6093 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 18:04:41 +00:00
gwoo
76d69fb0c7
updating Set::__map() doc comment
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6092 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 18:02:09 +00:00
gwoo
86dafa3009
updating Set::map() to return an array of objects if the key is numeric. Changed __identity__ to _name_, updated tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6091 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 17:57:59 +00:00
gwoo
ca79acf3fd
change to use $class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6089 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 00:46:24 +00:00
gwoo
21bea5ffb5
updating Set class and added valid test, fixes #3652
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6088 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 00:33:10 +00:00
gwoo
01230b92b1
refactoring Set::map() and reverse, all tests passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6035 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 21:04:58 +00:00
gwoo
dd5854f210
refactoring Set::reverse()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6034 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 20:00:54 +00:00
phpnut
b867f832c1
Refactoring return of Set::map(); and Set::reverse();
...
Added new test cases to SetTest.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5979 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-11 23:49:30 +00:00
mariano.iglesias
9b01ce7066
Adding support for Set::countDim() to count dimensions in all branches of an array, not just the first element. Set second parameter of countDim to true to get the real dimension of the array (regardless if the deepest depth is on first element).
...
Adding better documentation and test cases for countDim
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5960 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 18:54:32 +00:00
mariano.iglesias
896f62544b
Changing @return int to @return integer and @param bool to @param boolean
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
da97a5c871
Correcting @return bool
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
mariano.iglesias
897825d596
Adding documentation to classes belonging to Cake console.
...
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
nate
02494a0519
Adding fix for Set::extract() when only grabbing numeric keys
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5652 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:22:17 +00:00
nate
ce51d009ac
Adding hasMany optimization fixes for failing model tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5587 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:11 +00:00
nate
bd194b51e5
Routing fixes for invalid null value matching and named argument handling (Ticket #3083 , #3085 , #3086 , #3093 ). Thanks biesbjerg for all your help!
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00