/**
  * Filter the query by a related \Menu\Model\MenuI18nVersion object
  *
  * @param \Menu\Model\MenuI18nVersion|ObjectCollection $menuI18nVersion  the related object to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildMenuI18nQuery The current query, for fluid interface
  */
 public function filterByMenuI18nVersion($menuI18nVersion, $comparison = null)
 {
     if ($menuI18nVersion instanceof \Menu\Model\MenuI18nVersion) {
         return $this->addUsingAlias(MenuI18nTableMap::ID, $menuI18nVersion->getId(), $comparison);
     } elseif ($menuI18nVersion instanceof ObjectCollection) {
         return $this->useMenuI18nVersionQuery()->filterByPrimaryKeys($menuI18nVersion->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByMenuI18nVersion() only accepts arguments of type \\Menu\\Model\\MenuI18nVersion or Collection');
     }
 }