[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

(no description)

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

Defines 1 class

views_plugin_display_block:: (10 methods):
  option_definition()
  execute_hook_block()
  execute()
  options_summary()
  block_caching_modes()
  get_cache_type()
  options_form()
  options_submit()
  uses_exposed()
  save_block_cache()


Class: views_plugin_display_block  - X-Ref

The plugin that handles a block.

option_definition()   X-Ref
No description

execute_hook_block($op = 'list', $delta = 0, $edit = array()   X-Ref
The default block handler doesn't support configurable items,
but extended block handlers might be able to do interesting
stuff with it.


execute()   X-Ref
The display block handler returns the structure necessary for a block.


options_summary(&$categories, &$options)   X-Ref
Provide the summary for page options in the views UI.

This output is returned as an array.

block_caching_modes()   X-Ref
Provide a list of core's block caching modes.


get_cache_type()   X-Ref
Provide a single method to figure caching type, keeping a sensible default
for when it's unset.


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


options_submit(&$form, &$form_state)   X-Ref
Perform any necessary changes to the form values prior to storage.
There is no need for this function to actually store the data.


uses_exposed()   X-Ref
Block views use exposed widgets only if AJAX is set.


save_block_cache($delta, $cache_setting)   X-Ref
Save the block cache setting in the blocks table if this block allready
exists in the blocks table. Dirty fix untill http://drupal.org/node/235673 gets in.




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