/** * 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; }
/** * 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); }