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
Ryadnov
0367d0a6a4
fixes initializing attributes in Sort class
11 years ago
Qiang Xue
27238f8d03
refactored ActiveDataProvider.
11 years ago
Qiang Xue
62dee1490b
Fixes #709 .
11 years ago
Qiang Xue
dd5368b349
Refactored ActiveDataProvider.
11 years ago
Qiang Xue
b31b02a55d
renamed IDataProvider::getItems() to getModels()
11 years ago
Qiang Xue
eda171e1be
Added more YII_ENV constants.
11 years ago
Qiang Xue
5d9c23c67b
Added Sort::hasAttribute().
11 years ago
Qiang Xue
dc893ec669
Added DataProvider::id
11 years ago
Qiang Xue
7eb33d65c6
Refactored Sort.
11 years ago
Qiang Xue
9aa7b26184
Added LinkSorter.
11 years ago
Qiang Xue
ac8801bc63
Added SortTest
11 years ago
Qiang Xue
4965248182
Refactored Sort.
11 years ago
Luciano Baraglia
4e28b18c81
Doc Fixes
11 years ago
Philipp Frenzel
b0c6785afc
Add echo into docs for link pager
...
I'm not sure if echo should be mentioned, but without the echo before the LinkPager::widget() the user would see nothing.
12 years ago
Qiang Xue
111e7b3f60
method renaming.
12 years ago
Qiang Xue
a6746ed0f5
Added ArrayDataProvider.
12 years ago
resurtm
067c00843a
Pagination doc fix.
12 years ago
Qiang Xue
aa31b56aaf
Finished unit test of ActiveDataProvider.
12 years ago
Qiang Xue
53a1f9608a
Added unit test for ActiveDataProvider.
12 years ago