function views_plugin_access_perm::get_access_callback

cis7 views_plugin_access_perm.inc views_plugin_access_perm::get_access_callback()
cle7 views_plugin_access_perm.inc views_plugin_access_perm::get_access_callback()
elmsmedia7 views_plugin_access_perm.inc views_plugin_access_perm::get_access_callback()
icor7 views_plugin_access_perm.inc views_plugin_access_perm::get_access_callback()
meedjum_blog7 views_plugin_access_perm.inc views_plugin_access_perm::get_access_callback()
mooc7 views_plugin_access_perm.inc views_plugin_access_perm::get_access_callback()

Determine the access callback and arguments.

This information will be embedded in the menu in order to reduce performance hits during menu item access testing, which happens a lot.

Return value

an array; the first item should be the function to call, and the second item should be an array of arguments. The first item may also be TRUE (bool only) which will indicate no access control.)

Overrides views_plugin_access::get_access_callback

File

sites/all/modules/ulmus/views/plugins/views_plugin_access_perm.inc, line 18
Definition of views_plugin_access_perm.

Class

views_plugin_access_perm
Access plugin that provides permission-based access control.

Code

function get_access_callback() {
  return array('views_check_perm', array($this->options['perm']));
}
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.