Qiang Xue
e5a87af234
Fixes #4331 : `yii\helpers\Url` now uses `UrlManager` to determine base URL when generating URLs
10 years ago
Qiang Xue
61b627a6fc
Fixes #4318 : `yii\helpers\Html::ul()` and `ol()` will return an empty list tag if an empty item array is given
10 years ago
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
10 years ago
Klimov Paul
e6f7d9b625
Security helper files removed
10 years ago
resurtm
fb9df78795
Fixes #4080 , FileHelper::removeDirectory():
...
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
10 years ago
Carsten Brandt
f46cffb4e4
Implement console color ansi2html
...
issue #746
10 years ago
Alexander Makarov
02e3746013
Fixed Inflector::slug to work properly with numbers
10 years ago
Alexander Makarov
c3de3450a7
Fixes #3939 : `\yii\Inflector::slug()` improvements:
...
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
10 years ago
Alexander Makarov
a8423bbaed
Removed commented code
10 years ago
Qiang Xue
24257e76c8
Fixes #3909 : `Html::to()` should not prefix base URL to URLs that already contain scheme
10 years ago
Alexander Makarov
f8e05fbf4f
Improved `yii\helpers\Inflector::slug` to support more cases for Russian, Hebrew and special characters
10 years ago
Klimov Paul
f19a97e308
Fix `yii\helpers\FileHelper::copyDirectory()` pattern not working
10 years ago
Alexander Makarov
d7a251bbec
Removed unused imports, added missing phpdoc
10 years ago
Carsten Brandt
873b2b04db
fixed test breaks after #3614
10 years ago
Carsten Brandt
4de6e8c6b2
fix #3501 replace . when generating input ids
11 years ago
Qiang Xue
96feeb894c
Fixed test break of Html.
11 years ago
Carsten Brandt
1a848453a1
tried to fix tests for #3472
11 years ago
Scott Tester
390004a899
Fixed path in unit test to use the directory separator variable.
11 years ago
Scott Tester
be89ff97d3
fixed normalizePath to keep a '.' path when necessary.
11 years ago
DaSourcerer
be164e45db
Handle invalid code sequences in Html::encode()
11 years ago
Klimov Paul
8d0fb916c0
`VarDumper::exportAsString()` removed
11 years ago
Paul Klimov
e11ecad1ce
Object handling at `BaseVarDumper::export()` reworked
11 years ago
Paul Klimov
7c69c9141c
BaseVarDumper::export() added
11 years ago
Alexander Makarov
a4c644d3a3
Fixes #3325 : fixed generated markup for conditional comments
...
No changelog line since feature was introduced after beta
11 years ago
Alexander Makarov
a620342315
Adjusted phpdoc, tests and changelog for StringHelper::truncate and StringHelper::truncateWords
11 years ago
Qiang Xue
4fcd5003de
Fixes #2906 : Added support for using conditional comments for js and css files registered through asset bundles and Html helper
11 years ago
Carsten Brandt
78a8694eb5
file helper did not preserve relative paths
11 years ago
Qiang Xue
ab218addda
Fixes #2563 : Theming is not working if the path map of the theme contains ".." or "." in the paths
11 years ago
Alexander Makarov
7295540c72
Code style and phpdoc fixes
11 years ago
Qiang Xue
0e143338d7
Finished refactoring find() .
11 years ago
Qiang Xue
b7d6f6141a
Added `isAssociative()` and `isIndexed()` to `yii\helpers\ArrayHelper`
11 years ago
lubosdz
612d3ed27d
removed redundant whitespace
11 years ago
lubosdz
164459f90a
Fixed test break and JSON MIME type. Fixes issue #2978 .
11 years ago
lubosdz
0040633fa4
Fixed test break and JSON MIME type. Fixes issue #2978 .
11 years ago
Alex-Code
1c80b9d2cc
Test case for new truncate methods.
...
Test case for new truncate methods.
11 years ago
Qiang Xue
6e8c460273
Fixes #2724 : consistent use of absolute and relative routes.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
5d309c2075
added unit tests for boolean attributes
...
fixes #1022
11 years ago
Alexander Makarov
2ceab799e2
Removed unneeded config from tests
11 years ago
Alexander Makarov
842e7eb573
Added tests, final Url helper adjustments
11 years ago
AlexGx
32d0768919
style fixes with phpcs:yii2
11 years ago
Alexander Makarov
71835d977e
More short syntax for arrays
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Mohorev
6e7edfdf5b
short array syntax
11 years ago
Qiang Xue
04bf51b01a
Fixes #2392 : Added `addCssStyle()`, `removeCssStyle()`, `cssStyleFromArray()` and `cssStyleToArray()` to `Html`
11 years ago
John Was
b2b10d1685
more unit tests for helpers/FileHelper::findFiles using new wildcard exceptions matching
11 years ago
Qiang Xue
9e66e08bc7
Fixes #802 : Added support for retrieving sub-array element or child object property through `ArrayHelper::getValue()`
11 years ago
Qiang Xue
0b28f290f3
Fixes #1704 : Incorrect regexp is used in `Inflector::camelize()`
11 years ago
Antonio Ramirez
08aaeda397
refactored inflector's slug and improved fallback char map
11 years ago
Antonio Ramirez
b7904c46aa
remove TransliteratorHelper
11 years ago