function views_handler_field::init

3.x views_handler_field.inc views_handler_field::init(&$view, &$options)
2.x views_handler_field.inc views_handler_field::init(&$view, $options)

init the handler with necessary data.

Parameters

$view: The $view object this handler is attached to.

$options: The item from the database; the actual contents of this will vary based upon the type of handler.

Overrides views_handler::init

11 calls to views_handler_field::init()
views_handler_field_accesslog_path::init in modules/statistics/views_handler_field_accesslog_path.inc
Override init function to provide generic option to link to node.
views_handler_field_boolean::init in handlers/views_handler_field_boolean.inc
init the handler with necessary data.
views_handler_field_comment::init in modules/comment/views_handler_field_comment.inc
Override init function to provide generic option to link to comment.
views_handler_field_comment_username::init in modules/comment/views_handler_field_comment_username.inc
Override init function to add uid and homepage fields.
views_handler_field_file::init in modules/system/views_handler_field_file.inc
Constructor to provide additional field to add.

... See full list

11 methods override views_handler_field::init()
views_handler_field_accesslog_path::init in modules/statistics/views_handler_field_accesslog_path.inc
Override init function to provide generic option to link to node.
views_handler_field_boolean::init in handlers/views_handler_field_boolean.inc
init the handler with necessary data.
views_handler_field_comment::init in modules/comment/views_handler_field_comment.inc
Override init function to provide generic option to link to comment.
views_handler_field_comment_username::init in modules/comment/views_handler_field_comment_username.inc
Override init function to add uid and homepage fields.
views_handler_field_file::init in modules/system/views_handler_field_file.inc
Constructor to provide additional field to add.

... See full list

File

handlers/views_handler_field.inc, line 50

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function init(&$view, $options) {
  parent::init($view, $options);

  $this->options += array(
    'exclude' => FALSE,
  );
}