}
/**
- * build select for CiviEvent
+ * Build select for CiviEvent
*
* @param $query
*
}
}
}
-
+
/**
* @param $query
'civicrm_event', 'event_end_date', 'end_date', 'End Date'
);
return;
-
+
case 'event_id':
$query->_where[$grouping][] = "civicrm_event.id $op {$value}";
$eventTitle = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $value, 'title');
$query->_qill[$grouping][] = ts('Event') . " $op {$eventTitle}";
$query->_tables['civicrm_event'] = $query->_whereTables['civicrm_event'] = 1;
return;
-
+
case 'event_include_repeating_events':
/**
* Include Repeating Events
$query->_qill[$grouping][] = ts('Include Repeating Events (If Any) ') . " = TRUE";
$query->_tables['civicrm_event'] = $query->_whereTables['civicrm_event'] = 1;
return;
-
+
case 'event_type_id':
$eventTypes = CRM_Core_OptionGroup::values("event_type");
$query->_qill[$grouping][] = ts('Event Type - %1', array(1 => $eventTypes[$value]));
$query->_tables['civicrm_event'] = $query->_whereTables['civicrm_event'] = 1;
return;
-
+
case 'participant_test':
// We dont want to include all tests for sql OR CRM-7827
if (!$value || $query->getOperator() != 'OR') {
return;
case 'participant_id':
- $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_participant.id",
- $op,
- $value,
- "Integer"
- );
+ $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_participant.id", $op, $value, "Integer");
$query->_tables['civicrm_participant'] = $query->_whereTables['civicrm_participant'] = 1;
return;
}
/**
- * @param $name
+ * @param string $name
* @param $mode
* @param $side
*
}
/**
- * getter for the qill object
+ * Getter for the qill object
*
* @return string
* @access public
}
CRM_Campaign_BAO_Campaign::addCampaignInComponentSearch($form, 'participant_campaign_id');
-
+
$form->assign('validCiviEvent', TRUE);
$form->setDefaults(array('participant_test' => 0));
}
/**
* @param $row
- * @param $id
+ * @param int $id
*/
static function searchAction(&$row, $id) {}