You are here

function userpoints_views_handler_argument_category::construct in User Points 7

Same name and namespace in other branches
  1. 6 views/userpoints_views_handler_argument_category.inc \userpoints_views_handler_argument_category::construct()
  2. 7.2 views/userpoints_views_handler_argument_category.inc \userpoints_views_handler_argument_category::construct()

Views handlers use a special construct function.

Allows it to more easily construct them with variable arguments.

Overrides views_handler_argument::construct

File

views/userpoints_views_handler_argument_category.inc, line 11
Views argument handler for the Userpoints category.

Class

userpoints_views_handler_argument_category
Argument handler to accept a userpoints category.

Code

function construct() {
  parent::construct('category');
}