You are here

function date_views_argument_handler::construct in Date 7

Views handlers use a special construct function.

Allows it to more easily construct them with variable arguments.

Overrides views_handler_argument_formula::construct

File

date_views/includes/date_views_argument_handler.inc, line 12
Date API views argument handler.

Class

date_views_argument_handler
Date API argument handler.

Code

function construct() {
  parent::construct();
  module_load_include('inc', 'date_api', 'date_api_sql');
  $this->date_handler = new date_sql_handler();
  $this->date_handler
    ->construct();
}