示例#1
0
 /**
  * Get one row data as associate array from resultset.
  *
  * @param int[optional] $result_type
  *   The type of array that is to be fetched. It's a constant and can take the following values: 1(MYSQL_ASSOC), 2(MYSQL_NUM), and 3(MYSQL_BOTH).
  * @return array
  *   One row data in $query, or FALSE if there are no more rows
  */
 public function fetch_array($result_type = 1)
 {
     return $this->dbObj->fetch_array($this->query, $result_type);
 }