[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/ctools/help/ -> context-access.html (source)

   1  <!-- $Id: context-access.html,v 1.1 2008/12/17 08:29:20 merlinofchaos Exp $ -->
   2  
   3  access plugins allow context based access control to pages.    
   4  
   5      
   6      'title' => Title of the plugin
   7      'description' => Description of the plugin
   8      'callback' => callback to see if there is access is available. params: $conf, $contexts, $account
   9      'required context' => zero or more required contexts for this access plugin
  10      'default' => an array of defaults or a callback giving defaults
  11      'settings form' => settings form. params: &$form, &$form_state, $conf
  12      settings form validate
  13      settings form submit
  14  
  15  warning: Your settings array will be stored IN THE MENU SYSTEM to reduce loads, so be TRIM.


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7