Browse Source

BaseInflaector: PHPDoc updated

tags/2.0.7
SilverFire - Dmitry Naumenko 9 years ago
parent
commit
8c86310003
  1. 11
      framework/helpers/BaseInflector.php

11
framework/helpers/BaseInflector.php

@ -234,7 +234,7 @@ class BaseInflector
/** /**
* Shortcut for `Any-Latin; NFKD` transliteration rule. The rule is strict, letters will be transliterated with * Shortcut for `Any-Latin; NFKD` transliteration rule. The rule is strict, letters will be transliterated with
* the closest sound-representation chars. The result my contain any UTF-8 chars. For example: * the closest sound-representation chars. The result may contain any UTF-8 chars. For example:
* `获取到 どちら Українська: ґ,є, Српска: ђ, њ, џ! ¿Español?` will be transliterated to * `获取到 どちら Українська: ґ,є, Српска: ђ, њ, џ! ¿Español?` will be transliterated to
* `huò qǔ dào dochira Ukraí̈nsʹka: g̀,ê, Srpska: đ, n̂, d̂! ¿Español?` * `huò qǔ dào dochira Ukraí̈nsʹka: g̀,ê, Srpska: đ, n̂, d̂! ¿Español?`
* *
@ -246,8 +246,8 @@ class BaseInflector
const TRANSLITERATE_STRICT = 'Any-Latin; NFKD'; const TRANSLITERATE_STRICT = 'Any-Latin; NFKD';
/** /**
* Shortcut for `Any-Latin; Latin-ASCII` transliteration rule. The rule is loose, letters will be * Shortcut for `Any-Latin; Latin-ASCII` transliteration rule. The rule is medium, letters will be
* transliterated to characters of Latin-1 ASCII table. For example: * transliterated to characters of Latin-1 (ISO 8859-1) ASCII table. For example:
* `获取到 どちら Українська: ґ,є, Српска: ђ, њ, џ! ¿Español?` will be transliterated to * `获取到 どちら Українська: ґ,є, Српска: ђ, њ, џ! ¿Español?` will be transliterated to
* `huo qu dao dochira Ukrainsʹka: g,e, Srpska: d, n, d! ¿Espanol?` * `huo qu dao dochira Ukrainsʹka: g,e, Srpska: d, n, d! ¿Espanol?`
* *
@ -259,8 +259,9 @@ class BaseInflector
const TRANSLITERATE_MEDIUM = 'Any-Latin; Latin-ASCII'; const TRANSLITERATE_MEDIUM = 'Any-Latin; Latin-ASCII';
/** /**
* Shortcut for `Any-Latin; Latin-ASCII; [\u0080-\uffff] remove` transliteration rule. The rule is strict, letters will be transliterated with * Shortcut for `Any-Latin; Latin-ASCII; [\u0080-\uffff] remove` transliteration rule. The rule is loose,
* the closest sound-representation chars. The result my contain any UTF-8 chars. For example: * letters will be transliterated with the characters of Basic Latin Unicode Block.
* For example:
* `获取到 どちら Українська: ґ,є, Српска: ђ, њ, џ! ¿Español?` will be transliterated to * `获取到 どちら Українська: ґ,є, Српска: ђ, њ, џ! ¿Español?` will be transliterated to
* `huo qu dao dochira Ukrainska: g,e, Srpska: d, n, d! Espanol?` * `huo qu dao dochira Ukrainska: g,e, Srpska: d, n, d! Espanol?`
* *

Loading…
Cancel
Save