Table of Contents
Methods
-
clean()
: array<string|int, mixed>|string
-
cleanList()
: array<string|int, mixed>
-
cleanString()
: string
-
flatten()
: array<string|int, mixed>
-
format()
: mixed
-
isInt()
: bool
-
join()
: string
-
match()
: array<string|int, mixed>
-
merge()
: array<string|int, mixed>
-
quote()
: string
-
quoteAndJoin()
: string
-
quoteList()
: array<string|int, mixed>
-
rekey()
: array<string|int, mixed>
-
removeEmpty()
: array<string|int, mixed>
-
split()
: array<string|int, mixed>
-
splitAndQuote()
: array<string|int, mixed>
-
splitAndQuoteThenJoin()
: string
-
splitThenQuoteAndJoin()
: string
-
stringToList()
: array<string|int, mixed>
clean()
public
static clean(string|array<string|int, mixed> $subject) : array<string|int, mixed>|string
Parameters
-
$subject
: string|array<string|int, mixed>
-
Return values
array<string|int, mixed>|string
cleanList()
public
static cleanList(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
cleanString()
public
static cleanString(string $subject) : string
Parameters
-
$subject
: string
-
flatten()
public
static flatten(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
public
static format(mixed $value, string $type) : mixed
Parameters
-
$value
: mixed
-
-
$type
: string
-
isInt()
public
static isInt(int|float|string $subject) : bool
Parameters
-
$subject
: int|float|string
-
join()
public
static join(array<string|int, mixed> $list[, string $delimeter = ',' ]) : string
Parameters
-
$list
: array<string|int, mixed>
-
-
$delimeter
: string
= ','
-
match()
public
static match(string $pattern, string $subject) : array<string|int, mixed>
Parameters
-
$pattern
: string
-
-
$subject
: string
-
Return values
array<string|int, mixed>
merge()
public
static merge(array<string|int, mixed> ...$lists) : array<string|int, mixed>
Parameters
-
$lists
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
quote()
public
static quote(string $subject) : string
Parameters
-
$subject
: string
-
quoteAndJoin()
public
static quoteAndJoin(array<string|int, mixed> $list[, string $delimeter = ',' ]) : string
Parameters
-
$list
: array<string|int, mixed>
-
-
$delimeter
: string
= ','
-
quoteList()
public
static quoteList(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
rekey()
public
static rekey(array<string|int, mixed> $records, string $field) : array<string|int, mixed>
Parameters
-
$records
: array<string|int, mixed>
-
-
$field
: string
-
Return values
array<string|int, mixed>
removeEmpty()
public
static removeEmpty(array<string|int, mixed> $list) : array<string|int, mixed>
Parameters
-
$list
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
split()
public
static split(string $subject[, string $delimeter = ',' ]) : array<string|int, mixed>
Parameters
-
$subject
: string
-
-
$delimeter
: string
= ','
-
Return values
array<string|int, mixed>
splitAndQuote()
public
static splitAndQuote(string $subject[, string $delimeter = ',' ]) : array<string|int, mixed>
Parameters
-
$subject
: string
-
-
$delimeter
: string
= ','
-
Return values
array<string|int, mixed>
splitAndQuoteThenJoin()
public
static splitAndQuoteThenJoin(string $subject[, string $delimeter = ',' ]) : string
Parameters
-
$subject
: string
-
-
$delimeter
: string
= ','
-
splitThenQuoteAndJoin()
public
static splitThenQuoteAndJoin(string $subject[, string $delimeter = ',' ]) : string
Parameters
-
$subject
: string
-
-
$delimeter
: string
= ','
-
stringToList()
public
static stringToList(string|array<string|int, mixed> $subject[, string $delimeter = ',' ]) : array<string|int, mixed>
Parameters
-
$subject
: string|array<string|int, mixed>
-
-
$delimeter
: string
= ','
-
Return values
array<string|int, mixed>