original_string: public function filterByLastLogin($lastLogin = null, $comparison = null)
      {
          if (is_array($lastLogin)) {
              $useMinMax = false;
              if (isset($lastLogin['min'])) {
                  $this->addUsingAlias(UserPeer::LAST_LOGIN, $lastLogin['min'], Criteria::GREATER_EQUAL);
                  $useMinMax = true;
              }
              if (isset($lastLogin['max'])) {
                  $this->addUsingAlias(UserPeer::LAST_LOGIN, $lastLogin['max'], Criteria::LESS_EQUAL);
                  $useMinMax = true;
              }
              if ($useMinMax) {
                  return $this;
              }
              if (null === $comparison) {
                  $comparison = Criteria::IN;
              }
          }
  
          return $this->addUsingAlias(UserPeer::LAST_LOGIN, $lastLogin, $comparison);
      }
code: public function filterByLastLogin($lastLogin = null, $comparison = null)
      {
          if (is_array($lastLogin)) {
              $useMinMax = false;
              if (isset($lastLogin['min'])) {
                  $this->addUsingAlias(UserPeer::LAST_LOGIN, $lastLogin['min'], Criteria::GREATER_EQUAL);
                  $useMinMax = true;
              }
              if (isset($lastLogin['max'])) {
                  $this->addUsingAlias(UserPeer::LAST_LOGIN, $lastLogin['max'], Criteria::LESS_EQUAL);
                  $useMinMax = true;
              }
              if ($useMinMax) {
                  return $this;
              }
              if (null === $comparison) {
                  $comparison = Criteria::IN;
              }
          }
  
          return $this->addUsingAlias(UserPeer::LAST_LOGIN, $lastLogin, $comparison);
      }
code_tokens: public function filterByLastLogin ( $ lastLogin = null , $ comparison = null ) { if ( is_array ( $ lastLogin ) ) { $ useMinMax = false ; if ( isset ( $ lastLogin [ 'min' ] ) ) { $ this -> addUsingAlias ( UserPeer :: LAST_LOGIN , $ lastLogin [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ lastLogin [ 'max' ] ) ) { $ this -> addUsingAlias ( UserPeer :: LAST_LOGIN , $ lastLogin [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( UserPeer :: LAST_LOGIN , $ lastLogin , $ comparison ) ; }
docstring: Filter the query on the last_login column
  
  Example usage:
  <code>
  $query->filterByLastLogin('2011-03-14'); // WHERE last_login = '2011-03-14'
  $query->filterByLastLogin('now'); // WHERE last_login = '2011-03-14'
  $query->filterByLastLogin(array('max' => 'yesterday')); // WHERE last_login < '2011-03-13'
  </code>
  
  @param     mixed $lastLogin 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 UserQuery The current query, for fluid interface
docstring_tokens: Filter the query on the last_login column