Qiang Xue
f6dd6fa2e9
Renamed ActiveRecordInterface::createActiveRelation() to createRelation()
2014-01-24 14:46:53 -05:00
Qiang Xue
5b3fa9f5ba
Fixes #2091 : QueryBuilder::buildInCondition() fails to handle array not starting with index 0
2014-01-21 08:52:36 -05:00
Carsten Brandt
796284cba1
reworked fix for #1993
2014-01-16 11:05:26 +01:00
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
2014-01-16 10:28:58 +01:00
Qiang Xue
da9d544c54
psr-4 change.
2014-01-10 21:06:25 -05:00
Qiang Xue
41685a2409
moved extensions under yii.
2013-12-09 23:51:49 -05:00
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
2013-12-04 14:26:47 +01:00
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
2013-12-04 09:48:01 +01:00
Paul Klimov
3db7a07534
Method "yii\sphinx\ActiveRecord::find()" removed in favour of "BaseActiveRecord::find()".
2013-12-03 11:17:51 +02:00
Paul Klimov
c9624eee55
Sphinx Active Record refactored to extend "BaseActiveRecord".
2013-12-03 11:09:45 +02:00
Carsten Brandt
d52cf5a222
Fixed sphinx composer.json
2013-12-01 05:43:40 +01:00
Qiang Xue
73442fb12a
doc fix.
2013-11-30 15:51:20 -05:00
Qiang Xue
8245e574d9
fixed readme
2013-11-29 23:59:09 -05:00
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
2013-11-29 12:49:07 -05:00
Paul Klimov
3dbb3d40dd
Sphinx unit tests fixed.
2013-11-28 11:34:13 +02:00
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
2013-11-28 01:01:48 +01:00
Carsten Brandt
16239c2395
reverted wrong change in sphinx
2013-11-27 22:31:44 +01:00
Panagiotis Moustafellos
21014b4064
swapped docs and Exception to type InvalidParamException
2013-11-26 04:56:07 +02:00
Qiang Xue
16739ec3f0
Merge pull request #1321 from pmoust/inheritdoc-fix
...
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-25 18:29:59 -08:00
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-26 04:24:20 +02:00
Carsten Brandt
324e10694d
updated sphinx active record with changes from DB AR
2013-11-26 01:48:52 +01:00
Carsten Brandt
e2ff98ab53
fixed broken sphinx AR::attributes() declaration
...
Model::attributes() has been made static
2013-11-25 15:34:26 +01:00
Carsten Brandt
8be4f3778a
updated properties of extensions
2013-11-25 15:33:59 +01:00
Carsten Brandt
e837e44ac1
updated ext composer.json for issue labels
2013-11-25 02:31:23 +01:00
Carsten Brandt
8ac2b7364d
moved redis to extensions
2013-11-25 02:27:04 +01:00
Klimov Paul
5a8afcf720
"yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options.
2013-11-23 18:42:43 +02:00
Klimov Paul
2c22fe3f25
Code style and docs at "yii\sphinx\*" fixed.
2013-11-23 18:22:54 +02:00
Paul Klimov
400b5310ca
Docs for Sphinx extension updated.
2013-11-22 14:06:32 +02:00
Paul Klimov
01c269a912
Redundant typecast removed from yii\sphinx\ActiveRecord::create()
2013-11-22 13:37:43 +02:00
Paul Klimov
c1b5946d40
yii\sphinx\Command reworked to extend yii\db\Command.
...
yii\sphinx\DataReader removed.
2013-11-22 13:26:42 +02:00
Paul Klimov
18af6984fc
Merge branch 'sphinx' of github.com:klimov-paul/yii2 into sphinx
2013-11-21 13:43:11 +02:00
Paul Klimov
765d47d00d
Sphinx Active Record updated to be compatible with ActiveDataProvider.
2013-11-21 13:41:35 +02:00
Klimov Paul
bb46d0594e
Sphinx documentation updated.
2013-11-20 20:24:56 +02:00
Paul Klimov
d1c87c7e31
Sphinx documentation updated.
2013-11-20 17:28:02 +02:00
Paul Klimov
6a5b8d1904
Sphinx Query refactored.
2013-11-20 11:27:44 +02:00
Paul Klimov
9a45a04365
Create relation methods added to Sphinx Active Record.
2013-11-19 17:18:54 +02:00
Paul Klimov
8bec8c5f57
Sphinx Query Builder updated to respect column types for where statements
2013-11-19 16:35:20 +02:00
Paul Klimov
6bfc888c8f
Sphinx Active Relation created
2013-11-18 16:56:28 +02:00
Paul Klimov
01df011ea3
Sphinx Query updated to implement QueryInterface.
2013-11-18 15:53:45 +02:00
Paul Klimov
bd79e1c1be
Sphinx Active Record saving via 'replace' converted into fallback
2013-11-18 15:36:06 +02:00
Paul Klimov
cd3950aaa7
Sphinx Active Record saving advanced to use 'replace' for runtime indexes
2013-11-18 14:03:42 +02:00
Paul Klimov
102f386873
Index schema type support added to Sphinx
2013-11-18 13:36:17 +02:00
Paul Klimov
bbb5e1dba2
Redundant support of schema name removed from Sphinx
2013-11-18 12:50:19 +02:00
Klimov Paul
e1065ef1fc
"snippetByModel" option added to Sphinx Active Query.
2013-11-17 17:02:47 +02:00
Klimov Paul
386b58b2a1
Snippet call options added to Sphinx Query.
2013-11-17 16:26:58 +02:00
Klimov Paul
7fb4bfdd21
Sphinx Active Query fixed
2013-11-17 14:09:22 +02:00
Klimov Paul
d6ddfd7bb3
Methods "callSnippets()" and "callKeywords()" added to Sphinx Active Record
2013-11-16 17:14:15 +02:00
Klimov Paul
0bc91f29e7
Sphinx Active Record relation handling provided.
2013-11-16 15:32:03 +02:00
Klimov Paul
f228f21541
"ActiveRelationInterface" applied to Sphinx Active Record.
2013-11-16 15:10:33 +02:00
Paul Klimov
fa08674261
"yii\sphinx\ActiveQuery" refactored.
...
"yii\sphinx\Schema" caching fixed.
2013-11-15 16:31:18 +02:00