__construct()
count()
current()
fetch()
fetch_all()
getTotalRows()
next()
previous()
setTotalRows()
_read()
$_rows
$_total
Read data from the resource.
__construct($result)
fetch($id)
setTotalRows($total)
_read($result)