PHP 클래스 LdapTools\Utilities\MBString

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$collator null | Collator

공개 메소드들

메소드 설명
array_change_key_case ( array $values ) : array Change the keys in an array to their lower-case values.
array_change_value_case ( array $values ) : array Change the values in an array to lower-case values.
array_search_get_value ( string $needle, array $haystack ) : string Given an array value determine if it exists in the array and return the value as it is in the array.
chr ( $int ) : string Get the character for a specific integer value.
compare ( string $value1, string $value2 ) : integer Performs a comparison between two values and returns an integer result, like strnatcmp.
ord ( $string ) : integer Get the integer value of a specific character.
str_split ( string $value ) : string[] Split a string into its individual characters and return it as an array.
strtolower ( string $value ) : string Make a string lower case.

보호된 메소드들

메소드 설명
getCollator ( ) : Collator Load and return a collator instance.
isIntlLoaded ( ) : boolean Simple check for the intl extension.
isMbstringLoaded ( ) : boolean Simple check for the mbstring extension.

메소드 상세

array_change_key_case() 공개 정적인 메소드

Change the keys in an array to their lower-case values.
public static array_change_key_case ( array $values ) : array
$values array
리턴 array

array_change_value_case() 공개 정적인 메소드

Change the values in an array to lower-case values.
public static array_change_value_case ( array $values ) : array
$values array
리턴 array

array_search_get_value() 공개 정적인 메소드

Given an array value determine if it exists in the array and return the value as it is in the array.
public static array_search_get_value ( string $needle, array $haystack ) : string
$needle string
$haystack array
리턴 string

chr() 공개 정적인 메소드

Get the character for a specific integer value.
public static chr ( $int ) : string
$int
리턴 string

compare() 공개 정적인 메소드

Performs a comparison between two values and returns an integer result, like strnatcmp.
public static compare ( string $value1, string $value2 ) : integer
$value1 string
$value2 string
리턴 integer

getCollator() 보호된 정적인 메소드

Load and return a collator instance.
protected static getCollator ( ) : Collator
리턴 Collator

isIntlLoaded() 보호된 정적인 메소드

Simple check for the intl extension.
protected static isIntlLoaded ( ) : boolean
리턴 boolean

isMbstringLoaded() 보호된 정적인 메소드

Simple check for the mbstring extension.
protected static isMbstringLoaded ( ) : boolean
리턴 boolean

ord() 공개 정적인 메소드

Get the integer value of a specific character.
public static ord ( $string ) : integer
$string
리턴 integer

str_split() 공개 정적인 메소드

Split a string into its individual characters and return it as an array.
public static str_split ( string $value ) : string[]
$value string
리턴 string[]

strtolower() 공개 정적인 메소드

Make a string lower case.
public static strtolower ( string $value ) : string
$value string
리턴 string

프로퍼티 상세

$collator 보호되어 있는 정적으로 프로퍼티

protected static null|Collator $collator
리턴 null | Collator