PHP 클래스 StringHelper, HamlPHP

상속: extends CApplicationComponent
파일 보기 프로젝트 열기: hamlphp/hamlphp 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $str )
__toString ( )
endsWith ( string $str ) : boolean
startsWith ( string $str ) : boolean
trimBalanced ( unknown_type $openChar, unknown_type $closeChar ) : StringHelper
underscorize ( ) Returns the current CamelCased string as an underscored_case string

메소드 상세

__construct() 공개 메소드

public __construct ( $str )

__toString() 공개 메소드

public __toString ( )

endsWith() 공개 메소드

public endsWith ( string $str ) : boolean
$str string
리턴 boolean

startsWith() 공개 메소드

public startsWith ( string $str ) : boolean
$str string
리턴 boolean

trimBalanced() 공개 메소드

public trimBalanced ( unknown_type $openChar, unknown_type $closeChar ) : StringHelper
$openChar unknown_type
$closeChar unknown_type
리턴 StringHelper

underscorize() 공개 메소드

Returns the current CamelCased string as an underscored_case string
public underscorize ( )