/** * Filter the query by a related \Предписания object * * @param \Предписания|ObjectCollection $�редписания the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return ChildПодрядчикиПредписанияQuery The current query, for fluid interface */ public function filterByПредписания($�редписания, $comparison = null) { if ($�редписания instanceof \Предписания) { return $this->addUsingAlias(ПодрядчикиПредписанияTableMap::COL_ID, $�редписания->getподрядчик(), $comparison); } elseif ($�редписания instanceof ObjectCollection) { return $this->useПредписанияQuery()->filterByPrimaryKeys($�редписания->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByПредписания() only accepts arguments of type \\Предписания or Collection'); } }
/** * Filter the query by a related \мтр object * * @param \мтр|ObjectCollection $�тр the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return ChildподрядчикимтрQuery The current query, for fluid interface */ public function filterByмтр($�тр, $comparison = null) { if ($�тр instanceof \мтр) { return $this->addUsingAlias(подрядчикимтрTableMap::COL_ID, $�тр->getподрядчик(), $comparison); } elseif ($�тр instanceof ObjectCollection) { return $this->useмтрQuery()->filterByPrimaryKeys($�тр->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByмтр() only accepts arguments of type \\мтр or Collection'); } }