34dc150f63
doc fixes.
2014-01-06 20:51:43 -05:00
37e22e577e
Paginiation and Sort can now create absolute URLs
2013-12-18 16:33:20 +01:00
2fca1e9061
Fixes #1433 : added default DB connection to SqlDataProvider.
2013-12-05 10:09:44 -05:00
89472955e5
doc fix.
2013-11-30 20:33:45 -05:00
98b4540e38
fixed test break
2013-11-30 20:11:32 -05:00
831e51153b
proper check of "db" property of ActiveDataProvider.
2013-11-30 15:52:22 -05:00
5883e0f34e
Fixes #1358 : Added SqlDataProvider.
2013-11-30 15:49:17 -05:00
a5e3c00d75
replaced inheritdoc tags.
2013-11-29 12:49:07 -05:00
c9e4773ebb
Moved key serialization from data provider to data viewers.
2013-11-29 12:42:26 -05:00
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-26 04:24:20 +02:00
1ae4103b9d
fixed Sort::params to be retrieved from Request instead of $_GET
...
for consistency with paginiation
2013-11-23 18:08:14 +01:00
726a305b7e
fixed test break.
2013-11-19 10:57:59 -05:00
dd97c002a6
fixed test break.
2013-11-19 10:43:30 -05:00
0833fe2e40
Fixed test break.
2013-11-19 10:30:28 -05:00
9efe446545
Fixes #1236 : removed Sort::ASC and DESC
2013-11-19 10:20:07 -05:00
e368671636
changed magic property to getter call in Pagination
...
issue #1228
2013-11-19 09:43:05 +01:00
8d4bf893e1
Fixes #1221 : make it easier to subclass BaseDataProvider with custom pagination.
2013-11-18 11:23:11 -05:00
effc41c1cf
minor refactoring.
2013-11-16 12:41:56 -05:00
4e80dc54c2
removed hard dependency of Pagination -> web\Request
...
issue #1207
2013-11-16 17:26:29 +01:00
a446f3a586
Eliminating
2013-11-16 21:14:53 +07:00
42a58870fe
moved db interfaces and traits back to yii/db.
2013-11-14 22:01:26 -05:00
8250cfbb0f
reverted change of count() signature
2013-11-14 08:06:57 +01:00
ced7ee1b8a
dataprovider: reset orderBy when counting
...
strict sql dbms like postgres would fail otherwise
2013-11-13 19:47:35 +01:00
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
2013-11-13 18:42:50 +01:00
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.
2013-10-28 23:51:48 +03:00
3b05e71561
ensure parameter types in baselistview message
...
fixes #1072
2013-10-28 11:01:38 +01:00
2ce09559a2
fixes #1055
2013-10-24 14:50:51 +04:00
1f6a823073
Short array syntax
2013-10-18 20:52:38 +04:00
f273e0542c
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2: (27 commits)
Fixed typos
fixes #995
Fixed option merging in Console::prompt()
changed default button style
typo fix.
Refactored getModule and hasModule.
Added intl check to tests, better error reporting, credited Aura.Intl for the most complex test pattern
Better MessageFormatter tests
GII sub-modules support - see #871
Module::getModule and Module::hasModule support for sub-modules - see #983
removed needFix method
Removed intl version check since it's very inconsistent and it seems bundled versions are always the same ones for the same PHP versions
Fixes PHP 5.5 weird placeholder replacememt in case no arguments are provided at all (https://bugs.php.net/bug.php?id=65920).
changed plural format for BaseListView
applied new style of Yii::t params to all occurences
fixed I18N handling of special param values and broken message tags
adjusted I18N to be consistent with intl message formatting
improved unit tests for ICU message formatter
fixed regex for multiline patterns
intl message parser now handles too many or too less args
...
2013-10-17 12:56:39 +02:00
0ddd52c09a
commented private property
...
fixes #997
2013-10-17 12:56:14 +02:00
6f9785a293
fixes #995
2013-10-17 12:30:41 +04:00
bcc0cbeba8
Added doc about BaseDataProvider::getPagination().
2013-10-02 08:29:52 -04:00
d798cc791b
Set totalCount.
2013-10-01 21:40:35 -04:00
0035f23781
refactored data providers.
2013-10-01 21:35:35 -04:00
b7948e4840
Removed unnecessary lines
2013-09-26 23:35:02 +08:00
d9b256d734
Fixed pagination not working before data loaded
2013-09-26 20:29:59 +08:00
e19d0dacf9
Fixes #823 : consistent interface naming
2013-09-24 15:45:09 +04:00
263dbd264d
Changed default pagination size to 20.
2013-09-07 23:37:36 -04:00
cb60fa5ddd
Make sure query cloning works as expected.
2013-08-29 17:19:22 -04:00
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
2013-08-28 18:58:59 +02:00
c582e589d2
added note about differing property types
2013-08-28 15:18:13 +02:00
ca69ef09d4
update of @property annotations
2013-08-28 14:59:52 +02:00
bdb77f33ba
updated @property annotations of many classes
2013-08-28 14:16:13 +02:00
53b4ed3d7f
Moved label for Sort::link() to html options
2013-08-26 18:02:44 +02:00
155749e18d
typos in doc
2013-08-26 15:23:22 +02:00
b147760c7b
added label option to Sort::link()
2013-08-26 14:06:48 +02:00
a2eb49cd3e
use @inheritdoc
for ActiveDataProvider::setSort
2013-08-25 11:54:17 +02:00
f9fab5d40d
Lazy fallback of label creation for Sort class
2013-08-25 00:01:26 +02:00
713a987a9d
auto fill sorting colums in ActiveDataProvider if none are configured
2013-08-25 00:00:14 +02:00
c23725aca0
fix dataProvider getSort()
...
correct creation of new Sort object if none is there
2013-08-24 23:43:17 +02:00