function pmpapi_update_get_topic_uri in Public Media Platform API Integration 7
Retrieves the URI endpoint for a given topic.
Parameters
$topic string: A PMP update topic (update or delete).
Return value
string The topic URI,
3 calls to pmpapi_update_get_topic_uri()
- pmpapi_update_process_notification in pmpapi_update/
pmpapi_update.pages.inc - pmpapi_update_subscribe_client in pmpapi_update/
pmpapi_update.admin.inc - pmpapi_update_uninstall in pmpapi_update/
pmpapi_update.install - Implements hook_uninstall().
File
- pmpapi_update/
pmpapi_update.module, line 57
Code
function pmpapi_update_get_topic_uri($topic) {
return variable_get('pmpapi_base_url') . '/notifications/topics/' . $topic;
}