Qiang Xue
54e08f3f01
fixed build break.
11 years ago
Qiang Xue
8b4dfcc876
Fixes #2955 : Changed the signature of ActiveQuery constructors and `ActiveRecord::createQuery()` to simplify customizing ActiveQuery classes
11 years ago
Carsten Brandt
cc0d5b6f94
added CHANGELOG lines
11 years ago
Carsten Brandt
f4395206b7
reset dirty attributes after `afterSave`
...
so information about changed values is available in `afterSave`-event.
fixes #2892
11 years ago
Carsten Brandt
1fdf17b59b
cleanup redis AR
11 years ago
Qiang Xue
b25f1f65d7
added more ignores.
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Luciano Baraglia
269d1303a9
Code style fixes
11 years ago
AlexGx
1982efbdfe
many phpcs fixes
11 years ago
AlexGx
a94b2778b0
fix phpDoc LuaScriptBuilder build @throws
11 years ago
Alexander Mohorev
f849623359
code style. FOR
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Mohorev
b2f1b00bf2
code style. operator IF
11 years ago
Alexander Mohorev
c7e8d8b900
@param , @var , @property and @return must declare types as boolean, integer, string, array or null
11 years ago
Alexander Mohorev
6e7edfdf5b
short array syntax
11 years ago
Carsten Brandt
db8685ccad
fixed a bunch of typos and errors
11 years ago
Tobias Munk
825a71c6df
replaced keyword "yii" with "yii2" in composer.json files ( fixes #2557 )
11 years ago
Carsten Brandt
505762d49c
updated docs about active relation
11 years ago
Carsten Brandt
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
11 years ago
Carsten Brandt
e76fb238d4
added missing use statement
11 years ago
Carsten Brandt
3b40d44909
made createQuery() config param optional
11 years ago
Carsten Brandt
1708a36d95
WIP merge ActiveRelation into ActiveQuery
...
allow extending only one class to add scopes, fixes #2146
TODO:
- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
11 years ago
Alexander Makarov
4a201c7ad5
Removed unused variables
11 years ago
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
11 years ago
Carsten Brandt
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
11 years ago
Qiang Xue
f6dd6fa2e9
Renamed `ActiveRecordInterface::createActiveRelation()` to `createRelation()`
11 years ago
Carsten Brandt
b312b853dc
added redis version req to readme
...
fixes #1875
11 years ago
Carsten Brandt
796284cba1
reworked fix for #1993
11 years ago
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
11 years ago
Paul Klimov
32d82f59bc
Code style at redis readme fixed.
11 years ago
Qiang Xue
da9d544c54
psr-4 change.
11 years ago
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Carsten Brandt
e2b4708bbd
added support for updateCounters to elasticsearch
...
issue #1313
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Carsten Brandt
48199cfc00
renamed redis tableName() to keyPrefix()
11 years ago
Carsten Brandt
d0fc987f0b
fixed test break
11 years ago
Carsten Brandt
ff52f28d0a
adjusted elasticsearch and redis AR to use BaseAR
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Carsten Brandt
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
752261e9ec
fixed redis session init() call
...
fixes #1319
11 years ago
Carsten Brandt
8be4f3778a
updated properties of extensions
11 years ago
Carsten Brandt
3cb366020a
added redis Session
...
as suggested in issue #1316
11 years ago
Carsten Brandt
b5c73a3724
allow redis connection to be configure directly in cache
...
fixes #1316
11 years ago
Carsten Brandt
b081cf5e46
moved elasticsearch to extensions
11 years ago
Qiang Xue
0b13c43466
refactored redis cache.
11 years ago
Carsten Brandt
8ac2b7364d
moved redis to extensions
11 years ago