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
Qiang Xue
3b1602acc8
Added SecurityTest.
11 years ago
Antonio Ramirez
fc9fb80c21
added TransliteratorHelper class
11 years ago
Florian Fackler
ff7c25ea7b
Fixes #1497 (wrong file rendered if language != sourceLanguage)
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Qiang Xue
7a5a29c767
Added ArrayHelper::keyExists().
11 years ago
Carsten Brandt
c10e8af824
fixed array helper test
11 years ago
Qiang Xue
53457a0a3f
Simplified ArrayHelper::multisort().
11 years ago
Qiang Xue
9efe446545
Fixes #1236 : removed Sort::ASC and DESC
11 years ago
Qiang Xue
1c24b3e0d8
removed TestCase and WebTestCase.
11 years ago
Alexander Makarov
979e8d1619
Replaced assertTrue(file_exists with assertFileExists in FileHelperTest
11 years ago
Alexander Mohorev
51211898f8
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
fceb2d6e21
Fixes #957 : Json::encode() doesn't handle empty object correctly.
11 years ago
Qiang Xue
463ff43b4f
test break fix.
11 years ago
Carsten Brandt
949dda5fdb
tagged tests with @group tags
11 years ago
Carsten Brandt
b5a6dac3ae
renamed test method after implementation rename in FileHelper
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Alexander Makarov
b968402ebd
more tests for FileHelper
11 years ago
Alexander Makarov
cc5618c034
More tests for ArrayHelper and Inflector
11 years ago
Qiang Xue
65352e500f
refactored ActiveField.
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
Qiang Xue
24a66b383d
test break fix.
11 years ago
Qiang Xue
6d66a98acb
test break fix.
11 years ago
Qiang Xue
7aeb2fcf4f
Fixed test breaks.
11 years ago