/** * 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->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); } 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->месяц = 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'); } }
/** * 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->дата = null; $this->год = null; $this->полугодие = 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); }
/** * 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; }