/** * 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(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'); } }
/** * Declares an association between this object and a ChildСтатусыЗаявкиЗавершение object. * * @param ChildСтатусыЗаявкиЗавершение $v * @return $this|\Предписания The current object (for fluent API support) * @throws PropelException */ public function setСтатусыЗаявкиЗавершение(ChildСтатусыЗаявкиЗавершение $v = null) { if ($v === null) { $this->setстатусзаявкизавершение(NULL); } else { $this->setстатусзаявкизавершение($v->getId()); } $this->aСтатусыЗаявкиЗавершение = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the ChildСтатусыЗаявкиЗавершение object, it will not be re-added. if ($v !== null) { $v->addПредписания($this); } return $this; }