Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Qiang Xue
cf0c8c37dd
Fixes #5983 : Added `Inflector::sentence()`
10 years ago
Alexander Mohorev
64b4d6dca1
Correct order of property declaration
10 years ago
Nghia Nguyen
2eda2725d0
Fixes #5164 : Added `Inlfector::$transliterator` that can be used to customize intl transliteration
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
Tobias Munk
8666504a4f
fixed typo [skip ci]
10 years ago
Tobias Munk
a799eeb9ce
code style
10 years ago
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
10 years ago
Tobias Munk
3fc4d5ebc9
fixes #1160
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
09e6a13e8f
Fixed tests
10 years ago
Alexander Makarov
f8e05fbf4f
Improved `yii\helpers\Inflector::slug` to support more cases for Russian, Hebrew and special characters
10 years ago
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
11 years ago
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Mohorev
c7e8d8b900
@param , @var , @property and @return must declare types as boolean, integer, string, array or null
11 years ago
Carsten Brandt
90c7bf288d
Fixed indentation in BaseInflector
11 years ago
zinzinday
44750915e0
Add $transliteration for Vietnamese
...
Please review and merge it,
Thank advance
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
0b28f290f3
Fixes #1704 : Incorrect regexp is used in `Inflector::camelize()`
11 years ago
Antonio Ramirez
8c1715d5a7
remove UTF-8 string conversion
11 years ago
Antonio Ramirez
61591ea4ae
update phpDoc
11 years ago
Antonio Ramirez
08aaeda397
refactored inflector's slug and improved fallback char map
11 years ago
Antonio Ramirez
26330b9381
removed ascii method and use the new TransliteratorHelper::process at its place
11 years ago
Carsten Brandt
e775c82dd8
Changed usage of self to static to allow extendibility
...
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
b873f9f242
Fixes #915 : helper classes renamed again
11 years ago
Alexander Makarov
76cab3ea64
Renamed base helper classes
11 years ago
Qiang Xue
9a9a9c0b56
code style fix.
11 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
11 years ago
resurtm
7a7d2a9c06
CS fixes.
11 years ago
Antonio Ramirez
e4e18710dc
fix functionality, keep each function to do what it supposed to do
12 years ago
Antonio Ramirez
10c52d702f
updated transliteration (greek + russian + german + ukrainian) and removed dependency on ascii function
12 years ago
Antonio Ramirez
ea8b6e7b58
enhance Inflector helper with ascii function
12 years ago
Qiang Xue
291f3b35d0
Refactored Inflector.
12 years ago
Antonio Ramirez
05523640f2
fixed pluralize + singularize rules for tests
12 years ago
Antonio Ramirez
7b98b42418
added inflection methods from StringHelper + some comment fixes
12 years ago
Antonio Ramirez
20e18e1bdd
fix phpdoc of underscore
12 years ago
Antonio Ramirez
82a6281c65
added tests
12 years ago
Antonio Ramirez
edd7ec4214
Inflector second revision
12 years ago
Antonio Ramirez
ab695d1118
remove from master (update track)
12 years ago
Antonio Ramirez
1cc2e4a0c5
minor fixes
12 years ago
Antonio Ramirez
17397a8876
Inflector class
12 years ago