function views_handler_argument::construct

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

Overrides views_object::construct

5 calls to views_handler_argument::construct()
views_handler_argument_formula::construct in handlers/views_handler_argument_formula.inc
Views handlers use a special construct function.
views_handler_argument_locale_group::construct in modules/locale/views_handler_argument_locale_group.inc
Views handlers use a special construct function.
views_handler_argument_locale_language::construct in modules/locale/views_handler_argument_locale_language.inc
Views handlers use a special construct function.
views_handler_argument_node_language::construct in modules/node/views_handler_argument_node_language.inc
Views handlers use a special construct function.
views_handler_argument_node_type::construct in modules/node/views_handler_argument_node_type.inc
Views handlers use a special construct function.
5 methods override views_handler_argument::construct()
views_handler_argument_formula::construct in handlers/views_handler_argument_formula.inc
Views handlers use a special construct function.
views_handler_argument_locale_group::construct in modules/locale/views_handler_argument_locale_group.inc
Views handlers use a special construct function.
views_handler_argument_locale_language::construct in modules/locale/views_handler_argument_locale_language.inc
Views handlers use a special construct function.
views_handler_argument_node_language::construct in modules/node/views_handler_argument_node_language.inc
Views handlers use a special construct function.
views_handler_argument_node_type::construct in modules/node/views_handler_argument_node_type.inc
Views handlers use a special construct function.

File

handlers/views_handler_argument.inc, line 74

Class

views_handler_argument
Base class for arguments.

Code

public function construct() {
    parent::construct();
    if (!empty($this->definition['name field'])) {
        $this->name_field = $this->definition['name field'];
    }
    if (!empty($this->definition['name table'])) {
        $this->name_table = $this->definition['name table'];
    }
}