Example #1
0
 public function configure(Gathering $ga, $post)
 {
     $db = Loader::db();
     $o = $this->createConfigurationObject($ga, $post);
     $r = $db->Execute('insert into GatheringConfiguredDataSources (gaID, gasID, gcdObject) values (?, ?, ?)', array($ga->getGatheringID(), $this->gasID, serialize($o)));
     return GatheringDataSourceConfiguration::getByID($db->Insert_ID());
 }