*
* @return int the total number of rows for this action
*/
- function &getRows($action, $offset, $rowCount, $sort, $output = NULL) {
+ function &getRows($action, $offset, $rowCount, $sort, $output = NULL, $extraWhereClause = NULL) {
$multipleFields = array('url');
//$sort object processing for location fields
}
$additionalWhereClause = 'contact_a.is_deleted = 0';
+
+ if ($extraWhereClause) {
+ $additionalWhereClause .= " AND {$extraWhereClause}";
+ }
+
$returnQuery = NULL;
if ($this->_multiRecordTableName) {
$returnQuery = TRUE;