function DatabaseHandler::db_fetch_array

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

File

classes/DatabaseHandler.php, line 1723

Class

DatabaseHandler

Code

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

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