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