function disqus in Disqus 7
Same name and namespace in other branches
- 6 disqus.module \disqus()
Creates an instance of the Disqus PHP API.
Parameters
$user_api_key: The User API Key.
$forum_api_key: The Forum API key.
Return value
The instance of the Disqus API.
13 string references to 'disqus'
- disqus_admin_settings_submit in ./
disqus.admin.inc - Form callback; Make sure we process the sso logo and set it to a permanent status.
- disqus_api in ./
disqus.module - Creates an instance of the Disqus PHP API.
- disqus_block_view in ./
disqus.module - Implements hook_block_view().
- disqus_element_post_render in ./
disqus.module - Post render function of the Disqus element to inject the Disqus JavaScript.
- disqus_form_alter in ./
disqus.module - Implementation of hook_form_alter().
File
- ./
disqus.module, line 893 - The Disqus Drupal module.
Code
function disqus($user_api_key = NULL, $forum_api_key = NULL) {
module_load_include('php', 'disqus', 'disqus');
return new Disqus($user_api_key, $forum_api_key);
}