예제 #1
0
 /**
  * Exclude object from result
  *
  * @param   ChildActor $actor Object to remove from the list of results
  *
  * @return ChildActorQuery The current query, for fluid interface
  */
 public function prune($actor = null)
 {
     if ($actor) {
         $this->addUsingAlias(ActorTableMap::ID, $actor->getId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }