[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/views/handlers/ -> views_handler_field_prerender_list.inc (summary)

(no description)

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

Defines 1 class

views_handler_field_prerender_list:: (6 methods):
  option_definition()
  options_form()
  render()
  render_items()
  get_items()
  allow_advanced_render()


Class: views_handler_field_prerender_list  - X-Ref

Field handler to provide a list of items.

The items are expected to be loaded by a child object during pre_render,
and 'my field' is expected to be the pointer to the items in the list.

Items to render should be in a list in $this->items

option_definition()   X-Ref
No description

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

render($values)   X-Ref
Render the field.

This function is deprecated, but left in for older systems that have not
yet or won't update their prerender list fields. If a render_item method
exists, this will not get used by advanced_render.

render_items($items)   X-Ref
Render all items in this field together.

When using advanced render, each possible item in the list is rendered
individually. Then the items are all pasted together.

get_items($values)   X-Ref
Return an array of items for the field.

Items should be stored in the result array, if possible, as an array
with 'value' as the actual displayable value of the item, plus
any items that might be found in the 'alter' options array for
creating links, such as 'path', 'fragment', 'query' etc, such a thing
is to be made. Additionally, items that might be turned into tokens
should also be in this array.

allow_advanced_render()   X-Ref
Determine if advanced rendering is allowed.

By default, advanced rendering will NOT be allowed if the class
inheriting from this does not implement a 'render_items' method.



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