/** * Declares an association between this object and a ChildInvGroups object. * * @param ChildInvGroups $v * @return $this|\EVE\InvTypes The current object (for fluent API support) * @throws PropelException */ public function setInvGroups(ChildInvGroups $v = null) { if ($v === null) { $this->setGroupid(NULL); } else { $this->setGroupid($v->getGroupid()); } $this->aInvGroups = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildInvGroups object, it will not be re-added. if ($v !== null) { $v->addInvTypes($this); } return $this; }
/** * Exclude object from result * * @param ChildInvGroups $invGroups Object to remove from the list of results * * @return $this|ChildInvGroupsQuery The current query, for fluid interface */ public function prune($invGroups = null) { if ($invGroups) { $this->addUsingAlias(InvGroupsTableMap::COL_GROUPID, $invGroups->getGroupid(), Criteria::NOT_EQUAL); } return $this; }