public function filterByPersonFunctionLinkIds($personFunctionLinkIds = null, $comparison = null)
    {
        $key = $this->getAliasedColName(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_IDS);
        if (null === $comparison || $comparison == Criteria::CONTAINS_ALL) {
            foreach ($personFunctionLinkIds as $value) {
                $value = '%| ' . $value . ' |%';
                if ($this->containsKey($key)) {
                    $this->addAnd($key, $value, Criteria::LIKE);
                } else {
                    $this->add($key, $value, Criteria::LIKE);
                }
            }

            return $this;
        } elseif ($comparison == Criteria::CONTAINS_SOME) {
            foreach ($personFunctionLinkIds as $value) {
                $value = '%| ' . $value . ' |%';
                if ($this->containsKey($key)) {
                    $this->addOr($key, $value, Criteria::LIKE);
                } else {
                    $this->add($key, $value, Criteria::LIKE);
                }
            }

            return $this;
        } elseif ($comparison == Criteria::CONTAINS_NONE) {
            foreach ($personFunctionLinkIds as $value) {
                $value = '%| ' . $value . ' |%';
                if ($this->containsKey($key)) {
                    $this->addAnd($key, $value, Criteria::NOT_LIKE);
                } else {
                    $this->add($key, $value, Criteria::NOT_LIKE);
                }
            }
            $this->addOr($key, null, Criteria::ISNULL);

            return $this;
        }

        return $this->addUsingAlias(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_IDS, $personFunctionLinkIds, $comparison);
    }
public function filterByPersonFunctionLinkIds($personFunctionLinkIds = null, $comparison = null)
    {
        $key = $this->getAliasedColName(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_IDS);
        if (null === $comparison || $comparison == Criteria::CONTAINS_ALL) {
            foreach ($personFunctionLinkIds as $value) {
                $value = '%| ' . $value . ' |%';
                if ($this->containsKey($key)) {
                    $this->addAnd($key, $value, Criteria::LIKE);
                } else {
                    $this->add($key, $value, Criteria::LIKE);
                }
            }

            return $this;
        } elseif ($comparison == Criteria::CONTAINS_SOME) {
            foreach ($personFunctionLinkIds as $value) {
                $value = '%| ' . $value . ' |%';
                if ($this->containsKey($key)) {
                    $this->addOr($key, $value, Criteria::LIKE);
                } else {
                    $this->add($key, $value, Criteria::LIKE);
                }
            }

            return $this;
        } elseif ($comparison == Criteria::CONTAINS_NONE) {
            foreach ($personFunctionLinkIds as $value) {
                $value = '%| ' . $value . ' |%';
                if ($this->containsKey($key)) {
                    $this->addAnd($key, $value, Criteria::NOT_LIKE);
                } else {
                    $this->add($key, $value, Criteria::NOT_LIKE);
                }
            }
            $this->addOr($key, null, Criteria::ISNULL);

            return $this;
        }

        return $this->addUsingAlias(PersonFunctionVersionTableMap::PERSON_FUNCTION_LINK_IDS, $personFunctionLinkIds, $comparison);
    }
public function filterByPersonFunctionLinkIds ( $ personFunctionLinkIds = null , $ comparison = null ) { $ key = $ this -> getAliasedColName ( PersonFunctionVersionTableMap :: PERSON_FUNCTION_LINK_IDS ) ; if ( null === $ comparison || $ comparison == Criteria :: CONTAINS_ALL ) { foreach ( $ personFunctionLinkIds as $ value ) { $ value = '%| ' . $ value . ' |%' ; if ( $ this -> containsKey ( $ key ) ) { $ this -> addAnd ( $ key , $ value , Criteria :: LIKE ) ; } else { $ this -> add ( $ key , $ value , Criteria :: LIKE ) ; } } return $ this ; } elseif ( $ comparison == Criteria :: CONTAINS_SOME ) { foreach ( $ personFunctionLinkIds as $ value ) { $ value = '%| ' . $ value . ' |%' ; if ( $ this -> containsKey ( $ key ) ) { $ this -> addOr ( $ key , $ value , Criteria :: LIKE ) ; } else { $ this -> add ( $ key , $ value , Criteria :: LIKE ) ; } } return $ this ; } elseif ( $ comparison == Criteria :: CONTAINS_NONE ) { foreach ( $ personFunctionLinkIds as $ value ) { $ value = '%| ' . $ value . ' |%' ; if ( $ this -> containsKey ( $ key ) ) { $ this -> addAnd ( $ key , $ value , Criteria :: NOT_LIKE ) ; } else { $ this -> add ( $ key , $ value , Criteria :: NOT_LIKE ) ; } } $ this -> addOr ( $ key , null , Criteria :: ISNULL ) ; return $ this ; } return $ this -> addUsingAlias ( PersonFunctionVersionTableMap :: PERSON_FUNCTION_LINK_IDS , $ personFunctionLinkIds , $ comparison ) ; }
Filter the query on the person_function_link_ids column

@param     array $personFunctionLinkIds The values to use as filter.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildPersonFunctionVersionQuery The current query, for fluid interface
Filter the query on the person_function_link_ids column