/** * 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 to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return ChildПроектыQuery The current query, for fluid interface */ public function filterByучасткиработ($�часткиработ, $comparison = null) { if ($�часткиработ instanceof \участкиработ) { return $this->addUsingAlias(ПроектыTableMap::COL_ID, $�часткиработ->getпроект(), $comparison); } elseif ($�часткиработ instanceof ObjectCollection) { return $this->useучасткиработQuery()->filterByPrimaryKeys($�часткиработ->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByучасткиработ() only accepts arguments of type \\участкиработ or Collection'); } }
/** * 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); }
/** * @param Childучасткиработ $�часткиработ The Childучасткиработ object to add. */ protected function doAddучасткиработ(Childучасткиработ $�часткиработ) { $this->collучасткиработs[] = $�часткиработ; $�часткиработ->setПроекты($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'); } }
/** * 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); }