PHP 클래스 yii\helpers\Inflector

Do not use BaseInflector. Use Inflector instead.
부터: 2.0
저자: Antonio Ramirez ([email protected])
저자: Alexander Makarov ([email protected])
상속: extends BaseInflector
파일 보기 프로젝트 열기: infoweb-internet-solutions/yii2-cms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$transliteration fallback map for transliteration used by Inflector::transliterate when intl isn't available.

공개 메소드들

메소드 설명
transliterate ( string $string, string | Transliterator $transliterator = null ) : string Returns transliterated version of a string.

메소드 상세

transliterate() 공개 정적인 메소드

If intl extension isn't available uses fallback that converts latin characters only and removes the rest. You may customize characters map via $transliteration property of the helper.
public static transliterate ( string $string, string | Transliterator $transliterator = null ) : string
$string string input string
$transliterator string | Transliterator either a [[Transliterator]] or a string from which a [[Transliterator]] can be built.
리턴 string

프로퍼티 상세

$transliteration 공개적으로 정적으로 프로퍼티

fallback map for transliteration used by Inflector::transliterate when intl isn't available.
public static $transliteration