/** * Returns the object ID from the object * * @param \Comment\Model\Comment $object */ protected function getObjectId($object) { $object->getId(); }
/** * Exclude object from result * * @param ChildComment $comment Object to remove from the list of results * * @return ChildCommentQuery The current query, for fluid interface */ public function prune($comment = null) { if ($comment) { $this->addUsingAlias(CommentTableMap::ID, $comment->getId(), Criteria::NOT_EQUAL); } return $this; }