PHP 클래스 ManaPHP\Utility\Text

파일 보기 프로젝트 열기: manaphp/manaphp 1 사용 예제들

공개 메소드들

메소드 설명
camelize ( string $str ) : string
contains ( string $haystack, string $needle, boolean $ignoreCase = false ) : boolean
endsWith ( string $haystack, string $needle, boolean $ignoreCase = false ) : boolean
startsWith ( string $haystack, string $needle, boolean $ignoreCase = false ) : boolean
underscore ( string $str ) : string

메소드 상세

camelize() 공개 정적인 메소드

public static camelize ( string $str ) : string
$str string
리턴 string

contains() 공개 정적인 메소드

public static contains ( string $haystack, string $needle, boolean $ignoreCase = false ) : boolean
$haystack string
$needle string
$ignoreCase boolean
리턴 boolean

endsWith() 공개 정적인 메소드

public static endsWith ( string $haystack, string $needle, boolean $ignoreCase = false ) : boolean
$haystack string
$needle string
$ignoreCase boolean
리턴 boolean

startsWith() 공개 정적인 메소드

public static startsWith ( string $haystack, string $needle, boolean $ignoreCase = false ) : boolean
$haystack string
$needle string
$ignoreCase boolean
리턴 boolean

underscore() 공개 정적인 메소드

public static underscore ( string $str ) : string
$str string
리턴 string