Commit Graph

100 Commits

Author SHA1 Message Date
Carsten Brandt
3d59b19a21 added classes to grid, list and detail view
to allow specific styling
also fixed an issue with gridview sort indicator css.

fixes #1000
2014-01-05 14:45:09 +01:00
Carsten Brandt
7a1949fe2d improved traceability of errors thrown in toString() methods 2014-01-01 17:11:48 +01:00
Qiang Xue
27658e56ae Fixes #1647: Changed the default CSS class of error block to be error-block 2014-01-01 10:29:04 -05:00
Qiang Xue
70c23ca43b Typo fix. 2013-12-28 22:31:46 -05:00
Qiang Xue
85c774e01d Fixes #1681: Added support for automatically adjusting the "for" attribute of label generated by ActiveField::label() 2013-12-28 21:32:27 -05:00
futbolim
2eee7b3f1b Update ActiveField.php
doc fixes
2013-12-22 17:36:40 +02:00
Qiang Xue
0ff8518c21 Fixes #1550: fixed the issue that JUI input widgets did not property input IDs. 2013-12-21 17:07:31 -05:00
Jacob Morrison
226c9f22d0 Fixed issue with tabular input in ActiveField::radio and checkbox 2013-12-18 08:56:19 -08:00
Carsten Brandt
ed7b7db8b9 LinkSorter did not use Html options
fixes #1556
2013-12-17 03:47:15 +01:00
Alexander Makarov
7488caacc3 fixes #1515 2013-12-14 14:37:10 +01:00
Qiang Xue
858c031d0c Fixes #1437: Added ListView::viewParams. 2013-12-05 16:36:11 -05:00
Qiang Xue
fb3ebe7000 doc cleanup. 2013-11-29 12:47:10 -05:00
Qiang Xue
c9e4773ebb Moved key serialization from data provider to data viewers. 2013-11-29 12:42:26 -05:00
Qiang Xue
56f2530151 Fixed typo. 2013-11-26 09:57:53 -05:00
Qiang Xue
19bffa38c8 Fixes #1326: DetailView: visibility of the attribute 2013-11-26 08:44:57 -05:00
Andrea Panattoni
4941db1eee Checkboxlist documentation fix
"Item" parameter keys are the values of the checkbox list,
while the values are the checkbox labels.
2013-11-21 22:37:03 +01:00
Carsten Brandt
c7ef701d8a Renamed DetailView attribute type to format
for consistency with GridViews DataColumn where the same property is
also named format
2013-11-21 15:18:06 +01:00
Alexander Makarov
c5e8aabe05 Fixes #1245: LinkPager now renders disabled links as spans preventing these to be clickable 2013-11-21 00:38:48 +04:00
slavcodev
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
Taras Gudz
9b95a81b0c Fixed the rest phpDocs [skip ci] 2013-11-12 03:13:37 +00:00
Qiang Xue
183a0bfaef hide summary when empty. 2013-11-10 21:20:15 -05:00
Qiang Xue
743d31a8e6 Fixes #1075: separated empty switch and empty display for ListView and GridView. 2013-11-10 21:07:13 -05:00
Qiang Xue
1bee84746c Fixes #1060: added code comment 2013-11-01 10:21:54 -04:00
Carsten Brandt
6559b06ead made intl messages more compatible with various ICU versions
issue #1072
2013-10-30 11:20:03 +01:00
Carsten Brandt
66fd16e8a6 fixed gridview message pattern 2013-10-30 10:17:26 +01:00
Carsten Brandt
ec490dcaa6 made gridview plural rule compatible with ICU version < 4.8
issue #1072
2013-10-29 17:14:34 +01:00
Carsten Brandt
3b05e71561 ensure parameter types in baselistview message
fixes #1072
2013-10-28 11:01:38 +01:00
Qiang Xue
2a71c72d7c fixes #1066: Added ActiveForm::validate() and validateMultiple() 2013-10-24 21:24:30 -04:00
Alexander Makarov
2ce09559a2 fixes #1055 2013-10-24 14:50:51 +04:00
Qiang Xue
9f7ca5d222 Merge pull request #1051 from cebe/validator-message-format
Validator message format
2013-10-23 16:49:08 -07:00
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
Carsten Brandt
58e6a72987 fixes #991 for gridview summary, use ITU message format 2013-10-23 20:35:28 +02:00
Alexander Makarov
32e3634838 Fixed ActiveForm 2013-10-19 01:04:24 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
resurtm
b3b5e36d42 Remove use ($this). Related to 9e1b498fb5. 2013-10-18 09:46:52 +06:00
resurtm
9e1b498fb5 PHP 5.4 supports $this with closures. 2013-10-18 09:31:37 +06:00
Carsten Brandt
677893eb79 changed plural format for BaseListView 2013-10-16 22:13:28 +02:00
Carsten Brandt
6544db48dc consistent summary display for ListView and GridView
Total 0 items. when list is empty.
and showing x out of x for n>0 and paging on.
2013-10-13 21:43:51 +02:00
Alexander Makarov
6488fe47ec Better phpdoc for chained method calls 2013-10-10 13:34:16 +04:00
Qiang Xue
0035f23781 refactored data providers. 2013-10-01 21:35:35 -04:00
Qiang Xue
d03d681583 Fixes #928: client validation should be applied to active attributes only. 2013-09-30 10:14:08 -04:00
Alexander Makarov
fc75ab87be Renamed ListViewBase → BaseListView 2013-09-28 22:42:42 +04:00
Alexander Makarov
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00
Qiang Xue
db212f0586 Added $label parameter to ActiveField::label(). 2013-09-09 22:49:01 -04:00
Qiang Xue
791905e8bb Reverted previous change as it breaks layout. 2013-09-09 08:44:40 -04:00
Qiang Xue
ea561ed3e0 Fixes #861. 2013-09-09 07:05:35 -04:00
Qiang Xue
4edd842558 Added LinkSorter::attributes. 2013-09-07 23:43:47 -04:00
Qiang Xue
02e3b451be Removed sorter from the default display of ListView. 2013-09-07 23:43:26 -04:00
Carsten Brandt
ca69ef09d4 update of @property annotations 2013-08-28 14:59:52 +02:00
Carsten Brandt
bdb77f33ba updated @property annotations of many classes 2013-08-28 14:16:13 +02:00