mb_trim()
Multibyte-safe trim function
mb_trim(string $string) : string
Parameters
- $string : string
Multibyte-safe trim function
mb_trim(string $string) : string
Filter out db rows into one array
dbFilter(array<string|int, mixed> $array, mixed $index) : array<string|int, mixed>
Zip a set of arrays together on common keys
arrayZipper(array<string|int, mixed> $zipperInput) : array<string|int, mixed>
The $zipperInput array is an array of arrays indexed by their place in the output array.
Determine whether a value in the passed array matches the pattern passed
regexInArray(array<string|int, mixed> $array, string $pattern) : bool
Connection function
Query([string|object|array<string|int, mixed>|null $params = '' ]) : QueryBuilderInterface|null
Send an array or object as connection parameters to create a connection. If the array or object has an 'alias' parameter, passing that string to this function will return that connection. Passing no parameters returns the last connection created.