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