function _DatabaseHandler::db_fetch_object

4.x _DatabaseHandler.php _DatabaseHandler::db_fetch_object($result)
5.x _DatabaseHandler.php _DatabaseHandler::db_fetch_object($result)

File

classes/_DatabaseHandler.php, line 1834

Class

_DatabaseHandler

Code

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

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