Carsten Brandt
16c94efaf5
improved error messages in FileHelper
10 years ago
Carsten Brandt
65a2c54974
fixed unicode in FormatConverter escaping
...
fixes #7603
10 years ago
Carsten Brandt
08e0143c16
created Console::wrapText() to imrove console help output on small screens
10 years ago
SilverFire
12fe0c7b85
Fixes #7488 : Added `StringHelper::explode` to perform explode with trimming and skipping of empty elements
10 years ago
Carsten Brandt
1945738c8d
improved and fixed Html helper and ActiveField phpdoc
...
fixes #7560
10 years ago
Carsten Brandt
2aace3714c
minor adjustments
10 years ago
Brandon Kelly
7a37c47bb2
Fixed #7150 - support ICU single quote syntaxes
...
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'
close #7151
10 years ago
Pavel
5ed412495e
Added dot symbol to Html::getInputId()
...
close #7209
10 years ago
Qiang Xue
94564cd766
minor fix [skip ci]
10 years ago
Qiang Xue
0eb27981cd
Fixes #7440 : Added support to automatically set the `maxlength` attribute for `Html::activeTextInput()`
10 years ago
Leonardo Tietböhl
7f73d6a525
Use getAttributeName()
10 years ago
Leonardo Tietböhl
cdfd73a9ff
Add maxlength option to activeTextInput
...
Issue [#7440 ](https://github.com/yiisoft/yii2/issues/7440 )
10 years ago
Qiang Xue
f57a517f6d
Fixes #7449 : Added `encode` option to allow not encoding select options for `Html::dropDownList()` and `Html::listBox()`
10 years ago
Anton Ivanov
9a52aab0f1
Enh #7449 : `yii\helpers\Html::dropDownList()` and `yii\helpers\Html::listBox()` now supports Unicode characters in option text (yapi68)
10 years ago
Qiang Xue
a3ea7b774d
Fixes #7350 : Added `yii\helpers\Html::$dataAttributes` to support customizing data attributes.
10 years ago
Qiang Xue
7b5cdf041d
Fixes #7255 : Added support to allow widgets that use text input to specify input types
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Alexander Makarov
02d1fefa8c
Removed obsolete requirement from HtmlPurifier phpdoc
10 years ago
Thiago Talma
c997e0d02e
Fixes #7094 : Console confirmation must be answered correctly. To return `true`: `y` or `yes`. To return `false`: `n` or `not`. Any other input the question will be asked again
10 years ago
Alexander Makarov
07aca1c712
Renamed config() to configure() in BaseHtmlPurifier as suggested by @qiang
10 years ago
Alex-Code
d862222304
Fixes #6852 : Added `yii\helpers\BaseHtmlPurifier::helpers()` in order to be able to configure `HtmlPurifier` helper globally via subclassing
10 years ago
Qiang Xue
fe19243da1
Fixes #6969 : `yii\helpers\ArrayHelper::htmlEncode()` and `htmlDecode()` should not remove non-string data
10 years ago
Qiang Xue
4ae7eb1819
Fixes #6697 .
10 years ago
Qiang Xue
59cc605ddd
Fixed version [skip ci]
10 years ago
Qiang Xue
52f4006c11
Fixed Url::current() implementation.
10 years ago
Alexander Makarov
9c7e4e514d
Fixes #6697 : Added `yii\helpers\Url::current()` method that allows adding or removing parameters from current URL
10 years ago
Qiang Xue
201043244d
doc fixes [skip ci]
10 years ago
Qiang Xue
cc3209cf26
Fixes #4502 : Added alias support to URL route when calling `Url::toRoute()` and `Url::to()`
10 years ago
Aviator-Coding
ab926df29f
Update BaseArrayHelper.php
10 years ago
Nikola Basic
95586f243c
Fixed docblock for htmlEncode and htmlDecode [skip ci]
10 years ago
Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Qiang Xue
87c002d5b3
Fixes #6207 : Added support for truncating HTML strings using `StringHelper::truncate()` and `StringHelper::truncateWords()`
10 years ago
Alex-Code
562417c572
truncate and truncateWords can now preserve HTML
...
new private method `truncateHtml` now used by `truncate` and `truncateWords`
10 years ago
Andrei Chugunov
0afd13f0da
Update BaseHtml.php
...
Some Annotation Typos
close #6029
10 years ago
Qiang Xue
cf0c8c37dd
Fixes #5983 : Added `Inflector::sentence()`
10 years ago
pana1990
a61c869256
fix docs
10 years ago
pana1990
eddbb6bedb
dropped locale option
10 years ago
pana1990
a87c55ff97
fix camelCase syntax
10 years ago
pana1990
05263692e5
Fixes #5938 : add sentence method in Arrayhelper for convert the array to a comma-separated sentence
10 years ago
Vasiliy Baukin
ba68986df0
Update BaseArrayHelper.php
...
Recursive method call must have the same parameters as the first call.
10 years ago
Artem Belov
bcd2392673
ArrayHelper::toArray() now uses $properties parameter in recursive calls for descending objects
10 years ago
Victor Demin
e923a13ccd
Readme on "uncheck" parameter in activeCheckbox
...
Just a readme update.
"If you do not want any hidden input, you should explicitly set this option as null."
close #5823
10 years ago
Qiang Xue
f9fba181d6
Fixes #5806 : Allow `Html::encode()` to be used when the application is not started
10 years ago
Alexander Mohorev
899b778994
Correct type declarations
10 years ago
Alexander Mohorev
64b4d6dca1
Correct order of property declaration
10 years ago
Alexander Mohorev
bb8550886e
PHP type casting
10 years ago
Carsten Brandt
49961c4896
change Console::confirm() output to use stdout
10 years ago
Alexander Makarov
b560c9bc90
Fixes #4457 : Added support for using noscript for css files registered through asset bundles and Html helper
10 years ago
Alexander Makarov
48ec791e4a
Fixes #5587 : `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also it is now default for `Json::encode()`
10 years ago
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
10 years ago