function views_handler_argument_formula::construct

Same name in other branches
  1. 7.x-3.x handlers/views_handler_argument_formula.inc \views_handler_argument_formula::construct()

Constructor

Overrides views_handler_argument::construct

6 calls to views_handler_argument_formula::construct()
views_handler_argument_node_created_day::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_fulldate::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_month::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_week::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_year::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation

... See full list

6 methods override views_handler_argument_formula::construct()
views_handler_argument_node_created_day::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_fulldate::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_month::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_week::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation
views_handler_argument_node_created_year::construct in modules/node/views_handler_argument_dates_various.inc
Constructor implementation

... See full list

File

handlers/views_handler_argument_formula.inc, line 17

Class

views_handler_argument_formula
Abstract argument handler for simple formulae.

Code

function construct() {
    parent::construct();
    if (!empty($this->definition['formula'])) {
        $this->formula = $this->definition['formula'];
    }
}