66aab86b9d
Fixed array syntax
2014-09-07 15:47:21 +04:00
f099616967
improved IDE autocompletion for AR::find()
...
[ci skip]
2014-08-12 23:21:34 +02:00
7736853837
property code style extensions
2014-07-30 00:40:46 +02:00
e8c6bb516f
Fixes #4048 : Added init event to ActiveQuery classes
2014-07-19 20:26:58 -04:00
1085f1bd9b
cleanup after #4092
...
fixes #4086
2014-06-29 13:29:23 +02:00
f9febd0087
unify changedAttributes of afterSave in extensions
2014-06-27 20:10:43 +04:00
5d0452b2ae
rename ColumnSchema::typecast to phpTypecast
2014-06-27 02:12:59 +02:00
8a70d9fbd1
rename column schema typecast method
2014-06-26 00:11:04 +02:00
6a48f68955
split typecast method into two
...
one method for fetching data and one for sending to db.
fixes #2287
2014-06-26 00:00:37 +02:00
48f6e380df
Merge PR #4038 branch 'consistent-after-save'
...
* consistent-after-save:
use an AfterSaveEvent class to be consistent
fixed test break and wrong parameter
changed updateAttributes to be more simple update
Ensure consistent behavior in ActiveRecord::afterSave()
Conflicts:
framework/UPGRADE.md
2014-06-25 20:23:16 +02:00
2cab70b064
Ensure consistent behavior in ActiveRecord::afterSave()
...
fixes #4012
2014-06-25 00:29:34 +02:00
64c43a3a1d
Type cast added to yii\sphinx\ActiveRecord::populateRecord()
2014-06-24 18:05:27 +03:00
fe14f0c5e3
fixed all the PHPdoc in extensions
2014-04-23 03:25:11 +02:00
fa767ceaca
renamed attributes to attributeNames in model
...
fixes #3034
2014-04-09 18:54:53 +02:00
0e143338d7
Finished refactoring find() .
2014-04-07 16:29:12 -04:00
75154d351d
Refactored AR find
2014-04-07 09:43:03 +04:00
8b4dfcc876
Fixes #2955 : Changed the signature of ActiveQuery constructors and ActiveRecord::createQuery() to simplify customizing ActiveQuery classes
2014-04-03 10:36:52 -04:00
f4395206b7
reset dirty attributes after afterSave
...
so information about changed values is available in `afterSave`-event.
fixes #2892
2014-03-27 12:14:03 +01:00
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
505762d49c
updated docs about active relation
2014-02-21 18:53:28 +01:00
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
2014-02-20 16:15:10 +01:00
3b40d44909
made createQuery() config param optional
2014-02-20 05:54:47 +01:00
1708a36d95
WIP merge ActiveRelation into ActiveQuery
...
allow extending only one class to add scopes, fixes #2146
TODO:
- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
bea9e3fc06
Fixes #1645 : Added support for nested DB transactions
2014-02-15 22:16:09 -05:00
4a9f47bedd
refactored sphinx and db AR to call parent implementation of populateRecord()
2014-02-03 14:12:03 +01:00
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
2014-02-03 14:07:12 +01:00
f6dd6fa2e9
Renamed ActiveRecordInterface::createActiveRelation() to createRelation()
2014-01-24 14:46:53 -05:00
796284cba1
reworked fix for #1993
2014-01-16 11:05:26 +01:00
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
2014-01-16 10:28:58 +01:00
da9d544c54
psr-4 change.
2014-01-10 21:06:25 -05:00
41685a2409
moved extensions under yii.
2013-12-09 23:51:49 -05:00
26767735dc
Renamed byte methods, moved path methods back to StringHelper
2013-12-04 14:26:47 +01:00
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
2013-12-04 09:48:01 +01:00
3db7a07534
Method "yii\sphinx\ActiveRecord::find()" removed in favour of "BaseActiveRecord::find()".
2013-12-03 11:17:51 +02:00
c9624eee55
Sphinx Active Record refactored to extend "BaseActiveRecord".
2013-12-03 11:09:45 +02:00
3dbb3d40dd
Sphinx unit tests fixed.
2013-11-28 11:34:13 +02:00
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
2013-11-28 01:01:48 +01:00
16239c2395
reverted wrong change in sphinx
2013-11-27 22:31:44 +01:00
324e10694d
updated sphinx active record with changes from DB AR
2013-11-26 01:48:52 +01:00
e2ff98ab53
fixed broken sphinx AR::attributes() declaration
...
Model::attributes() has been made static
2013-11-25 15:34:26 +01:00
8be4f3778a
updated properties of extensions
2013-11-25 15:33:59 +01:00
2c22fe3f25
Code style and docs at "yii\sphinx\*" fixed.
2013-11-23 18:22:54 +02:00
400b5310ca
Docs for Sphinx extension updated.
2013-11-22 14:06:32 +02:00
01c269a912
Redundant typecast removed from yii\sphinx\ActiveRecord::create()
2013-11-22 13:37:43 +02:00
18af6984fc
Merge branch 'sphinx' of github.com:klimov-paul/yii2 into sphinx
2013-11-21 13:43:11 +02:00
765d47d00d
Sphinx Active Record updated to be compatible with ActiveDataProvider.
2013-11-21 13:41:35 +02:00
bb46d0594e
Sphinx documentation updated.
2013-11-20 20:24:56 +02:00
d1c87c7e31
Sphinx documentation updated.
2013-11-20 17:28:02 +02:00
9a45a04365
Create relation methods added to Sphinx Active Record.
2013-11-19 17:18:54 +02:00