DatabaseRecordSet
Description
Database query result
Located in /libraries/Database.php (line 197)
Class Constant Summary
Method Summary
Methods
fetchArray (line 243)
Fetch a result row as an associative, a numeric array, or both
array
fetchArray
([ $resultType = self::FETCH_ASSOC])
- $resultType
fetchObject (line 254)
Returns the current row of a result set as an object
object
fetchObject
(string $className, [ $params = array()])
- string $className: The name of the class to instantiate, set the properties of and return. If not specified, a stdClass object is returned.
- array $params: An optional array of parameters to pass to the constructor for class_name objects.