public function getConfiguredGatheringDataSources() { $db = Loader::db(); $r = $db->Execute('select gcsID from GatheringConfiguredDataSources where gaID = ?', array($this->gaID)); $list = array(); while ($row = $r->FetchRow()) { $source = GatheringDataSourceConfiguration::getByID($row['gcsID']); if (is_object($source)) { $list[] = $source; } } return $list; }