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