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

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