src/Slashworks/AppBundle/Model/om/BaseRemoteAppQuery.php
public function filterByCron($cron = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($cron)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $cron)) {
                $cron = str_replace('*', '%', $cron);
                $comparison = Criteria::LIKE;
            }
        }

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

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

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

@param     string $cron 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 RemoteAppQuery The current query, for fluid interface
Filter the query on the cron column