Alexander Makarov
cba52e3c5e
Fixes #5382 : renamed "pivot table" to "junction table" since it's correct term to use
10 years ago
Klimov Paul
10edf5c929
`yii\sphinx\ActiveQuery` fixed to be resuable.
10 years ago
Qiang Xue
e8c6bb516f
Fixes #4048 : Added `init` event to `ActiveQuery` classes
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
11 years ago
Qiang Xue
54e08f3f01
fixed build break.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
AlexGx
1982efbdfe
many phpcs fixes
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
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
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
Paul Klimov
be2b76d40f
Method "callSnippetsInternal" for the Sphinx Query extracted
11 years ago
Qiang Xue
f59598bb8b
Added support for building SQLs with sub-queries
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
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
Qiang Xue
da9d544c54
psr-4 change.
11 years ago
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Klimov Paul
5a8afcf720
"yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options.
11 years ago
Klimov Paul
2c22fe3f25
Code style and docs at "yii\sphinx\*" fixed.
11 years ago
Klimov Paul
bb46d0594e
Sphinx documentation updated.
11 years ago
Klimov Paul
e1065ef1fc
"snippetByModel" option added to Sphinx Active Query.
11 years ago
Klimov Paul
7fb4bfdd21
Sphinx Active Query fixed
11 years ago
Paul Klimov
fa08674261
"yii\sphinx\ActiveQuery" refactored.
...
"yii\sphinx\Schema" caching fixed.
11 years ago
Klimov Paul
d6c388299d
Sphinx ActiveRecord added as blank.
11 years ago
Carsten Brandt
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
11 years ago
Carsten Brandt
b8e31d50bb
renamed AR trait classes
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
mcd-php
365bdcf68a
FIX: Relation names not mangled in \yii\db\ActiveQuery::normalizeRelations
11 years ago
Qiang Xue
bc393ff5d3
added doc about sub-relation.
11 years ago
Carsten Brandt
4653526262
moved common parts of db ActiveRelation and Query to traits
...
these parts can be reused in other ActiveRecord implementations
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
817516adc5
Added missing return
11 years ago
Alexander Makarov
6488fe47ec
Better phpdoc for chained method calls
11 years ago
Qiang Xue
aede3c9f47
Removed duplicated indexBy declaration.
11 years ago
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
11 years ago
Qiang Xue
d1ebf65597
Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true.
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
11 years ago
Qiang Xue
c4a57a9f6c
Refactored Query and ActiveQuery.
...
Finished ActiveDataProvider.
11 years ago
Qiang Xue
aa568aacb5
Added support for using callables as "ActiveQuery::indexBy".
11 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
4ab5ce3b5e
Fixed join query for AR.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
12 years ago
Qiang Xue
034d88e5e4
Fixes issue #134
12 years ago