<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
return $this->_queryObjects;
}
- public function alterLogTables(&$logTables) {
+ public function alterLogTables(&$reportObj, &$logTables) {
foreach (self::getSearchQueryObjects() as $obj) {
- $obj->alterLogTables($logTables);
+ $obj->alterLogTables($reportObj, $logTables);
}
}
-}
\ No newline at end of file
+
+ public function logDiffClause(&$reportObj, $table) {
+ $contactIdClause = $join = '';
+ foreach (self::getSearchQueryObjects() as $obj) {
+ list($cidClause, $joinClause) = $obj->logDiffClause($reportObj, $table);
+ if ($joinClause)
+ $join .= $joinClause;
+ if ($cidClause)
+ $contactIdClause .= $cidClause;
+ }
+ return array($contactIdClause, $join);
+ }
+}