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

@param \gossi\trixionary\model\SkillVersion|ObjectCollection $skillVersion 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 \ SkillVersion object