_params)) { $query->_params[] = [ 'entryURL', '=', 0, 0, 1, ]; } $query->_paramLookup['entryURL'] = [ 'entryURL', '=', 0, 0, 1, ]; } } /** * Build where clause for ConstituentsOnly * * @return void * @access public */ public function where(&$query) { if (empty($query->_paramLookup['entryURL'])) { return; } if (CRM_Utils_Array::value('civicrm_contact', $query->_tables)) { $query->_where[0][] = "( contact_a.do_not_trade IS NULL OR contact_a.do_not_trade = 0)"; } } public function from($name, $mode, $side) { } public function setTableDependency(&$tables) { } public function getPanesMapper(&$panes) { } public function registerAdvancedSearchPane(&$panes) { } public function buildAdvancedSearchPaneForm(&$form, $type) { } public function setAdvancedSearchPaneTemplatePath(&$paneTemplatePathArray, $type) { } }