Пример #1
0
 /**
  * Filter the query by a related \RIssuesRtfplugin object
  *
  * @param \RIssuesRtfplugin|ObjectCollection $rIssuesRtfplugin the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildIssuesQuery The current query, for fluid interface
  */
 public function filterByRIssuesRtfplugin($rIssuesRtfplugin, $comparison = null)
 {
     if ($rIssuesRtfplugin instanceof \RIssuesRtfplugin) {
         return $this->addUsingAlias(IssuesTableMap::COL_ID, $rIssuesRtfplugin->getIssueid(), $comparison);
     } elseif ($rIssuesRtfplugin instanceof ObjectCollection) {
         return $this->useRIssuesRtfpluginQuery()->filterByPrimaryKeys($rIssuesRtfplugin->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByRIssuesRtfplugin() only accepts arguments of type \\RIssuesRtfplugin or Collection');
     }
 }