/** * 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->aотображаемыетипытехникимтр) { $this->aотображаемыетипытехникимтр->removeтипытехникимтр($this); } $this->id = null; $this->тип_техники = null; $this->отображаемый_тип_техники = null; $this->alreadyInSave = false; $this->clearAllReferences(); $this->resetModified(); $this->setNew(true); $this->setDeleted(false); }
/** * Exclude object from result * * @param Childотображаемыетипытехникимтр $�тображаемыетипытехникимтр Object to remove from the list of results * * @return $this|ChildотображаемыетипытехникимтрQuery The current query, for fluid interface */ public function prune($�тображаемыетипытехникимтр = null) { if ($�тображаемыетипытехникимтр) { $this->addUsingAlias(отображаемыетипытехникимтрTableMap::COL_ID, $�тображаемыетипытехникимтр->getId(), Criteria::NOT_EQUAL); } return $this; }
/** * Filter the query by a related \отображаемыетипытехникимтр object * * @param \отображаемыетипытехникимтр|ObjectCollection $�тображаемыетипытехникимтр 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 ChildтипытехникимтрQuery The current query, for fluid interface */ public function filterByотображаемыетипытехникимтр($�тображаемыетипытехникимтр, $comparison = null) { if ($�тображаемыетипытехникимтр instanceof \отображаемыетипытехникимтр) { return $this->addUsingAlias(типытехникимтрTableMap::COL_ОТОБРАЖАЕМЫЙ_ТИП_ТЕХНИКИ, $�тображаемыетипытехникимтр->getId(), $comparison); } elseif ($�тображаемыетипытехникимтр instanceof ObjectCollection) { if (null === $comparison) { $comparison = Criteria::IN; } return $this->addUsingAlias(типытехникимтрTableMap::COL_ОТОБРАЖАЕМЫЙ_ТИП_ТЕХНИКИ, $�тображаемыетипытехникимтр->toKeyValue('PrimaryKey', 'Id'), $comparison); } else { throw new PropelException('filterByотображаемыетипытехникимтр() only accepts arguments of type \\отображаемыетипытехникимтр or Collection'); } }