public function filterByLastOnline($lastOnline = null, $comparison = null)
    {
        if (is_array($lastOnline)) {
            $useMinMax = false;
            if (isset($lastOnline['min'])) {
                $this->addUsingAlias(PlayerTableMap::COL_LAST_ONLINE, $lastOnline['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($lastOnline['max'])) {
                $this->addUsingAlias(PlayerTableMap::COL_LAST_ONLINE, $lastOnline['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(PlayerTableMap::COL_LAST_ONLINE, $lastOnline, $comparison);
    }
public function filterByLastOnline($lastOnline = null, $comparison = null)
    {
        if (is_array($lastOnline)) {
            $useMinMax = false;
            if (isset($lastOnline['min'])) {
                $this->addUsingAlias(PlayerTableMap::COL_LAST_ONLINE, $lastOnline['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($lastOnline['max'])) {
                $this->addUsingAlias(PlayerTableMap::COL_LAST_ONLINE, $lastOnline['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(PlayerTableMap::COL_LAST_ONLINE, $lastOnline, $comparison);
    }
public function filterByLastOnline ( $ lastOnline = null , $ comparison = null ) { if ( is_array ( $ lastOnline ) ) { $ useMinMax = false ; if ( isset ( $ lastOnline [ 'min' ] ) ) { $ this -> addUsingAlias ( PlayerTableMap :: COL_LAST_ONLINE , $ lastOnline [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ lastOnline [ 'max' ] ) ) { $ this -> addUsingAlias ( PlayerTableMap :: COL_LAST_ONLINE , $ lastOnline [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( PlayerTableMap :: COL_LAST_ONLINE , $ lastOnline , $ comparison ) ; }
Filter the query on the last_online column

Example usage:
<code>
$query->filterByLastOnline('2011-03-14'); // WHERE last_online = '2011-03-14'
$query->filterByLastOnline('now'); // WHERE last_online = '2011-03-14'
$query->filterByLastOnline(array('max' => 'yesterday')); // WHERE last_online > '2011-03-13'
</code>

@param     mixed $lastOnline The value to use as filter.
Values can be integers (unix timestamps), DateTime objects, or strings.
Empty strings are treated as NULL.
Use scalar values for equality.
Use array values for in_array() equivalent.
Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildPlayerQuery The current query, for fluid interface
Filter the query on the last_online column