121 Commits (6f4c52a53d10fc7da36ab3abac8a8a502c56205c)

Author SHA1 Message Date
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
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
Sam Mousa 4a464afe9b Fixes #9656: `yii\db\BaseActiveRecord` refactored in order to getting, setting and unsetring attribute values using the same approach 9 years ago
Alexander Makarov 1b3770fd21 Use === instead of == where possible 9 years ago
Vovan-VE c68b9a486c Fix: Issue #9814: event type EVENT_AFTER_INSERT and EVENT_AFTER_UPDATE 9 years ago
Carsten Brandt 229a39dec1 Revert "Fixes #9758: phpdoc correction" 9 years ago
Alexander Makarov 13a2b70a65 Fixes #9758: phpdoc correction 9 years ago
Carsten Brandt 6d9fe671de various code style and whitespace adjustments 9 years ago
Sebastian Chojniak 86c2e22a5b class Event is used in docs 9 years ago
Sebastian Chojniak 6ee285f321 unused imports removed 9 years ago
Alexander Mohorev 68c30c1034 Replace aliases of functions 9 years ago
Carsten Brandt 30f003381d revised AR documentation 9 years ago
Carsten Brandt f68e970de2 link to PHP classes just as we do with normal classes 9 years ago
Carsten Brandt ec76a3015a use yii\base\Event in BaseAR to fix phpdoc reference 9 years ago
Carsten Brandt 0959b5d28e updated docs about dirty attributes 9 years ago
Klimov Paul 467596633d Code optimization 9 years ago
Klimov Paul 51a442d6c8 Fixed `yii\db\ActiveRecord` does not updates attribute specified at `optimisticLock()` after save 9 years ago
Carsten Brandt cca47b5469 ensure primary key string comparison is made identical 9 years ago
Qiang Xue 42fd70b2a1 exception message fix 10 years ago
Carsten Brandt b0be36668e slight refactoring for #8179 10 years ago
Thiago Talma 4970fb1e95 if...else 10 years ago
Thiago Talma 4bb9ec8906 new param 10 years ago
Thiago Talma 815ca6b444 Compare it equals 10 years ago
Klimov Paul 1c1cfd5e2d `yii\db\BaseActiveRecord::getAttributeLabel()` refactored to be recursive 10 years ago
Klimov Paul f617618172 `yii\db\BaseActiveRecord::getAttributeHint()` added 10 years ago
Carsten Brandt 5635a97fa2 Update BaseActiveRecord.php 10 years ago
Klimov Paul 6d96d3cbee Fixed `yii\db\BaseActiveRecord::updateCounters()` fails for new record saved with counter attribute not set 10 years ago
Qiang Xue 99a612e1a6 Finished AR guide [skip ci] 10 years ago
Qiang Xue bd20b30b89 AR guide WIP [skip ci] 10 years ago
Alexander Kochetov 29f5dc37a5 Correct phpDoc for return in several cases 10 years ago
Carsten Brandt 89d1e55f91 phpdoc fix, close #7404 10 years ago
Alexander Makarov 6481d13494 Optimized checks order in conditions 10 years ago
Angel Faryshta Guevara ffe940180c simplify findByCondition 10 years ago
Alexander Kochetov d5176a463f better exception message 10 years ago
Carsten Brandt 073982ab0a Update BaseActiveRecord.php 10 years ago
Qiang Xue 83b0b3d480 Fixes #6311: Optimistic lock for ActiveRecord does not work as expected 10 years ago