You are here

function brightcove_callback_load in Brightcove Video Connect 7.6

Same name and namespace in other branches
  1. 7.7 brightcove.module \brightcove_callback_load()

Load function Brightcove ingestion page callback.

Parameters

$hash: Callback hash.

Return value

mixed Returns with callback data according to the $hash parameter and returns FALSE if callback data is not found.

See also

brightcove_menu()

File

./brightcove.module, line 2668
Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.

Code

function brightcove_callback_load($hash) {
  return db_query("SELECT * FROM {brightcove_callback} WHERE hash = :hash", [
    ':hash' => $hash,
  ])
    ->fetchAssoc();
}