/** * Exclude object from result * * @param ChildDgmAttributeTypes $dgmAttributeTypes Object to remove from the list of results * * @return $this|ChildDgmAttributeTypesQuery The current query, for fluid interface */ public function prune($dgmAttributeTypes = null) { if ($dgmAttributeTypes) { $this->addUsingAlias(DgmAttributeTypesTableMap::COL_ATTRIBUTEID, $dgmAttributeTypes->getAttributeid(), Criteria::NOT_EQUAL); } return $this; }
/** * Filter the query by a related \EVE\DgmAttributeTypes object * * @param \EVE\DgmAttributeTypes|ObjectCollection $dgmAttributeTypes The related object(s) to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @throws \Propel\Runtime\Exception\PropelException * * @return ChildDgmTypeAttributesQuery The current query, for fluid interface */ public function filterByDgmAttributeTypes($dgmAttributeTypes, $comparison = null) { if ($dgmAttributeTypes instanceof \EVE\DgmAttributeTypes) { return $this->addUsingAlias(DgmTypeAttributesTableMap::COL_ATTRIBUTEID, $dgmAttributeTypes->getAttributeid(), $comparison); } elseif ($dgmAttributeTypes instanceof ObjectCollection) { if (null === $comparison) { $comparison = Criteria::IN; } return $this->addUsingAlias(DgmTypeAttributesTableMap::COL_ATTRIBUTEID, $dgmAttributeTypes->toKeyValue('PrimaryKey', 'Attributeid'), $comparison); } else { throw new PropelException('filterByDgmAttributeTypes() only accepts arguments of type \\EVE\\DgmAttributeTypes or Collection'); } }
/** * Declares an association between this object and a ChildDgmAttributeTypes object. * * @param ChildDgmAttributeTypes $v * @return $this|\EVE\DgmTypeAttributes The current object (for fluent API support) * @throws PropelException */ public function setDgmAttributeTypes(ChildDgmAttributeTypes $v = null) { if ($v === null) { $this->setAttributeid(NULL); } else { $this->setAttributeid($v->getAttributeid()); } $this->aDgmAttributeTypes = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildDgmAttributeTypes object, it will not be re-added. if ($v !== null) { $v->addDgmTypeAttributes($this); } return $this; }