src/model/Base/SkillQuery.php
public function filterBySkillGroup($skillGroup, $comparison = null)
    {
        if ($skillGroup instanceof \gossi\trixionary\model\SkillGroup) {
            return $this
                ->addUsingAlias(SkillTableMap::COL_ID, $skillGroup->getSkillId(), $comparison);
        } elseif ($skillGroup instanceof ObjectCollection) {
            return $this
                ->useSkillGroupQuery()
                ->filterByPrimaryKeys($skillGroup->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterBySkillGroup() only accepts arguments of type \gossi\trixionary\model\SkillGroup or Collection');
        }
    }
public function filterBySkillGroup($skillGroup, $comparison = null)
    {
        if ($skillGroup instanceof \gossi\trixionary\model\SkillGroup) {
            return $this
                ->addUsingAlias(SkillTableMap::COL_ID, $skillGroup->getSkillId(), $comparison);
        } elseif ($skillGroup instanceof ObjectCollection) {
            return $this
                ->useSkillGroupQuery()
                ->filterByPrimaryKeys($skillGroup->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterBySkillGroup() only accepts arguments of type \gossi\trixionary\model\SkillGroup or Collection');
        }
    }
public function filterBySkillGroup ( $ skillGroup , $ comparison = null ) { if ( $ skillGroup instanceof \ gossi \ trixionary \ model \ SkillGroup ) { return $ this -> addUsingAlias ( SkillTableMap :: COL_ID , $ skillGroup -> getSkillId ( ) , $ comparison ) ; } elseif ( $ skillGroup instanceof ObjectCollection ) { return $ this -> useSkillGroupQuery ( ) -> filterByPrimaryKeys ( $ skillGroup -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterBySkillGroup() only accepts arguments of type \gossi\trixionary\model\SkillGroup or Collection' ) ; } }
Filter the query by a related \gossi\trixionary\model\SkillGroup object

@param \gossi\trixionary\model\SkillGroup|ObjectCollection $skillGroup the related object to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildSkillQuery The current query, for fluid interface
Filter the query by a related \ gossi \ trixionary \ model \ SkillGroup object