7c04ff048f
moved functionality to behavior, added tests
2014-07-03 00:05:48 +02:00
02e3746013
Fixed Inflector::slug to work properly with numbers
2014-06-22 02:03:55 +04:00
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.
2014-06-19 20:33:52 +04:00
a8423bbaed
Removed commented code
2014-06-18 12:51:52 +04:00
f8e05fbf4f
Improved yii\helpers\Inflector::slug
to support more cases for Russian, Hebrew and special characters
2014-06-08 05:44:31 +04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
0b28f290f3
Fixes #1704 : Incorrect regexp is used in Inflector::camelize()
2013-12-30 10:07:44 -05:00
08aaeda397
refactored inflector's slug and improved fallback char map
2013-12-27 18:06:27 +01:00
1f6a823073
Short array syntax
2013-10-18 20:52:38 +04:00
949dda5fdb
tagged tests with @group tags
2013-09-14 12:49:47 +02:00
cc5618c034
More tests for ArrayHelper and Inflector
2013-08-26 03:21:19 +04:00
0596fa82fd
code style fixes
2013-08-13 02:43:47 +04:00
291f3b35d0
Refactored Inflector.
2013-05-22 18:20:56 -04:00
dc8dbdc64a
fixed tests
2013-05-22 11:04:08 +02:00
05523640f2
fixed pluralize + singularize rules for tests
2013-05-22 10:59:09 +02:00
7b98b42418
added inflection methods from StringHelper + some comment fixes
2013-05-22 08:35:03 +02:00
f9222a083a
fix failing test
2013-05-21 08:42:38 +02:00
3575b99650
finished all tests
2013-05-21 08:22:20 +02:00
82a6281c65
added tests
2013-05-21 01:04:28 +02:00