This helper is for russian-speaking users who needs to automatize generation routine SEF-urls for russian titles in urls.
It simply converts russian string with specified rules in a translited string.
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.0 or above
Installation ¶
- Extract the release file under
protected/extensions
- In Configuration file add import from "extensions":
'import'=>array( ... 'application.extensions.*', ),
Usage ¶
See the following code example:
~~~
echo Translite::rusencode('моя новая транслитированная ссылка 1');
will generate "moya_novaya_translitirovannaya_ssylka_1"
~~~
Change Log ¶
January 25, 2010 ¶
- Initial release.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.