/** * Filter the query by a related Slider_mae object * * @param Slider_mae $slider_mae the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return Slider_categQuery The current query, for fluid interface */ public function filterBySlider_mae($slider_mae, $comparison = null) { if ($slider_mae instanceof Slider_mae) { return $this->addUsingAlias(Slider_categPeer::ID, $slider_mae->getId_categoria(), $comparison); } elseif ($slider_mae instanceof PropelCollection) { return $this->useSlider_maeQuery()->filterByPrimaryKeys($slider_mae->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterBySlider_mae() only accepts arguments of type Slider_mae or PropelCollection'); } }
/** * @param Slider_mae $slider_mae The slider_mae object to add. */ protected function doAddSlider_mae($slider_mae) { $this->collSlider_maes[] = $slider_mae; $slider_mae->setSlider_categ($this); }
/** * Exclude object from result * * @param Slider_mae $slider_mae Object to remove from the list of results * * @return Slider_maeQuery The current query, for fluid interface */ public function prune($slider_mae = null) { if ($slider_mae) { $this->addUsingAlias(Slider_maePeer::ID, $slider_mae->getId(), Criteria::NOT_EQUAL); } return $this; }