134 Commits

Author SHA1 Message Date
0895f212c6 improved docs about tag option in HTML options 2016-07-03 10:57:47 +02:00
16e4cab8f1 Fixes #11865: Fixed setting selected for dropdown list using options 2016-07-03 01:43:50 +03:00
c370c17e93 Additional fix for ##11168 2016-06-24 17:32:01 +03:00
348cc17dbb Fixes #11168: yii\helpers\BaseHtml now uses abstracted booleanInput() and activeBooleanInput() methods to render radio(), checkbox(), activeRadio() and activeCheckbox() 2016-06-24 00:01:46 +03:00
a46015124c improved docs for Html::a() and absolute URLs
fixes #11216
2016-03-28 16:33:30 +02:00
16a6af5fa8 Add helper function for checking if an object is an array-like object.
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
2016-02-24 23:49:05 +02:00
3bf3c20710 Merge remote-tracking branch 'upstream/master' into 10764-enh-options-tag
# Conflicts:
#	framework/CHANGELOG.md
2016-02-15 17:37:40 +01:00
cc7628e5d2 WIP #10764: update docs [skip ci] 2016-02-10 00:50:52 +01:00
295bb3e173 WIP #10764: adjusted Html::beginTag and Html::endTag methods to be consistent 2016-02-09 18:13:32 +01:00
ef5ce2d4c1 missing @since annotations in helpers 2016-02-07 17:46:12 +01:00
cd7039e97c WIP #10764 2016-02-07 16:39:41 +01:00
dcda2a2466 BaseHtml::checkboxList minor update 2015-12-21 18:09:44 +02:00
85c6a903dc Enh #10390: Added ability to disable outer tag for \yii\helpers\BaseHtml::radiolist(), ::checkboxList 2015-12-21 18:04:49 +02:00
f95a6d9d08 Merge pull request #10292 from Faryshta/patch-5
use ArrayHelper::remove() for the html helper methods
2015-12-19 18:59:44 +02:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
2d05b11f68 remove PHP_EOL 2015-12-02 04:21:45 -06:00
ec43f4c370 add separator around the items in ul() 2015-12-01 08:00:39 -06:00
d0ffb58efb syntax error 2015-12-01 07:34:40 -06:00
7a2bbabbbd add separator special option to ul and listBox 2015-12-01 07:28:09 -06:00
7618e4ee13 changes suggested by review. 2015-12-01 00:18:50 -06:00
5b67bc1822 use ArrayHelper::remove() 2015-11-30 19:32:41 -06:00
ac36016c7f Expanded strcasecmp() condition for clarity 2015-11-18 11:32:06 +01:00
f632f4d41f Fix docs as per @SilverFire suggestions [ci skip] 2015-11-18 10:51:55 +01:00
cca500083e Implement #10078: Allow disabling csrf hidden input generation on a form 2015-11-18 10:22:31 +01:00
c3bfa5c77e fixed Html::activeFileInput() to set correct name for hidden input field
fixes #9689
2015-11-15 13:39:07 +01:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
728dc0c584 added docs about form element naming
close #8993
2015-08-03 12:51:17 +02:00
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
2aba8df2ef Fixes #9228 2015-07-27 18:57:10 +03:00
b16d734c29 Fixes #8671: Extracted yii\helpers\Html::escapeJsRegularExpression() method from yii\validators\RegularExpressionValidator 2015-07-27 17:40:38 +03:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
0874ffac38 Fixed yii\helpers\Html::activeTextarea() does not allow value overriding via options 2015-05-29 12:31:52 +03:00
d4d972b535 Merge branch '6043-html-arrays'
Conflicts:
	framework/CHANGELOG.md
2015-05-27 11:56:58 +03:00
0f04af1af9 Added support to automatically set the maxlength attribute for Html::activeTextArea() and Html::activePassword() 2015-05-20 12:05:53 +03:00
0a7191dbfe Preserving of the named key classes at yii\helpers\Html::addCssClass() provided 2015-05-18 12:48:51 +03:00
41f6a6e558 Specification for 'class' and 'style' in array format added to yii\helpers\Html 2015-05-18 12:14:57 +03:00
3a39f8ab72 yii\helpers\Html allows correct rendering of conditional comments containing !IE 2015-05-14 16:22:26 +03:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
f6b4601a83 improved doc message 2015-05-09 22:50:15 +02:00
8c81a15ac9 Fixed yii\helpers\Html::dropDownList() overrides label specified at 'groups' option 2015-04-28 15:45:03 +03:00
5dd3a14141 Fixes #7851: removed incorrect phpdoc lines 2015-04-21 00:34:34 +03:00
296e5816d8 typo #8113 2015-04-20 12:25:19 +02:00
95d65b4958 added missing @since tag 2015-04-20 12:56:41 +03:00
427ee8dcbf Automatic encoding at BaseHtml::activeHint() removed 2015-04-20 12:42:41 +03:00
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00
5ed412495e Added dot symbol to Html::getInputId()
close #7209
2015-02-28 23:15:34 +01:00
94564cd766 minor fix [skip ci] 2015-02-26 21:45:57 -05:00