Carsten Brandt
|
6d9fe671de
|
various code style and whitespace adjustments
|
2015-08-02 00:27:19 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Mohorev
|
68c30c1034
|
Replace aliases of functions
|
2015-06-29 22:59:22 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
30f003381d
|
revised AR documentation
fixed some incorrectness in update() and insert() and also fixes #8761
|
2015-06-12 00:55:12 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
f68e970de2
|
link to PHP classes just as we do with normal classes
apidoc can handle this!
|
2015-06-05 21:53:24 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
ec76a3015a
|
use yii\base\Event in BaseAR to fix phpdoc reference
|
2015-06-05 21:26:55 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
0959b5d28e
|
updated docs about dirty attributes
fixes #8619
|
2015-06-01 21:26:47 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Klimov Paul
|
467596633d
|
Code optimization
|
2015-05-26 12:00:28 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Klimov Paul
|
51a442d6c8
|
Fixed yii\db\ActiveRecord does not updates attribute specified at optimisticLock() after save
|
2015-05-26 11:53:34 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
cca47b5469
|
ensure primary key string comparison is made identical
this is to avoid cases where string primary keys starting with '0e'.
See http://securityaffairs.co/wordpress/36732/hacking/php-hash-comparison-flaw.html
Other parts of Yii 2, escpecially the security and auth parts, are **not** affected.
|
2015-05-16 00:15:52 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
42fd70b2a1
|
exception message fix
|
2015-05-10 15:40:41 -04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
b0be36668e
|
slight refactoring for #8179
|
2015-04-26 21:32:50 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Thiago Talma
|
4970fb1e95
|
if...else
|
2015-04-25 22:36:40 -03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Thiago Talma
|
4bb9ec8906
|
new param
|
2015-04-24 14:32:09 -03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Thiago Talma
|
815ca6b444
|
Compare it equals
|
2015-04-24 12:45:15 -03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Klimov Paul
|
1c1cfd5e2d
|
yii\db\BaseActiveRecord::getAttributeLabel() refactored to be recursive
|
2015-04-22 14:19:46 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Klimov Paul
|
4482d9f8f3
|
Merge branch 'master' of github.com:yiisoft/yii2
|
2015-04-22 13:10:45 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Klimov Paul
|
f617618172
|
yii\db\BaseActiveRecord::getAttributeHint() added
|
2015-04-22 13:10:25 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
5635a97fa2
|
Update BaseActiveRecord.php
more explicit code for #8149
|
2015-04-21 16:50:29 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Klimov Paul
|
6d96d3cbee
|
Fixed yii\db\BaseActiveRecord::updateCounters() fails for new record saved with counter attribute not set
|
2015-04-21 16:23:00 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
99a612e1a6
|
Finished AR guide [skip ci]
|
2015-03-15 01:26:06 -04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
bd20b30b89
|
AR guide WIP [skip ci]
|
2015-03-09 22:43:24 -04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Kochetov
|
29f5dc37a5
|
Correct phpDoc for return in several cases
close #6733
|
2015-02-28 23:49:16 +01:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
89d1e55f91
|
phpdoc fix, close #7404
|
2015-02-24 13:26:01 +01:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Makarov
|
6481d13494
|
Optimized checks order in conditions
|
2015-02-08 17:56:36 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Angel Faryshta Guevara
|
ffe940180c
|
simplify findByCondition
|
2015-02-03 16:31:00 -05:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Kochetov
|
d5176a463f
|
better exception message
- yii\db\BaseActiveRecord::findByCondition better exception
- yii\db\ActiveRecord::findByCondition better exception
close #6704
|
2014-12-31 14:53:44 +01:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
073982ab0a
|
Update BaseActiveRecord.php
The exceptions thrown on error are db exceptions.
|
2014-11-30 21:02:43 +01:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
83b0b3d480
|
Fixes #6311: Optimistic lock for ActiveRecord does not work as expected
|
2014-11-29 20:10:53 -05:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
38d0570843
|
fixed unlink() for array valued attributes
return value would not be a valid array when json encoded after unlink().
fixes #6065
|
2014-11-15 21:42:36 +01:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Makarov
|
cba52e3c5e
|
Fixes #5382: renamed "pivot table" to "junction table" since it's correct term to use
|
2014-10-07 01:13:17 +04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
aeaf0511d2
|
Fixes #3725: Fixed the bug that the filtering condition used in relation definition was ignored when calling ActiveRecord::unlinkAll()
|
2014-09-22 16:36:55 -04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
7cf358af03
|
Fixes #4607: AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively
|
2014-08-12 21:54:08 -04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Makarov
|
0edd8bc65a
|
Fixed missing and incorrect phpdoc
|
2014-07-25 17:26:35 +04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
miramir
|
67bd4972ba
|
Check availabilty field in BaseActiveRecord::populateRecord
check with Object::canSetProperty()
fixes #4305, close #4211
|
2014-07-23 13:49:55 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
d036d2f5bf
|
add support for array valued attr relations to unlink and link
|
2014-07-23 01:25:33 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
05e21b7291
|
Fixes #4135
|
2014-07-01 14:49:41 -04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
1085f1bd9b
|
cleanup after #4092
fixes #4086
|
2014-06-29 13:29:23 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Vladimir Zbrailov
|
7113a23a45
|
change PhpDoc of param
|
2014-06-27 18:59:44 +04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Vladimir Zbrailov
|
44f20c61a0
|
changedAttributes of AfterSaveEvent contain an old values
|
2014-06-27 18:51:21 +04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Qiang Xue
|
86f06677e9
|
Refactored AR findOne() and findAll().
|
2014-06-25 21:31:15 -04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
7b13c370e9
|
fixes #3681, disambiguate PK in findOne and findAll
|
2014-06-25 20:57:20 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
edb95052e8
|
use an AfterSaveEvent class to be consistent
|
2014-06-25 19:53:00 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
b0fb04efd4
|
fixed test break and wrong parameter
|
2014-06-25 00:48:29 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
0899b8d474
|
changed updateAttributes to be more simple update
fixes #3233
|
2014-06-25 00:29:49 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
2cab70b064
|
Ensure consistent behavior in ActiveRecord::afterSave()
fixes #4012
|
2014-06-25 00:29:34 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Makarov
|
0c14f47f9a
|
Fixes #3793: Changed inline autocomplete hints style to get more IDEs support
|
2014-06-20 17:40:00 +04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Carsten Brandt
|
d92281dcda
|
refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
|
2014-06-04 14:28:57 +02:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
Alexander Makarov
|
a5c4a0ebb4
|
Adjusted BaseActiveRecord code for better noSQL compatibility
|
2014-06-02 20:13:48 +04:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
NmDimas
|
5599a86a81
|
Add support all type relation
|
2014-05-22 00:53:12 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|
NmDimas
|
e11ec66b06
|
add change to CHANGELOG,and mini refactoring
|
2014-05-20 22:20:51 +03:00 |
octicon-file-diff(16/)
octicon-file-code(16/)
|