FOFModel::getFirstItem
A cross-breed between getItem and getItemList. It runs the complete query, like getItemList does. However, instead of returning an array of ad-hoc objects, it binds the data from the first item fetched on the list to an instance of the table object and returns that table object instead.
Signature
public function getFirstItem([boolean
$overrideLimits = false] )
Parameters
-
$overrideLimits
- Should I override set limits?
Returns
- FOFTable