[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

(no description)

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

Defines 1 class

views_plugin_style:: (15 methods):
  init()
  destroy()
  uses_row_plugin()
  uses_fields()
  option_definition()
  options_form()
  build_sort()
  build_sort_post()
  pre_render()
  render()
  render_grouping()
  render_fields()
  get_field()
  validate()
  query()


Class: views_plugin_style  - X-Ref

Base class to define a style plugin handler.

init(&$view, &$display, $options = NULL)   X-Ref
Initialize a style plugin.

param: $view
param: $display
param: $options

destroy()   X-Ref
No description

uses_row_plugin()   X-Ref
Return TRUE if this style also uses a row plugin.


uses_fields()   X-Ref
Return TRUE if this style also uses fields.


option_definition()   X-Ref
No description

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

build_sort()   X-Ref
Called by the view builder to see if this style handler wants to
interfere with the sorts. If so it should build; if it returns
any non-TRUE value, normal sorting will NOT be added to the query.


build_sort_post()   X-Ref
Called by the view builder to let the style build a second set of
sorts that will come after any other sorts in the view.


pre_render($result)   X-Ref
Allow the style to do stuff before each row is rendered.

param: $result

render()   X-Ref
Render the display in this style.


render_grouping($records, $grouping_field = '')   X-Ref
Group records as needed for rendering.

param: $records
param: $grouping_field
return:

render_fields($result)   X-Ref
Render all of the fields for a given style and store them on the object.

param: $result

get_field($index, $field)   X-Ref
Get a rendered field.

param: $index
param: $field

validate()   X-Ref
No description

query()   X-Ref
No description



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