Qiang Xue
2fca1e9061
Fixes #1433 : added default DB connection to SqlDataProvider.
11 years ago
Qiang Xue
89472955e5
doc fix.
11 years ago
Qiang Xue
98b4540e38
fixed test break
11 years ago
Qiang Xue
831e51153b
proper check of "db" property of ActiveDataProvider.
11 years ago
Qiang Xue
5883e0f34e
Fixes #1358 : Added SqlDataProvider.
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Qiang Xue
c9e4773ebb
Moved key serialization from data provider to data viewers.
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
1ae4103b9d
fixed Sort::params to be retrieved from Request instead of $_GET
...
for consistency with paginiation
11 years ago
Qiang Xue
726a305b7e
fixed test break.
11 years ago
Qiang Xue
dd97c002a6
fixed test break.
11 years ago
Qiang Xue
0833fe2e40
Fixed test break.
11 years ago
Qiang Xue
9efe446545
Fixes #1236 : removed Sort::ASC and DESC
11 years ago
Carsten Brandt
e368671636
changed magic property to getter call in Pagination
...
issue #1228
11 years ago
Qiang Xue
8d4bf893e1
Fixes #1221 : make it easier to subclass BaseDataProvider with custom pagination.
11 years ago
Qiang Xue
effc41c1cf
minor refactoring.
11 years ago
Carsten Brandt
4e80dc54c2
removed hard dependency of Pagination -> web\Request
...
issue #1207
11 years ago
egorpromo
a446f3a586
Eliminating
11 years ago
Qiang Xue
42a58870fe
moved db interfaces and traits back to yii/db.
11 years ago
Carsten Brandt
8250cfbb0f
reverted change of count() signature
11 years ago
Carsten Brandt
ced7ee1b8a
dataprovider: reset orderBy when counting
...
strict sql dbms like postgres would fail otherwise
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
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
11 years ago
Carsten Brandt
3b05e71561
ensure parameter types in baselistview message
...
fixes #1072
11 years ago
Alexander Makarov
2ce09559a2
fixes #1055
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
0ddd52c09a
commented private property
...
fixes #997
11 years ago
Alexander Makarov
6f9785a293
fixes #995
11 years ago
Qiang Xue
bcc0cbeba8
Added doc about BaseDataProvider::getPagination().
11 years ago
Qiang Xue
d798cc791b
Set totalCount.
11 years ago
Qiang Xue
0035f23781
refactored data providers.
11 years ago
Jin Hu
b7948e4840
Removed unnecessary lines
11 years ago
Jin Hu
d9b256d734
Fixed pagination not working before data loaded
11 years ago
Alexander Makarov
e19d0dacf9
Fixes #823 : consistent interface naming
11 years ago
Qiang Xue
263dbd264d
Changed default pagination size to 20.
11 years ago
Qiang Xue
cb60fa5ddd
Make sure query cloning works as expected.
11 years ago
Carsten Brandt
91c16782ef
finalized PhpDocController
...
- cleanup API and usage, add documetation link
- introduced @property feature in getter or setter which has precedence
over @return or @param tag if present
11 years ago
Carsten Brandt
c582e589d2
added note about differing property types
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Carsten Brandt
53b4ed3d7f
Moved label for Sort::link() to html options
11 years ago
Carsten Brandt
155749e18d
typos in doc
11 years ago
Carsten Brandt
b147760c7b
added label option to Sort::link()
11 years ago
Carsten Brandt
a2eb49cd3e
use `@inheritdoc` for ActiveDataProvider::setSort
11 years ago
Carsten Brandt
f9fab5d40d
Lazy fallback of label creation for Sort class
11 years ago
Carsten Brandt
713a987a9d
auto fill sorting colums in ActiveDataProvider if none are configured
11 years ago
Carsten Brandt
c23725aca0
fix dataProvider getSort()
...
correct creation of new Sort object if none is there
11 years ago
Qiang Xue
5c4ad45f01
Fixes #783 .
11 years ago
Qiang Xue
d4c8f47c17
Fixes #753 : fixed sorting issue of ActiveDataProvider
11 years ago
Alexander Makarov
5490e2a775
removed unused import
11 years ago