/**
  * method supporting recursion through all criterions to give
  * us a string array of tables from each criterion
  * @return void
  */
 private function addCriterionTable(AbstractCriterion $c, array &$s)
 {
     $s[] = $c->getTable();
     foreach ($c->getClauses() as $clause) {
         $this->addCriterionTable($clause, $s);
     }
 }