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.
protected/extensions
'import'=>array(
...
'application.extensions.*',
),
See the following code example:
<code>
echo Translite::rusencode('моя новая транслитированная ссылка 1');
</code>
will generate "moya_novaya_translitirovannaya_ssylka_1"
Be the first person to leave a comment
Please login to leave your comment.