Alexander Kochetov
8de3ffabfe
ActiveRecord::setAttribute() bugfix
12 years ago
Alexander Kochetov
826c83c301
ActiveRecord::getNamespacedClass() correct PHP 5.3 code
12 years ago
resurtm
732e438473
Fixed typo in the \yii\db\ActiveRecord::isOperationAtomic() method.
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
2376730452
better check of existence of tables.
12 years ago
Carsten Brandt
0a5b7a5960
docs: Be explicitly clear about ActiveRecord::create()
12 years ago
Carsten Brandt
689080519e
Added support for previous exceptions
...
PHP supports exception stacks since 5.3 so we should use it.
Also Errorhandler is now able to display the stack: #297
12 years ago
Antonio Ramirez
641e6ee7cf
ported inflection methods from StringHelper to Inflector helper class
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
resurtm
4973838b69
Better argument name in the ActiveRecord::isOperationAtomic() method.
12 years ago
resurtm
944e1fc0fe
isOpAtomic → isOperationAtomic
12 years ago
resurtm
35688b327b
AR atomic scenarios fixes.
12 years ago
resurtm
a54c1cd684
Fixes #226 : atomic operations and transaction support in AR.
12 years ago
resurtm
c98628d42e
CS fixes.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Carsten Brandt
776162b05e
created StringHelper::basename()
...
In contrast to php function basename() It that always uses \ and /
as directory separator.
It is needed for use on Classnames that contain namespaces.
Fixes #192
12 years ago
Anderson Müller
45e987d26c
Typo in isNewRecord property of ActiveRecord
12 years ago
Alexander Kochetov
e3f6faf575
&& => || fix
12 years ago
Alexander Kochetov
37f3a400cd
ActiveRecord::getRelation() bugfix
12 years ago
Alexander Kochetov
f12518f45c
ActiveRecord::insert() and ActiveRecord::update() refactoring
12 years ago
Qiang Xue
f3c17594c6
Fixes issue #155 .
12 years ago
Qiang Xue
2026d3824b
allow using existing column to store lock version.
12 years ago
Qiang Xue
c6a1327897
renamed lockVersion to optimisticLock
12 years ago
Qiang Xue
7de94d7fe9
Implemented optimistic locking for AR.
12 years ago
Qiang Xue
906e402ba8
ActiveRecord::update() and ActiveRecord::delete() now returns the number rows affected.
12 years ago
Qiang Xue
1fbf81be57
User WIP.
12 years ago
Qiang Xue
884977a724
renamed util to helpers.
12 years ago
Qiang Xue
5f774db6d1
sort WIP
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
f68bed0ccb
fixed exception.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Carsten Brandt
da0ef127b5
proof reading docs, fixed event order in AR
12 years ago
Qiang Xue
76b153a368
fixed event doc.
12 years ago
Qiang Xue
373e6a705e
refactored event declaration convention.
12 years ago
Qiang Xue
abd3d827a2
refactoring.
12 years ago
Qiang Xue
6dd495b65f
Added init and afterFind events to AR.
...
Implemented scope support.
12 years ago
Qiang Xue
ed8b795295
renamed exception classes.
12 years ago
Qiang Xue
b51d347465
Added count, average, sum, min, max, scalar methods to ActiveQuery.
...
Added support for scopes defined in AR classes.
12 years ago
Qiang Xue
9b62fb6786
DB cleanup.
12 years ago
Qiang Xue
5d90e6da80
removed scopes.
...
finished AR documentation.
12 years ago
Qiang Xue
cc33a930c9
Finished AR API.
12 years ago
Qiang Xue
3ca50f3043
clean up AR
12 years ago
Qiang Xue
46ab456f4e
finished new AR.
12 years ago
Qiang Xue
cf6c73c63e
link relation WIP
12 years ago
Qiang Xue
ef8b092278
initial draft of saving related models.
12 years ago
Qiang Xue
6243861138
AR WIP
12 years ago
Qiang Xue
c9b104f0a1
refactored AR relation.
12 years ago
Qiang Xue
0e3e2698d7
cleanup of AR
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
d15378ef43
moved db tests.
12 years ago