holds the format of the result set, NUM, ASSOC or BOTH @access private @var int row format return type
private $format
DataResultMysql constructor
public function __construct( $result )
gets the result array format
public function getFormat()
sets the format of the result array to either 0-indexed (default), associative (with column names) or both
public function setFormat( $format )
returns a row of data from the mysql database result resource.
protected function getRow()
resets cursor to beginning of dataset
protected function dataSeek( $row_num = 0 )
returns number of rows from resulting from select query
public function getNumRows()
returns number of fields in result set
public function getNumFields()