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.