Method |
Description |
|
add_slashes_recursive ( $variable ) |
|
|
ago ( $time, $granularity = 2 ) |
|
|
array_to_base64 ( mixed $var ) : string |
Encodes a variable with json_encode and base64_encode. |
|
array_to_ul ( array $arr, $ul_tag = 'ul', $li_tag = 'li' ) : string |
Prints an array in unordered list - |
|
array_trim ( $variable ) |
|
|
array_values ( $ary ) |
|
|
auto_link ( $text ) |
|
|
auto_link_text_callback ( $matches ) |
|
|
autolink ( $text ) |
http://stackoverflow.com/a/1971451/731166 |
|
base64_to_array ( string $var ) : string | array |
Decodes a variable with base64_decode and json_decode. |
|
clean_html ( $var, $do_not_strip_tags = false ) |
|
|
clean_scripts ( $input ) |
|
|
clean_xss ( $var, $do_not_strip_tags = false ) |
|
|
date ( $date, boolean | string $date_format = false ) : boolean | string |
Formats a date by given pattern. |
|
decode_ids ( $data ) |
|
|
decrypt ( $string ) |
|
|
encode_ids ( $data ) |
|
|
encrypt ( $string ) |
|
|
human_filesize ( $bytes, $dec = 2 ) |
|
|
is_base64 ( $data ) |
|
|
is_fqdn ( $FQDN ) |
|
|
limit ( $str, integer $n = 500, string $end_char = '…' ) : string |
Limits a string to a number of characters. |
|
lipsum ( $number_of_characters = false ) |
|
|
lnotif ( $text, $class = 'success' ) |
|
|
no_dashes ( $string ) |
|
|
notif ( $text, $class = 'success' ) |
|
|
percent ( $num_amount, $num_total, $format = true ) |
|
|
prep_url ( $str = '' ) |
|
|
random_color ( ) |
|
|
render_item_custom_fields_data ( $item ) |
|
|
replace_once ( $needle, $replace, $haystack ) |
|
|
string_between ( $string, $start, $end ) |
|
|
strip_slashes_recursive ( $variable ) |
|
|
strip_unsafe ( $string, $img = false ) |
|
|
titlelize ( $string ) |
|
|
unvar_dump ( $str ) |
|
|