/** * Exclude object from result * * @param StatusAction $statusAction Object to remove from the list of results * * @return StatusActionQuery The current query, for fluid interface */ public function prune($statusAction = null) { if ($statusAction) { $this->addUsingAlias(StatusActionPeer::ID, $statusAction->getId(), Criteria::NOT_EQUAL); } return $this; }