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