original_string: public function filterByActivated($activated = null, $comparison = null)
      {
          if (is_string($activated)) {
              $activated = in_array(strtolower($activated), array('false', 'off', '-', 'no', 'n', '0', '')) ? false : true;
          }
  
          return $this->addUsingAlias(UserPeer::ACTIVATED, $activated, $comparison);
      }
code: public function filterByActivated($activated = null, $comparison = null)
      {
          if (is_string($activated)) {
              $activated = in_array(strtolower($activated), array('false', 'off', '-', 'no', 'n', '0', '')) ? false : true;
          }
  
          return $this->addUsingAlias(UserPeer::ACTIVATED, $activated, $comparison);
      }
code_tokens: public function filterByActivated ( $ activated = null , $ comparison = null ) { if ( is_string ( $ activated ) ) { $ activated = in_array ( strtolower ( $ activated ) , array ( 'false' , 'off' , '-' , 'no' , 'n' , '0' , '' ) ) ? false : true ; } return $ this -> addUsingAlias ( UserPeer :: ACTIVATED , $ activated , $ comparison ) ; }
docstring: Filter the query on the activated column
  
  Example usage:
  <code>
  $query->filterByActivated(true); // WHERE activated = true
  $query->filterByActivated('yes'); // WHERE activated = true
  </code>
  
  @param     boolean|string $activated The value to use as filter.
  Non-boolean arguments are converted using the following rules:
  * 1, '1', 'true',  'on',  and 'yes' are converted to boolean true
  * 0, '0', 'false', 'off', and 'no'  are converted to boolean false
  Check on string values is case insensitive (so 'FaLsE' is seen as 'false').
  @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 activated column