You are here

function views_calc_field_handler::pre_query in Views Calc 7

Same name and namespace in other branches
  1. 6.3 views_calc_field_handler.inc \views_calc_field_handler::pre_query()
  2. 6 views_calc_field_handler.inc \views_calc_field_handler::pre_query()

Run before the view is built.

This gives all the handlers some time to set up before any handler has been fully run.

Overrides views_handler::pre_query

File

./views_calc_field_handler.inc, line 70
Copied from the basic 'node' field handler.

Class

views_calc_field_handler
Field handler to provide simple renderer that allows linking to a node.

Code

function pre_query() {
  $this->field_alias = "cid{$this->definition['cid']}";
  parent::pre_query();
}