/**
  * Filter the query by a related \App\Propel\PeriodicType object
  *
  * @param \App\Propel\PeriodicType|ObjectCollection $periodicType 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 ChildPeriodicTypeI18nQuery The current query, for fluid interface
  */
 public function filterByPeriodicType($periodicType, $comparison = null)
 {
     if ($periodicType instanceof \App\Propel\PeriodicType) {
         return $this->addUsingAlias(PeriodicTypeI18nTableMap::COL_PERIODIC_TYPE_ID, $periodicType->getPeriodicTypeId(), $comparison);
     } elseif ($periodicType instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(PeriodicTypeI18nTableMap::COL_PERIODIC_TYPE_ID, $periodicType->toKeyValue('PrimaryKey', 'PeriodicTypeId'), $comparison);
     } else {
         throw new PropelException('filterByPeriodicType() only accepts arguments of type \\App\\Propel\\PeriodicType or Collection');
     }
 }