[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/calendar/includes/ -> calendar_plugin_display_attachment.inc (summary)

(no description)

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

Defines 1 class

calendar_plugin_display_attachment:: (14 methods):
  render()
  display_types()
  calendar_type()
  display_granularity()
  validate()
  attach_to()
  pre_execute()
  query()
  options()
  option_definition()
  options_form()
  options_submit()
  options_summary()
  defaultable_sections()


Class: calendar_plugin_display_attachment  - X-Ref

The plugin that handles calendar attachment displays.

Adding year/month/day/week pages as attachments makes it
possible to use any style type, so they could be tables,
lists, teasers, or nodes as well as traditional calendar
pages.

Force 'inherit_arguments' and 'inherit_filters' to TRUE,
and 'attachment_position' to 'after', and don't display
those options in the UI.

Allows paging (regular attachments do not), and adds an option
to choose what calendar period this display represents.
render()   X-Ref
Instead of going through the standard views_view.tpl.php, delegate this
to the style handler.


display_types($type = 'month')   X-Ref
Create an array of possible display periods.


calendar_type()   X-Ref
Identify the period of this display.


display_granularity($display_id)   X-Ref
Inspect argument and view information to see which calendar
period we should show. The argument tells us what to use
if there is no value, the view args tell us what to use
if there are values.


validate()   X-Ref
Display validation.


attach_to($display_id)   X-Ref
Attach only the appropriate displays for the current argument.


pre_execute()   X-Ref
No description

query()   X-Ref
No description

options(&$display)   X-Ref
Override some of the parent options.


option_definition()   X-Ref
Add custom option definitions.


options_form(&$form, &$form_state)   X-Ref
No description

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.


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

This output is returned as an array.

defaultable_sections($section = NULL)   X-Ref
Take away the option to change these values.




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