Пример #1
0
 /**
  * Exclude object from result
  *
  * @param   ChildActivity $activity Object to remove from the list of results
  *
  * @return $this|ChildActivityQuery The current query, for fluid interface
  */
 public function prune($activity = null)
 {
     if ($activity) {
         $this->addUsingAlias(ActivityTableMap::COL_ID, $activity->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }