original_string: static function fetchByEmail( $email, $sorts = null, $offset = null, $length = null, $status = false )
      {
          $cond = array();
          $cond['email'] = $email;
          if ( $status !== false )
          {
              $cond['status'] = $status;
          }
          $limit = null;
          if ( !is_null( $offset ) )
          {
             $limit = array();
             $limit = array( 'offset' => $offset, 'length' => $length );
          }
          $return = eZPersistentObject::fetchObjectList( self::definition(), null, $cond, $sorts, $limit );
          return $return;
      }
code: static function fetchByEmail( $email, $sorts = null, $offset = null, $length = null, $status = false )
      {
          $cond = array();
          $cond['email'] = $email;
          if ( $status !== false )
          {
              $cond['status'] = $status;
          }
          $limit = null;
          if ( !is_null( $offset ) )
          {
             $limit = array();
             $limit = array( 'offset' => $offset, 'length' => $length );
          }
          $return = eZPersistentObject::fetchObjectList( self::definition(), null, $cond, $sorts, $limit );
          return $return;
      }
code_tokens: static function fetchByEmail ( $ email , $ sorts = null , $ offset = null , $ length = null , $ status = false ) { $ cond = array ( ) ; $ cond [ 'email' ] = $ email ; if ( $ status !== false ) { $ cond [ 'status' ] = $ status ; } $ limit = null ; if ( ! is_null ( $ offset ) ) { $ limit = array ( ) ; $ limit = array ( 'offset' => $ offset , 'length' => $ length ) ; } $ return = eZPersistentObject :: fetchObjectList ( self :: definition ( ) , null , $ cond , $ sorts , $ limit ) ; return $ return ; }
docstring: fetch comment by email
  @param string $email email address
  @param array $sorts sort array
  @param integer $offset offset
  @param integer $length length
  @param integer $status status of comment
  @return ezcomComment|null
docstring_tokens: fetch comment by email