Commit Graph

28 Commits

Author SHA1 Message Date
Qiang Xue
04bf51b01a Fixes #2392: Added addCssStyle(), removeCssStyle(), cssStyleFromArray() and cssStyleToArray() to Html 2014-02-23 19:12:33 -05:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Qiang Xue
463ff43b4f test break fix. 2013-09-20 16:39:22 -04:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Qiang Xue
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Qiang Xue
24a66b383d test break fix. 2013-08-09 09:50:19 -04:00
Qiang Xue
6d66a98acb test break fix. 2013-08-09 09:32:28 -04:00
Qiang Xue
7aeb2fcf4f Fixed test breaks. 2013-08-09 09:21:41 -04:00
Qiang Xue
915a3cd779 Fixes #653: use boolean type to indicate boolean attributes. 2013-07-23 20:45:14 -04:00
Qiang Xue
c3df0beecd changed parameter ordering. 2013-07-07 09:46:14 -04:00
Qiang Xue
71a156ebdf Added itemOptions for Html::ol 2013-06-25 16:16:36 -04:00
Qiang Xue
d87afeb496 encode checkbox and radio list by default. 2013-06-25 16:12:18 -04:00
Qiang Xue
d5bd9853ea Added Html::ol() and Html::ul() 2013-06-25 13:53:20 -04:00
Alexander Kochetov
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
Qiang Xue
11c14a20e9 Simplified button signature. 2013-06-19 08:54:09 -04:00
Qiang Xue
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a, reversing
changes made to 6b6390f72b.
2013-06-16 19:45:58 -04:00
Carsten Brandt
71782b344e Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00
Qiang Xue
2369019d22 Fixed test break. 2013-06-15 15:56:37 -04:00
Qiang Xue
17b1e5d2fc Fixes issue #234: Added Html::addCssClass() and removeCssClass(). 2013-06-11 16:35:14 -04:00
Carsten Brandt
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02:00
Benjamin Wöster
f23a677bdf mod: incorporate suggestions
- rename requireApp() to mockApplication()
- always destroy app on tearDown()
  - eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
  - mockApplication() becomes a lot easier. Destroying app on each tearDown
    means creating it on every call is fine. No more checking if it already
    exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app
2013-05-10 02:01:08 +02:00
Benjamin Wöster
d4b30e26c2 allow unit tests to requireApp() on setUp() 2013-05-09 20:41:57 +02:00
Qiang Xue
a4b7d493b0 Removed the $value parameter from radio and checkbox. 2013-04-27 22:03:14 -04:00
Qiang Xue
399a53cfc4 activeform wip 2013-04-27 16:51:05 -04:00
Alexander Makarov
08be696434 fixed Html test under Windows (line endings) 2013-04-23 14:32:54 +04:00
Qiang Xue
122bd231b4 modified Application constructor signature. 2013-04-09 22:43:04 -04:00
Alexander Makarov
9da81894be moved helper test from util namespace to helpers namespace, added tests for StringHelper 2013-03-29 18:23:50 +04:00