rus2translit RusToTranslite helper

  1. Documentation
  2. Change Log

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.
1 0
1 follower
514 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Tags:
Developed by: someone
Created on: Jan 25, 2010
Last updated: 14 years ago

Downloads

show all