Carsten Brandt
9430ccd095
more robust check for table not exists
...
should work on HHVM too
10 years ago
Klimov Paul
2a98bb3014
Docs for Sphinx extension updated
10 years ago
Klimov Paul
e4b1f4e9f0
Docs for Sphinx extension updated
10 years ago
Klimov Paul
603127712b
Escaping of the special characters at 'MATCH' statement reworked
10 years ago
Carsten Brandt
3e4ec22004
update changelog
...
[ci skip]
10 years ago
Klimov Paul
804aded508
`yii\sphinx\Connection::escapeMatchValue()` fixed
10 years ago
Klimov Paul
62fdaeec6a
Extra quote escaping at `yii\sphinx\Connection::escapeMatchValue()` fixed
10 years ago
Klimov Paul
adb36e42c4
Usage of `yii\db\Expression` for the 'MATCH' statement fixed
10 years ago
Klimov Paul
3f001aeed0
Escaping of the special characters at 'MATCH' statement added
10 years ago
Carsten Brandt
b7e493fca0
Tabs to spaces to be consistent
...
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
11 years ago
Alexander Makarov
11cded9b7c
Fixed Sphinx schema
11 years ago
Alexander Makarov
b1d94e5c95
Removed unnecessary instance check, fixed Sphinx schema
11 years ago
Carsten Brandt
c27ac8ef0e
updated phpdoc
11 years ago
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
11 years ago
Qiang Xue
a60d295253
Added support for using sub-queries when building a DB query with `IN` condition
11 years ago
Qiang Xue
f4c38faf74
prepare for next release.
11 years ago
Qiang Xue
8bbcff70db
prepare for 2.0.0-beta release.
11 years ago
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
fa767ceaca
renamed attributes to attributeNames in model
...
fixes #3034
11 years ago
Qiang Xue
0e143338d7
Finished refactoring find() .
11 years ago
Alexander Makarov
75154d351d
Refactored AR find
11 years ago
Carsten Brandt
865b71ef5e
cleanup CHANGELOGs
11 years ago
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
Qiang Xue
0fa19291f1
refactored filterWhere().
11 years ago
Carsten Brandt
cc0d5b6f94
added CHANGELOG lines
11 years ago
Carsten Brandt
e9e59483f4
removed unnecessary code duplication
11 years ago
Carsten Brandt
96f1c4c10b
renamed Query::filter() to Query::filterWhere()
11 years ago
Alexander Makarov
06fdb79730
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Alexander Makarov
8cd247730a
Query::filter() adjustments
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
Alexander Makarov
3c1a8141fd
fixes #2002
11 years ago
Carsten Brandt
1e75427393
updated classmap and phpdoc
11 years ago
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
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
Carsten Brandt
e2aacad8aa
Added links to PHP.net to apidoc
11 years ago
AlexGx
1982efbdfe
many phpcs fixes
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Mohorev
c7e8d8b900
@param , @var , @property and @return must declare types as boolean, integer, string, array or null
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
Qiang Xue
bea9e3fc06
Fixes #1645 : Added support for nested DB transactions
11 years ago
Qiang Xue
25b466d278
Fixes #2083 : make sure keys of object type work with ActionColumn, GridView, etc.
11 years ago