/** * Clears the current object, sets all attributes to their default values and removes * outgoing references as well as back-references (from other objects to this one. Results probably in a database * change of those foreign objects when you call `save` there). */ public function clear() { if (null !== $this->aInvTypes) { $this->aInvTypes->removeDgmTypeEffects($this); } if (null !== $this->aDgmEffects) { $this->aDgmEffects->removeDgmTypeEffects($this); } $this->typeid = null; $this->effectid = null; $this->alreadyInSave = false; $this->clearAllReferences(); $this->resetModified(); $this->setNew(true); $this->setDeleted(false); }
/** * Clears the current object, sets all attributes to their default values and removes * outgoing references as well as back-references (from other objects to this one. Results probably in a database * change of those foreign objects when you call `save` there). */ public function clear() { if (null !== $this->aInvTypes) { $this->aInvTypes->removeInvMetaTypes($this); } if (null !== $this->aInvMetaGroups) { $this->aInvMetaGroups->removeInvMetaTypes($this); } $this->typeid = null; $this->parenttypeid = null; $this->metagroupid = null; $this->alreadyInSave = false; $this->clearAllReferences(); $this->resetModified(); $this->setNew(true); $this->setDeleted(false); }
/** * Clears the current object, sets all attributes to their default values and removes * outgoing references as well as back-references (from other objects to this one. Results probably in a database * change of those foreign objects when you call `save` there). */ public function clear() { if (null !== $this->aInvTypes) { $this->aInvTypes->removeDgmTypeAttributes($this); } if (null !== $this->aDgmAttributeTypes) { $this->aDgmAttributeTypes->removeDgmTypeAttributes($this); } $this->typeid = null; $this->attributeid = null; $this->valueint = null; $this->valuefloat = null; $this->alreadyInSave = false; $this->clearAllReferences(); $this->resetModified(); $this->setNew(true); $this->setDeleted(false); }
/** * Filter the query by a related \EVE\InvTypes object * * @param \EVE\InvTypes|ObjectCollection $invTypes 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 filterByInvTypes($invTypes, $comparison = null) { if ($invTypes instanceof \EVE\InvTypes) { return $this->addUsingAlias(DgmTypeAttributesTableMap::COL_TYPEID, $invTypes->getTypeid(), $comparison); } elseif ($invTypes instanceof ObjectCollection) { if (null === $comparison) { $comparison = Criteria::IN; } return $this->addUsingAlias(DgmTypeAttributesTableMap::COL_TYPEID, $invTypes->toKeyValue('PrimaryKey', 'Typeid'), $comparison); } else { throw new PropelException('filterByInvTypes() only accepts arguments of type \\EVE\\InvTypes or Collection'); } }
/** * Filter the query by a related \EVE\InvTypes object * * @param \EVE\InvTypes|ObjectCollection $invTypes the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return ChildInvGroupsQuery The current query, for fluid interface */ public function filterByInvTypes($invTypes, $comparison = null) { if ($invTypes instanceof \EVE\InvTypes) { return $this->addUsingAlias(InvGroupsTableMap::COL_GROUPID, $invTypes->getGroupid(), $comparison); } elseif ($invTypes instanceof ObjectCollection) { return $this->useInvTypesQuery()->filterByPrimaryKeys($invTypes->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByInvTypes() only accepts arguments of type \\EVE\\InvTypes or Collection'); } }
/** * @param ChildInvTypes $invTypes The ChildInvTypes object to add. */ protected function doAddInvTypes(ChildInvTypes $invTypes) { $this->collInvTypess[] = $invTypes; $invTypes->setInvGroups($this); }