Esempio n. 1
0
 /**
  * Filter the query by a related \App\Propel\ConfigI18n object
  *
  * @param \App\Propel\ConfigI18n|ObjectCollection $configI18n the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildConfigQuery The current query, for fluid interface
  */
 public function filterByConfigI18n($configI18n, $comparison = null)
 {
     if ($configI18n instanceof \App\Propel\ConfigI18n) {
         return $this->addUsingAlias(ConfigTableMap::COL_CONFIG_ID, $configI18n->getConfigId(), $comparison);
     } elseif ($configI18n instanceof ObjectCollection) {
         return $this->useConfigI18nQuery()->filterByPrimaryKeys($configI18n->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByConfigI18n() only accepts arguments of type \\App\\Propel\\ConfigI18n or Collection');
     }
 }