[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/views/plugins/ -> views_plugin_access.inc (summary)

(no description)

File Size: 82 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

views_plugin_access:: (8 methods):
  init()
  option_defaults()
  options_form()
  options_validate()
  options_submit()
  summary_title()
  access()
  get_access_callback()


Class: views_plugin_access  - X-Ref

The base plugin to handle access control.

init(&$view, &$display)   X-Ref
Initialize the plugin.

param: $view
param: $display

option_defaults(&$options)   X-Ref
Retrieve the default options when this is a new access
control plugin


options_form(&$form, &$form_state)   X-Ref
Provide the default form for setting options.


options_validate(&$form, &$form_state)   X-Ref
Provide the default form form for validating options


options_submit(&$form, &$form_state)   X-Ref
Provide the default form form for submitting options


summary_title()   X-Ref
Return a string to display as the clickable title for the
access control.


access($account)   X-Ref
Determine if the current user has access or not.


get_access_callback()   X-Ref
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: an array; the first item should be the function to call,



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7