Метод |
Описание |
|
_ ( mixed $value, string | Closure $filters = 'raw' ) : mixed |
Apply custom filter to variable |
|
alias ( $string ) : mixed |
Get safe string |
|
alpha ( $value ) : mixed |
Return only alpha chars |
|
alphanum ( $value ) : mixed |
Return only alpha and digits chars |
|
arr ( mixed $value, string | Closure $filter = null ) : string |
Cleanup array |
|
base64 ( $value ) : string |
Return only chars for base64 |
|
bool ( string $string ) : boolean |
Converts many english words that equate to true or false to boolean. |
|
className ( $input ) : string |
Convert words to PHP Class name |
|
clean ( $string ) : string |
|
|
cmd ( array $value ) : string |
Cleanup system command |
|
data ( array | Data $data ) : Data |
|
|
digits ( $value ) : mixed |
Return only digits chars |
|
email ( $email ) : mixed |
Validate email |
|
esc ( $string ) : string |
|
|
float ( string $value, integer $round = 10 ) : float |
|
|
html ( $string ) : string |
|
|
int ( string $value ) : integer |
Smart convert any string to int |
|
low ( $string ) : string |
String to lower and trim |
|
parseLines ( $input ) : string |
Parse lines to assoc list |
|
path ( $value ) : string |
Rmove whitespaces |
|
raw ( $string ) : mixed |
RAW placeholder |
|
strip ( $string ) : mixed |
Get safe string |
|
stripQuotes ( string $value ) : string |
Strip quotes. |
|
stripSpace ( $string ) : string |
Strip spaces |
|
trim ( $value ) : string |
Remove whitespaces |
|
trimExtend ( $value ) : string |
Remove whitespaces |
|
ucfirst ( $input ) : string |
First char to upper, other to lower |
|
up ( $string ) : string |
String to upper and trim |
|
xml ( $string ) : string |
|
|