public function Date::getDateField in CiviCRM Entity 8.3
Creates cross-database SQL dates.
Return value
string An appropriate SQL string for the db type and field type.
Overrides HandlerBase::getDateField
1 call to Date::getDateField()
- Date::getDateFormat in src/
Plugin/ views/ argument/ Date.php - Creates cross-database SQL date formatting.
File
- src/
Plugin/ views/ argument/ Date.php, line 36
Class
- Date
- Argument handler for CiviCRM dates.
Namespace
Drupal\civicrm_entity\Plugin\views\argumentCode
public function getDateField() {
return $this->query
->getDateField("{$this->tableAlias}.{$this->realField}", TRUE, FALSE);
}