/**
  * Constructor
  * @param string $name the name of the filter instance
  * @param string $label the label of the filter instance
  * @param boolean $advanced advanced form element flag
  * @param string $field user table filed name
  */
 function enrollment_filter_startdate($name, $label, $advanced, $field)
 {
     parent::user_filter_date($name, $label, $advanced, $field);
 }
 /**
  * Returns the condition to be used with SQL where
  * @param array $data filter settings
  * @return string the filtering condition or null if the filter is disabled
  */
 function get_sql_filter($data)
 {
     $res = parent::get_sql_filter($data);
     $res .= " AND (cce.completestatusid = " . STUSTATUS_PASSED . ")";
     return $res;
 }