public function views_handler_argument::construct in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 handlers/views_handler_argument.inc \views_handler_argument::construct()
- 6.2 handlers/views_handler_argument.inc \views_handler_argument::construct()
Views handlers use a special construct function.
Allows it to more easily construct them with variable arguments.
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 73 - Definition of views_handler_argument.
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'];
}
}