namespace \webfiori\database
class ResultSet
Class Methods Summary
Class Methods Details
Parameters:
- array $resultArr An array that holds original result set.
- callable $mappingFunction A PHP function which is used to modify original result set and shape it as needed. The method can have two arguments, first one is the original data set and the second is an optional array of arguments.
- array $mapArgs An optional array of arguments to pass on to the mapping function.
Parameters:
- Closure $callback A PHP function. The function will have one parameter which is the raw result set as an array.
- array $otherParams An array that holds extra arguments which can be passed to the mapping function.