public function MediaBrowserPlugin::access

cis7 MediaBrowserPlugin.inc public MediaBrowserPlugin::access($account = NULL)
cle7 MediaBrowserPlugin.inc public MediaBrowserPlugin::access($account = NULL)
elmsmedia7 MediaBrowserPlugin.inc public MediaBrowserPlugin::access($account = NULL)
icor7 MediaBrowserPlugin.inc public MediaBrowserPlugin::access($account = NULL)
meedjum_blog7 MediaBrowserPlugin.inc public MediaBrowserPlugin::access($account = NULL)
mooc7 MediaBrowserPlugin.inc public MediaBrowserPlugin::access($account = NULL)

Implements MediaBrowserPluginInterface::access().

Overrides MediaBrowserPluginInterface::access

2 methods override MediaBrowserPlugin::access()
MediaBrowserInternet::access in sites/all/modules/ulmus/media/modules/media_internet/includes/MediaBrowserInternet.inc
Implements MediaBrowserPluginInterface::access().
MediaBrowserUpload::access in sites/all/modules/ulmus/media/includes/MediaBrowserUpload.inc
Implements MediaBrowserPluginInterface::access().

File

sites/all/modules/ulmus/media/includes/MediaBrowserPlugin.inc, line 41
Definition of MediaBrowserPlugin.

Class

MediaBrowserPlugin
Defines a Media browser plugin base class.

Code

public function access($account = NULL) {
  // Backwards compatible support for 'access callback' definitions.
  if (isset($this->info['access callback'])) {
    $access_callback = $this->info['access callback'];
    $access_arguments = isset($this->info['access arguments']) ? $this->info['access arguments'] : array();
    return function_exists($access_callback) && call_user_func_array($access_callback, $access_arguments);
  }

  return TRUE;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.