/** * 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); } if (null !== $this->aКалендарь) { $this->aКалендарь->removeфизическиеобъёмы($this); } if (null !== $this->aтипыработ) { $this->aтипыработ->removeфизическиеобъёмы($this); } $this->id = null; $this->дата = null; $this->участок_работ = null; $this->тип_работ = null; $this->план = null; $this->факт = null; $this->причина_отставания = 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->aКалендарь) { $this->aКалендарь->removeвыработка($this); } if (null !== $this->aтипыработ) { $this->aтипыработ->removeвыработка($this); } if (null !== $this->aтипытехникивыработка) { $this->aтипытехникивыработка->removeвыработка($this); } if (null !== $this->aучасткиработ) { $this->aучасткиработ->removeвыработка($this); } $this->id = null; $this->дата = null; $this->участок_работ = null; $this->тип_техники = null; $this->план = null; $this->факт = null; $this->тип_работ = null; $this->выработка = null; $this->alreadyInSave = false; $this->clearAllReferences(); $this->resetModified(); $this->setNew(true); $this->setDeleted(false); }
/** * 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'); } }
/** * 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; }