public function filterByVersionCreatedBy($versionCreatedBy = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($versionCreatedBy)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $versionCreatedBy)) {
                $versionCreatedBy = str_replace('*', '%', $versionCreatedBy);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(PersonImageVersionTableMap::VERSION_CREATED_BY, $versionCreatedBy, $comparison);
    }
public function filterByVersionCreatedBy($versionCreatedBy = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($versionCreatedBy)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $versionCreatedBy)) {
                $versionCreatedBy = str_replace('*', '%', $versionCreatedBy);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(PersonImageVersionTableMap::VERSION_CREATED_BY, $versionCreatedBy, $comparison);
    }
public function filterByVersionCreatedBy ( $ versionCreatedBy = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ versionCreatedBy ) ) { $ comparison = Criteria :: IN ; } elseif ( preg_match ( '/[\%\*]/' , $ versionCreatedBy ) ) { $ versionCreatedBy = str_replace ( '*' , '%' , $ versionCreatedBy ) ; $ comparison = Criteria :: LIKE ; } } return $ this -> addUsingAlias ( PersonImageVersionTableMap :: VERSION_CREATED_BY , $ versionCreatedBy , $ comparison ) ; }
Filter the query on the version_created_by column

Example usage:
<code>
$query->filterByVersionCreatedBy('fooValue');   // WHERE version_created_by = 'fooValue'
$query->filterByVersionCreatedBy('%fooValue%'); // WHERE version_created_by LIKE '%fooValue%'
</code>

@param     string $versionCreatedBy The value to use as filter.
Accepts wildcards (* and % trigger a LIKE)
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildPersonImageVersionQuery The current query, for fluid interface
Filter the query on the version_created_by column