Qiang Xue
41685a2409
moved extensions under yii.
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
Paul Klimov
3db7a07534
Method "yii\sphinx\ActiveRecord::find()" removed in favour of "BaseActiveRecord::find()".
11 years ago
Paul Klimov
c9624eee55
Sphinx Active Record refactored to extend "BaseActiveRecord".
11 years ago
Paul Klimov
3dbb3d40dd
Sphinx unit tests fixed.
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
Carsten Brandt
16239c2395
reverted wrong change in sphinx
11 years ago
Carsten Brandt
324e10694d
updated sphinx active record with changes from DB AR
11 years ago
Carsten Brandt
e2ff98ab53
fixed broken sphinx AR::attributes() declaration
...
Model::attributes() has been made static
11 years ago
Carsten Brandt
8be4f3778a
updated properties of extensions
11 years ago
Klimov Paul
2c22fe3f25
Code style and docs at "yii\sphinx\*" fixed.
11 years ago
Paul Klimov
400b5310ca
Docs for Sphinx extension updated.
11 years ago
Paul Klimov
01c269a912
Redundant typecast removed from yii\sphinx\ActiveRecord::create()
11 years ago
Paul Klimov
765d47d00d
Sphinx Active Record updated to be compatible with ActiveDataProvider.
11 years ago
Klimov Paul
bb46d0594e
Sphinx documentation updated.
11 years ago
Paul Klimov
d1c87c7e31
Sphinx documentation updated.
11 years ago
Paul Klimov
9a45a04365
Create relation methods added to Sphinx Active Record.
11 years ago
Paul Klimov
bd79e1c1be
Sphinx Active Record saving via 'replace' converted into fallback
11 years ago
Paul Klimov
cd3950aaa7
Sphinx Active Record saving advanced to use 'replace' for runtime indexes
11 years ago
Klimov Paul
d6ddfd7bb3
Methods "callSnippets()" and "callKeywords()" added to Sphinx Active Record
11 years ago
Klimov Paul
0bc91f29e7
Sphinx Active Record relation handling provided.
11 years ago
Klimov Paul
f228f21541
"ActiveRelationInterface" applied to Sphinx Active Record.
11 years ago
Paul Klimov
37862b6ee2
Unsupported "update counters" feature removed from Sphinx Active Record.
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
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Carsten Brandt
913eb62294
updated phpdoc and fixed generator read/write-only annotation
11 years ago
Carsten Brandt
0bc8cbf158
php-doc
...
[ci skip]
11 years ago
Carsten Brandt
c4468ac315
forgot to remove strtolower from __get and __unset
11 years ago
Carsten Brandt
a23c54acb8
made relation names in AR case sensitive
11 years ago
Carsten Brandt
90839ceb5d
Proposal for accessing populated relations
...
fixes #842
- allows checking whether a relation has been populated
- getting a list of relation names that have been populated
- getting all populated relation data
todo:
- [] add phpdoc
11 years ago
Carsten Brandt
d8b94d647b
made AR attribute manipulation behave consistent to hasAttribute()
11 years ago
Alexander Mohorev
18fbd7510a
Missing return statement
11 years ago
Carsten Brandt
0146596647
add relationClassName to AR to allow different relation classes
...
... for different dbms
11 years ago
Qiang Xue
6c6dd01122
Fixes #1052 : unset related data when ActiveRecord::refresh() is called.
11 years ago
Qiang Xue
fb8e818204
Dropped support for supporting default namespace for classes of related models.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
6133133ec0
added dependency in db\AR -> redis\AR needs to be refactored later
...
this is to make relations work. tests are passing now.
refactoring needed to remove the dependency
11 years ago
Carsten Brandt
c6c164dc71
made link() and unlink() compatible with NoSQL AR
11 years ago
Carsten Brandt
77a3eec343
ActiveRecord::isPrimaryKey() made public
11 years ago
Qiang Xue
a2b4ef0f82
Fixes #876 .
11 years ago
Qiang Xue
c6f4dac249
Refactored AR code.
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
04a0ca5aab
revert accidental change in db ActiveRecord
11 years ago
Carsten Brandt
e3df19d984
Redis AR WIP
...
- introduced RecordSchema class for schema definition
11 years ago
Niko Wicaksono
a042d20c22
Use `hasAttribute()` instead to avoid code duplication
11 years ago
Qiang Xue
4727ac8f1d
Refactored the feature of transactional operations.
11 years ago
Qiang Xue
6823fdedaf
Fixes #717 : Added ActiveRecord::hasAttribute()
11 years ago