MediaBrowserPluginInterface.inc

  1. cis7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
  2. cle7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
  3. ecd7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
  4. elmsmedia7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
  5. harmony7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
  6. icor7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
  7. meedjum_blog7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
  8. mooc7 sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc

Definition of MediaBrowserPluginInterface.

Interfaces

Namesort descending Description
MediaBrowserPluginInterface Defines a Media browser plugin.

File

sites/all/modules/ulmus/media/includes/MediaBrowserPluginInterface.inc
View source
  1. <?php
  2. /**
  3. * @file
  4. * Definition of MediaBrowserPluginInterface.
  5. */
  6. /**
  7. * Defines a Media browser plugin.
  8. *
  9. * Extends the MediaBrowserPluginInterface with methods expected by all
  10. * Media browser classes.
  11. */
  12. interface MediaBrowserPluginInterface {
  13. /**
  14. * Set up the plugin class.
  15. *
  16. * @param array $info
  17. * An array of plugin info from hook_media_browser_plugin_info()
  18. * implementations.
  19. * @param array $params
  20. * An array of parameters which came in is $_GET['params']. The expected
  21. * parameters are still being defined.
  22. * - 'types': array of media types to support
  23. * - 'multiselect': boolean; TRUE enables multiselect
  24. */
  25. public function __construct($info, $params);
  26. /**
  27. * Check if a user can access this plugin.
  28. *
  29. * @param object $account
  30. * An optional user account object from user_load(). Defaults to the current
  31. * global user.
  32. *
  33. * @return bool
  34. * TRUE if the user can access this plugin, or FALSE otherwise.
  35. */
  36. public function access($account = NULL);
  37. // The view() method is an abstract function so it is defined in MediaBrowser
  38. // Plugin.
  39. // @todo public function view();
  40. }
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.