You are here

function date_api_filter_handler::construct in Date 6.2

Same name and namespace in other branches
  1. 6 date_api.views.inc \date_api_filter_handler::construct()

File

includes/date_api_filter_handler.inc, line 24
Date Views filter handler.

Class

date_api_filter_handler
A flexible, configurable date filter.

Code

function construct() {
  parent::construct();
  require_once './' . drupal_get_path('module', 'date_api') . '/date_api_sql.inc';
  $this->date_handler = new date_sql_handler();
  $this->date_handler
    ->construct();
  $this->date_handler->granularity = $this->options['granularity'];
}