function DatabaseHandler::db_fetch_object

6.x DatabaseHandler.php DatabaseHandler::db_fetch_object($result)

File

classes/DatabaseHandler.php, line 1727

Class

DatabaseHandler

Code

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

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