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