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