PHP Class Flow\Helper

Datei anzeigen Open project: nramenta/flow Class Usage Examples

Public Methods

Method Description
abs ( $obj = null )
bytes ( $obj = null, $decimals = 1, $dec = '.', $sep = ',' )
capitalize ( $obj )
cycle ( $obj = null )
date ( $obj = null, $format = 'Y-m-d' )
dump ( $obj = null )
e ( $obj = null, $force = false )
escape ( $obj = null, $force = false )
first ( $obj = null, $default = null )
format ( $obj, $args )
is_divisible_by ( $obj = null, $number = null )
is_empty ( $obj = null )
is_even ( $obj = null )
is_odd ( $obj = null )
join ( $obj = null, $glue = '' )
json_encode ( $obj = null )
keys ( $obj = null )
last ( $obj = null, $default = null )
length ( $obj = null )
lower ( $obj = null )
nl2br ( $obj = null, $is_xhtml = false )
number_format ( $obj = null, $decimals, $dec_point = '.', $thousands_sep = ',' )
range ( $lower = null, $upper = null, $step = 1 )
repeat ( $obj, $times = 2 )
replace ( $obj = null, $search = '', $replace = '', $regex = false )
strip_tags ( $obj = null, $allowableTags = '' )
title ( $obj = null )
trim ( $obj = null, $charlist = " " )
truncate ( $obj = null, $length = 255, $preserve_words = false, $hellip = '…' )
unescape ( $obj = null )
upper ( $obj = null )
url_encode ( $obj = null )
word_wrap ( $obj = null, $width = 75, $break = " ", $cut = false )

Method Details

abs() public static method

public static abs ( $obj = null )

bytes() public static method

public static bytes ( $obj = null, $decimals = 1, $dec = '.', $sep = ',' )

capitalize() public static method

public static capitalize ( $obj )

cycle() public static method

public static cycle ( $obj = null )

date() public static method

public static date ( $obj = null, $format = 'Y-m-d' )

dump() public static method

public static dump ( $obj = null )

e() public static method

public static e ( $obj = null, $force = false )

escape() public static method

public static escape ( $obj = null, $force = false )

first() public static method

public static first ( $obj = null, $default = null )

format() public static method

public static format ( $obj, $args )

is_divisible_by() public static method

public static is_divisible_by ( $obj = null, $number = null )

is_empty() public static method

public static is_empty ( $obj = null )

is_even() public static method

public static is_even ( $obj = null )

is_odd() public static method

public static is_odd ( $obj = null )

join() public static method

public static join ( $obj = null, $glue = '' )

json_encode() public static method

public static json_encode ( $obj = null )

keys() public static method

public static keys ( $obj = null )

last() public static method

public static last ( $obj = null, $default = null )

length() public static method

public static length ( $obj = null )

lower() public static method

public static lower ( $obj = null )

nl2br() public static method

public static nl2br ( $obj = null, $is_xhtml = false )

number_format() public static method

public static number_format ( $obj = null, $decimals, $dec_point = '.', $thousands_sep = ',' )

range() public static method

public static range ( $lower = null, $upper = null, $step = 1 )

repeat() public static method

public static repeat ( $obj, $times = 2 )

replace() public static method

public static replace ( $obj = null, $search = '', $replace = '', $regex = false )

strip_tags() public static method

public static strip_tags ( $obj = null, $allowableTags = '' )

title() public static method

public static title ( $obj = null )

trim() public static method

public static trim ( $obj = null, $charlist = " " )

truncate() public static method

public static truncate ( $obj = null, $length = 255, $preserve_words = false, $hellip = '…' )

unescape() public static method

public static unescape ( $obj = null )

upper() public static method

public static upper ( $obj = null )

url_encode() public static method

public static url_encode ( $obj = null )

word_wrap() public static method

public static word_wrap ( $obj = null, $width = 75, $break = " ", $cut = false )