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
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
0cd6b346b6
refactoring AR
12 years ago
Qiang Xue
1b151818a6
Fixed AR bugs.
12 years ago
Qiang Xue
a7ecbfee30
Fixing AR issues.
12 years ago
Qiang Xue
30c52fad96
finished draft implementation of new AR.
12 years ago
Qiang Xue
211c3fb884
AR WIP
12 years ago
Qiang Xue
58490ae4ff
AR WIP
12 years ago
Qiang Xue
36f7302515
AR WIP
12 years ago
Qiang Xue
44af0aa97a
AR wip
12 years ago
Qiang Xue
de35c62c4e
RAR WIP
12 years ago
Qiang Xue
a8be9ce412
new AR WIP
12 years ago
Qiang Xue
377181a008
new AR WIP
12 years ago
Qiang Xue
794df81628
renamed order and group to orderBy and groupBy
12 years ago
Qiang Xue
e828cc6654
changed the default behavior of scenarios()
12 years ago