PHP 클래스 Uploader\Helpers\Format

저자: Stanislav WEB | Lugansk ([email protected])
파일 보기 프로젝트 열기: stanislav-web/phalcon-uploader 1 사용 예제들

공개 메소드들

메소드 설명
bytes ( integer $bytes, integer $precision = 2 ) : string Format byte code to human understand
toLatin ( string $string, string $separator = '', boolean $clean = false ) : string Transliterate cyrillic to latin

메소드 상세

bytes() 공개 정적인 메소드

Format byte code to human understand
public static bytes ( integer $bytes, integer $precision = 2 ) : string
$bytes integer number of bytes
$precision integer after comma numbers
리턴 string

toLatin() 공개 정적인 메소드

Transliterate cyrillic to latin
public static toLatin ( string $string, string $separator = '', boolean $clean = false ) : string
$string string original string
$separator string word separator
$clean boolean to lower & all non understand symbols remove
리턴 string