protected function processWhere($limitValues, $report = null) { $where = trim(parent::processWhere($limitValues, $report)); list($formObj, $fieldObj) = $this->getFormFieldObjects('primary_form+csd_uuid', $report); if ($formObj instanceof I2CE_Form) { $uuid_where = trim($formObj->generateLimit(array('field' => 'csd_uuid', 'style' => 'not_null', 'data' => array()))); if ($where) { $uuid_where = "( ( " . $uuid_where . ") AND (" . $where . "))"; } return $uuid_where; } else { I2CE::raiseError("Cannot get csd_uuid where clause"); return $where; } }