2017 © Pedro Peláez
 

yii2-extension yii2-qazaq-transliterator

Transliteration Kazakh symbols on the new

image

altynbek07/yii2-qazaq-transliterator

Transliteration Kazakh symbols on the new

  • Tuesday, April 24, 2018
  • by altynbek07
  • Repository
  • 1 Watchers
  • 1 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Yii2 Qazaq Transliterator

Yii2 qazaq transliterator behavior Qazaq Transliterator, (*1)

Installation

Composer

The preferred way to install this extension is through Composer., (*2)

Either run composer require altynbek07/yii2-qazaq-transliterator:^0.2, (*3)

or add "altynbek07/yii2-qazaq-transliterator": "^0.2" to the require section of your composer.json, (*4)

Using

Attach the behavior in your model:, (*5)

public function behaviors()
{
    return [
        'transliterate' => [
            'class' => 'altynbek07\yii2QazaqTransliterator\QazaqTransliteratorBehavior',
            'attributes' => 'name',
        ]
    ];
}

Transliteration multiple attributes:, (*6)

public function behaviors()
{
    return [
        'transliterate' => [
            ...
            'attributes' => ['name', 'text'],
            ...
        ]
    ];
}

If you have multilanguage model, you can add this attributes:, (*7)

public function behaviors()
{
    return [
        'transliterate' => [
            ...
            'isTranslationModel' => true,
            'languageColumnName' => 'lang',     // Name of language column in model table
            'languageColumnValue' => 'qq-KZ',   // Value from new qazaq language column in model table
            ...
        ]
    ];
}

Author

Altynbek Kazezov, e-mail: altinbek__97@mail.ru, (*8)

The Versions

24/04 2018

dev-master

9999999-dev

Transliteration Kazakh symbols on the new

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Altynbek Kazezov

yii2 behavior transliterator latin qazaq kazakh

24/04 2018

0.2

0.2.0.0

Transliteration Kazakh symbols on the new

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Altynbek Kazezov

yii2 behavior transliterator latin qazaq kazakh

13/03 2018

0.1.4

0.1.4.0

Transliteration Kazakh symbols on the new

  Sources   Download

BSD-3-Clause

The Development Requires

by Altynbek Kazezov

yii2 behavior transliterator latin qazaq kazakh

13/03 2018

0.1.3

0.1.3.0

Transliteration Kazakh symbols on the new

  Sources   Download

BSD-3-Clause

The Development Requires

by Altynbek Kazezov

yii2 behavior transliterator latin qazaq kazakh

28/02 2018

0.1.2

0.1.2.0

Transliteration Kazakh symbols on the new

  Sources   Download

BSD-3-Clause

The Development Requires

by Altynbek Kazezov

yii2 behavior transliterator latin qazaq kazakh

28/02 2018

0.1.1

0.1.1.0

Transliteration Kazakh symbols on the new

  Sources   Download

BSD-3-Clause

The Development Requires

by Altynbek Kazezov

yii2 behavior transliterator latin qazaq kazakh

28/02 2018

0.1.0

0.1.0.0

Transliteration Kazakh symbols on the new

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6

 

by Altynbek Kazezov