/**
  * 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);
     }
     $this->id = 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_ДАТА_ОТЧЁТА, $�алендарь->getдата(), $comparison);
     } elseif ($�алендарь instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(мобилизацияTableMap::COL_ДАТА_ОТЧЁТА, $�алендарь->toKeyValue('PrimaryKey', 'дата'), $comparison);
     } else {
         throw new PropelException('filterByКалендарь() only accepts arguments of type \\Календарь or Collection');
     }
 }
 /**
  * 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');
     }
 }
 /**
  * @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КалендарьRelatedByфактическаядатаустранения($�алендарь, $comparison = null)
 {
     if ($�алендарь instanceof \Календарь) {
         return $this->addUsingAlias(ПредписанияTableMap::COL_ФАКТИЧЕСКАЯ_ДАТА_УСТРАНЕНИЯ, $�алендарь->getдата(), $comparison);
     } elseif ($�алендарь instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(ПредписанияTableMap::COL_ФАКТИЧЕСКАЯ_ДАТА_УСТРАНЕНИЯ, $�алендарь->toKeyValue('PrimaryKey', 'дата'), $comparison);
     } else {
         throw new PropelException('filterByКалендарьRelatedByфактическаядатаустранения() 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);
 }
 /**
  * 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);
 }
 /**
  * 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);
 }
 /**
  * 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КалендарьRelatedByдатавыдачи) {
         $this->aКалендарьRelatedByдатавыдачи->removeПредписанияRelatedByдатавыдачи($this);
     }
     if (null !== $this->aКонтролирующиеОрганы) {
         $this->aКонтролирующиеОрганы->removeПредписания($this);
     }
     if (null !== $this->aКалендарьRelatedByплановаядатаустранения) {
         $this->aКалендарьRelatedByплановаядатаустранения->removeПредписанияRelatedByплановаядатаустранения($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);
     }
     if (null !== $this->aКалендарьRelatedByфактическаядатаустранения) {
         $this->aКалендарьRelatedByфактическаядатаустранения->removeПредписанияRelatedByфактическаядатаустранения($this);
     }
     $this->id = 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_ДАТА, $�алендарь->getдата(), Criteria::NOT_EQUAL);
     }
     return $this;
 }
예제 #12
0
 /**
  * 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);
     }
     $this->id = null;
     $this->vin = 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);
 }