Esempio n. 1
0
 /**
  * Exclude object from result
  *
  * @param   ChildApi $api Object to remove from the list of results
  *
  * @return $this|ChildApiQuery The current query, for fluid interface
  */
 public function prune($api = null)
 {
     if ($api) {
         $this->addUsingAlias(ApiTableMap::COL_ID, $api->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }