/** * Exclude object from result * * @param ChildPeriodicPlanException $periodicPlanException Object to remove from the list of results * * @return $this|ChildPeriodicPlanExceptionQuery The current query, for fluid interface */ public function prune($periodicPlanException = null) { if ($periodicPlanException) { $this->addUsingAlias(PeriodicPlanExceptionTableMap::COL_PERIODIC_PLAN_EXCEPTION_ID, $periodicPlanException->getPeriodicPlanExceptionId(), Criteria::NOT_EQUAL); } return $this; }
/** * @param ChildPeriodicPlanException $periodicPlanException The ChildPeriodicPlanException object to add. */ protected function doAddPeriodicPlanException(ChildPeriodicPlanException $periodicPlanException) { $this->collPeriodicPlanExceptions[] = $periodicPlanException; $periodicPlanException->setPeriodicPlan($this); }
/** * Filter the query by a related \App\Propel\PeriodicPlanException object * * @param \App\Propel\PeriodicPlanException|ObjectCollection $periodicPlanException the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return ChildPeriodicPlanQuery The current query, for fluid interface */ public function filterByPeriodicPlanException($periodicPlanException, $comparison = null) { if ($periodicPlanException instanceof \App\Propel\PeriodicPlanException) { return $this->addUsingAlias(PeriodicPlanTableMap::COL_PERIODIC_PLAN_ID, $periodicPlanException->getPeriodicPlanId(), $comparison); } elseif ($periodicPlanException instanceof ObjectCollection) { return $this->usePeriodicPlanExceptionQuery()->filterByPrimaryKeys($periodicPlanException->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByPeriodicPlanException() only accepts arguments of type \\App\\Propel\\PeriodicPlanException or Collection'); } }