function DatabaseHandler::db_fetch_array

7.x DatabaseHandler.php DatabaseHandler::db_fetch_array($result)
6.x DatabaseHandler.php DatabaseHandler::db_fetch_array($result)

File

classes/DatabaseHandler.php, line 1728

Class

DatabaseHandler

Code

function db_fetch_array($result) {
  if (!is_object($result)) {
    return FALSE;
  }

  return $result->fetch(PDO::FETCH_ASSOC);
}