ADmad
|
33030a4502
Fixing my previous attempt in ef4826e to make Model::_findCount() behave nicely with 'group' option. Refs #1677, #573
|
14 years ago |
mark_story
|
8d43764801
Fix issue with duplicate associations when using string form.
|
14 years ago |
mark_story
|
6a4e7558fc
Merge branch '1.3' into merger
|
14 years ago |
ADmad
|
97a975c6c4
Refactoring Model::invalidFields() a bit.
|
14 years ago |
Juan Basso
|
f7f3515135
Fixed documentation to methods that use func_get_args().
|
14 years ago |
Juan Basso
|
a1a049c700
Merge remote-tracking branch 'origin/2.0' into 2.0-api-doc
|
14 years ago |
Juan Basso
|
f5a54d00dd
Changed methods and attributes from private to protected.
|
14 years ago |
ADmad
|
c3884f407f
Implemented feature to allow multiple counter caches per associated model.
|
14 years ago |
ADmad
|
2b342d96d6
Optimizing various finds when deleting records and updating counter cache to avoid extra queries, unnecessary joins and callbacks triggering
|
14 years ago |
Juan Basso
|
7581db2cf2
More API description/examples to relations variables.
|
14 years ago |
Juan Basso
|
0fcf6f6a1d
Updating some sentenses.
|
14 years ago |
Juan Basso
|
725e512839
Description to some attributes in Model.
|
14 years ago |
Juan Basso
|
620a65b2fc
Merge branch '2.0' into 2.0-api-doc
|
14 years ago |
ADmad
|
ef4826eb70
Making Model::find('count') behave nicely when 'group' key is specified in options. Closes #1677
|
14 years ago |
ADmad
|
7983b4109b
Data returned by Model::save() not contains primary key too when new record is created. Closes #1869
|
14 years ago |
Juan Basso
|
895c10af7b
Adjusted some types in @param, @return and @var.
|
14 years ago |
Juan Basso
|
2a50a1ea99
Included @var in API that was missing.
|
14 years ago |
Juan Basso
|
fedadc091c
Included @throws in API that was missing.
|
14 years ago |
ADmad
|
b15c77ecc3
Enhancing validation messages to have placeholders. Closes #1855
|
14 years ago |
Juan Basso
|
9bc3e567c1
Removed the @access and @static.
|
14 years ago |
Juan Basso
|
39b4032820
Fixed some API doc in model.
|
14 years ago |
Jose Lorenzo Rodriguez
|
8c60e01235
Reverting change done to validation that was duplicating the validates() process for the main model, returning the correct value in validateAssociated() instead
|
14 years ago |
Jose Lorenzo Rodriguez
|
cfd2d9e00b
Updating all @package annotations in doc blocks
|
14 years ago |
Jose Lorenzo Rodriguez
|
1c7f181b9f
Making saveAll with validate => only validate the current model data first
|
14 years ago |
Ceeram
|
b8daa99cac
Splitting saveAll into separate save and validation methods for many rows and associated rows. Closes ticket #1157
|
14 years ago |
Jose Lorenzo Rodriguez
|
108505a6a0
Merge branch '2.0-form-helper' into 2.0
|
14 years ago |
Jose Lorenzo Rodriguez
|
ef5650c034
Fixing ClassRegistry that was incorrectly checking class inheritance
|
14 years ago |
Florian Krämer
|
adb943b7fd
Refactoring the code to build the query array as suggested here https://github.com/cakephp/cakephp/pull/147#issuecomment-1553663
|
14 years ago |
Florian Krämer
|
9d7c97c296
Adding the "returnQuery" key to the 2nd argument of the find() method to be able to get the query array back from the before state of findMethod() calls. This was required in the past for some more complex queries and is in 2.0 no longer possible because the find methods became protected.
|
14 years ago |
Ceeram
|
00dd1ccc96
removing unneeded parameter, describe() only takes one parameter
|
14 years ago |