Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Uploader
Helpers
Format
PHP Class Uploader\Helpers\Format
Author:
Stanislav WEB | Lugansk (
[email protected]
)
Exibir arquivo
Open project: stanislav-web/phalcon-uploader
Class Usage Examples
Public Methods
Method
Description
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
Method Details
bytes()
public
static
method
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
return
string
toLatin()
public
static
method
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
return
string