154 Commits (bbdb3ee7229c4e1ec79a634de7f90a43e02cdc81)

Author SHA1 Message Date
drlibra 5ee7fabbf9 Fixes #16552: Added check in `yii\db\ActiveQuery::prepare()` to prevent populating already populated relation when another relation is requested with `via` 6 years ago
Vladimir Reznichenko 84c55b468a [minor] SCA (#16464) 6 years ago
Salem Ouerdani 1945dc69c7 Fixes #9133: Added `yii\behaviors\OptimisticLockBehavior` 6 years ago
Sam 84cb255aab Fixes #16245: Fixed `__isset()` in `BaseActiveRecord` not catching errors 6 years ago
243083df 56a3d21c24 Minor refactoring of BaseActiveRecord::populateRelation() (#16161) 7 years ago
Andrey Akimov 2a3428c9e9 Fixes #15875: afterSave for new models flushes unsaved data 7 years ago
Carsten Brandt a38302fdfd
improved filtering condition on yii\db\ActiveRecord 7 years ago
Alexander Makarov 5f75916cde
Wording adjustments and doc enhancements [skip ci] 7 years ago
SilverFire - Dmitry Naumenko b37f361ad7
Fixed possible SQL injection through `ActiveRecord::findOne()` 7 years ago
Elvira Sheina ef9600234e Fix magic getter for ActiveRecord (#15696) 7 years ago
Nikolay Oleynikov 74dc1cdc30 Fixes #13618: Active record now resets related models after corresponding attributes updates 7 years ago
Brandon Kelly e6f5c46cdc Fixes #15633: Deprecate some things going away/changing in 2.1 7 years ago
Klimov Paul 65f6b59b35 `@inheritdoc` notation changed 7 years ago
Chen Kui 04891af00a Removed confusing comment about event triggering from BaseActiveRecord::init() (#14303) [skip ci] 7 years ago
Gediminas Šedbaras 4c61d96786 Corrected return type of BaseActiveRecord::findOne (#14798) 7 years ago
Paul Klimov d68789a195 Fixes #13779, fixes #5786 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Carsten Brandt 0559a95db9 Fixed ambiguous column error in `BaseActiveRecord::refresh()` 7 years ago
Robert Korulczyk fe8a0a6a2e Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
Carsten Brandt a7d2aaffd5 mention usage of deleteAll() in AR unlinkAll 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Carsten Brandt be658f82bf
release version 2.0.12 7 years ago
leandrogehlen 17a1d91e4a
Allows override query relation in descendant class 7 years ago
viwek 49ab20139c Inserted missing * on line 972 (#14224) [skip ci] 7 years ago
Alexander Makarov 8c30bab105
Eliminated else branches in beforeSave() and beforeDelete() phpdoc examples [skip ci] 7 years ago
Carsten Brandt 0fdd5b81dd
Revert "update phpdoc annotation in BaseActiveRecord" 8 years ago
Carsten Brandt 0f78008bc7
update phpdoc annotation in BaseActiveRecord 8 years ago
Klimov Paul 319e27c45c Fixed `yii\db\BaseActiveRecord::deleteAll()` changes method signature declared by `yii\db\ActiveRecordInterface::deleteAll()` 8 years ago
SilverFire - Dmitry Naumenko 88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()` 8 years ago
Robert Korulczyk 7a3a342127 Fix errors reported by apidoc extension. (#12986) 8 years ago
Alexander Makarov d28009843e #12950: Mentioned AttributeTypecastBehavior in AR afterSave() docs 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Carsten Brandt 1433d8a017 added example for relation name to AR phpdoc 8 years ago
Carsten Brandt f006db9b2b update docs of AR::update() 8 years ago
Klimov Paul ea03f56d42 `BaseActiveRecord` methods `canGetProperty()` and `canSetProperty()` improved to handle attribute list fetching failure. 8 years ago
Klimov Paul 75439d367d Fixed `canGetProperty()` and `canSetProperty()` returns `false` for `yii\db\BaseActiveRecord` attributes 8 years ago
Klimov Paul 4f7b1b0817 Fixed `yii\db\BaseActiveRecord::refresh()` may set incorrect `oldAttributes` values at some cases 8 years ago
SilverFire - Dmitry Naumenko 1e1723a741 Updated PHPDoc in BaseActiveRecord 8 years ago
Klimov Paul 143f9070af Fixed `yii\db\BaseActiveRecord::updateAttributes()` change `isNewRecord` state for the new model 8 years ago
Angel Guevara 6b6fa96319 Fix #11252 use strict comparison on hasAttribute() 8 years ago
cuiliang c0df003ac0 merge from master 8 years ago
Nikola Kovacs 9d327baa8b coding style fixes 8 years ago
raoul 60f6ecf063 `yii\db\BaseActiveRecord` now triggers event EVENT_AFTER_REFRESH` after a record is refreshed 9 years ago
Ivaylo Ushev 5921865459 Fixed: #11270 - Error when link record in one to many relation. (#11301) 9 years ago
Alexander Makarov 48a2df5d52 Fixes #11283: `ActiveRecord::unlink()` is not setting FK to `null` before deleting itself anymore 9 years ago
Alexander Makarov 5c4e2d4372 Removed unnecessary parentheses 9 years ago
Alexander Makarov 1f7134634b Use static:: instead of $this for static method calls 9 years ago
SilverFire - Dmitry Naumenko 2275156f7e PHPDoc updated 9 years ago
Alexander Makarov 8765cae71c Reverted #9656 because of BC break (reverted from commit 4a464afe9b) 9 years ago