Alexander Makarov
5795522fc2
Use Yii::$app->user->login result in LoginForm
11 years ago
Qiang Xue
effc41c1cf
minor refactoring.
11 years ago
Qiang Xue
256ceee7fe
Merge pull request #1208 from cebe/ar-pk-public
...
Made ActiveRecord::isPrimaryKey() public
11 years ago
Carsten Brandt
4e80dc54c2
removed hard dependency of Pagination -> web\Request
...
issue #1207
11 years ago
egorpromo
c16c181247
Must be one method to get _GET. getGet() is just duplication
11 years ago
Carsten Brandt
f217948bf4
fixed test break after #1207
11 years ago
Carsten Brandt
0c505fcad8
Merge pull request #1207 from egorpromo/eliminate_get
...
Eliminating $_GET array
11 years ago
Carsten Brandt
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
11 years ago
Alexander Makarov
5b36503ca8
One less SQL query for login sequence in basic and advanced apps
11 years ago
egorpromo
a446f3a586
Eliminating
11 years ago
Qiang Xue
b06caa297b
Fixes #1206 .
11 years ago
Qiang Xue
ffded7a1b5
array syntax fix.
11 years ago
Qiang Xue
542477c323
typo fix.
11 years ago
Qiang Xue
6992cc2c73
Fixes #1196 .
11 years ago
Qiang Xue
42a58870fe
moved db interfaces and traits back to yii/db.
11 years ago
Qiang Xue
3106105ed0
changed color setting.
11 years ago
Qiang Xue
c7b430cf55
removed extra line.
11 years ago
Qiang Xue
8775e25ca6
Added readme and updated test helper classes.
11 years ago
Qiang Xue
220e6dc42d
Added readme about tests.
11 years ago
Qiang Xue
cd7a4a6745
fixed functional test.
11 years ago
Qiang Xue
b44921126b
Merge pull request #1097 from yiisoft/db-traits
...
Db traits
11 years ago
Carsten Brandt
8250cfbb0f
reverted change of count() signature
11 years ago
Qiang Xue
368dd4b1d4
Allow Validator::except to be either a string or an array.
11 years ago
Carsten Brandt
71a619d2ae
Merge pull request #1200 from zhuravljov/master
...
Fixed gii after merge #1184
11 years ago
KiTE
c5ee83bffb
Fixed gii after merge #1184
11 years ago
Carsten Brandt
1acdbb741c
moved indexBy() trait -> interface + removed findWith from interface
11 years ago
Carsten Brandt
51faa62eca
updated interface and trait php-doc in yii\ar
...
[ci skip]
11 years ago
Carsten Brandt
ced7ee1b8a
dataprovider: reset orderBy when counting
...
strict sql dbms like postgres would fail otherwise
11 years ago
Carsten Brandt
9448c3d471
added unit tests for active dataprovider and fixed query tests
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
Qiang Xue
6fd0f0da19
Merge pull request #1197 from slavcodev/asset-dir
...
Move AppAsset from config to assets directory
11 years ago
slavcodev
4c4f7bd708
Move AppAsset from config to assets directory
11 years ago
Carsten Brandt
c8c7f59d69
Merge branch 'master' into db-traits
...
Updated AR classes with the latest changes from master to go on with
separation of AR query classes in traits.
Conflicts:
framework/yii/db/ActiveQuery.php
framework/yii/db/ActiveRecord.php
framework/yii/db/ActiveRelation.php
11 years ago
Carsten Brandt
b8e31d50bb
renamed AR trait classes
11 years ago
Qiang Xue
5b0886f10b
Allow "on" and "attributes" to take either array or string for validators.
11 years ago
Qiang Xue
447bad5a12
Merge pull request #1184 from slavcodev/only-arrays-in-rules
...
Using only arrays in rules instead comma-separated string
11 years ago
Qiang Xue
75dc290a24
Fixes #1193
11 years ago
Qiang Xue
36c28bee4f
Fixes #1191
11 years ago
Qiang Xue
da93d9b4ba
Fixes #1195 .
11 years ago
Qiang Xue
2d86618644
Merge branch 'master' of github.com:yiisoft/yii2
11 years ago
Qiang Xue
2f8ee2a8b0
typo fix.
11 years ago
slavcodev
f57b3536a2
Fixed apps rules
11 years ago
Carsten Brandt
0eaafd74ba
updated composer.json to be less restrictive
...
also removed superflous minimum-stability definition
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
slavcodev
2adcd16e0d
Update phpDoc
11 years ago
slavcodev
3ff8f10d11
Add array conversion on creating validator
11 years ago
slavcodev
9bf7f791b8
Fix test
11 years ago
slavcodev
cbca145e97
Add type hinting
11 years ago
slavcodev
35681c618b
Fix test
11 years ago
slavcodev
ecc557ef92
Refactor all models to new rules format
11 years ago