PHP 클래스 AdminPageFramework_Utility_String

상속: extends AdminPageFramework_Utility_VariableType
파일 보기 프로젝트 열기: michaeluno/admin-page-framework 1 사용 예제들

공개 메소드들

메소드 설명
fixNumber ( $nToFix, $nDefault, $nMin = '', $nMax = '' )
getCSSMinified ( $sCSSRules )
getLengthSanitized ( $sLength, $sUnit = 'px' )
getNumberFixed ( $nToFix, $nDefault, $nMin = '', $nMax = '' )
getNumberOfReadableSize ( $nSize )
getPrefixRemoved ( $sString, $sPrefix )
getReadableBytes ( $nBytes )
getStringLength ( $sString )
getSuffixRemoved ( $sString, $sSuffix )
hasPrefix ( $sNeedle, $sHaystack )
hasSuffix ( $sNeedle, $sHaystack )
sanitizeSlug ( $sSlug )
sanitizeString ( $sString )

메소드 상세

fixNumber() 공개 정적인 메소드

public static fixNumber ( $nToFix, $nDefault, $nMin = '', $nMax = '' )

getCSSMinified() 공개 정적인 메소드

public static getCSSMinified ( $sCSSRules )

getLengthSanitized() 공개 정적인 메소드

public static getLengthSanitized ( $sLength, $sUnit = 'px' )

getNumberFixed() 공개 정적인 메소드

public static getNumberFixed ( $nToFix, $nDefault, $nMin = '', $nMax = '' )

getNumberOfReadableSize() 공개 정적인 메소드

public static getNumberOfReadableSize ( $nSize )

getPrefixRemoved() 공개 정적인 메소드

public static getPrefixRemoved ( $sString, $sPrefix )

getReadableBytes() 공개 정적인 메소드

public static getReadableBytes ( $nBytes )

getStringLength() 공개 정적인 메소드

public static getStringLength ( $sString )

getSuffixRemoved() 공개 정적인 메소드

public static getSuffixRemoved ( $sString, $sSuffix )

hasPrefix() 공개 정적인 메소드

public static hasPrefix ( $sNeedle, $sHaystack )

hasSuffix() 공개 정적인 메소드

public static hasSuffix ( $sNeedle, $sHaystack )

sanitizeSlug() 공개 정적인 메소드

public static sanitizeSlug ( $sSlug )

sanitizeString() 공개 정적인 메소드

public static sanitizeString ( $sString )