original_string: public function getCssClass()
      {
          $class = self::CLASS_DEFAULT;
  
          if ($this->userView) {
              if ($this->new_post_at > $this->userView->new_last_seen) {
                  $class = self::CLASS_NEW;
              } elseif ($this->edited_post_at > $this->userView->edited_last_seen) {
                  $class = self::CLASS_EDITED;
              }
          } else {
              $class = self::CLASS_NEW;
          }
          return $class;
      }
code: public function getCssClass()
      {
          $class = self::CLASS_DEFAULT;
  
          if ($this->userView) {
              if ($this->new_post_at > $this->userView->new_last_seen) {
                  $class = self::CLASS_NEW;
              } elseif ($this->edited_post_at > $this->userView->edited_last_seen) {
                  $class = self::CLASS_EDITED;
              }
          } else {
              $class = self::CLASS_NEW;
          }
          return $class;
      }
code_tokens: public function getCssClass ( ) { $ class = self :: CLASS_DEFAULT ; if ( $ this -> userView ) { if ( $ this -> new_post_at > $ this -> userView -> new_last_seen ) { $ class = self :: CLASS_NEW ; } elseif ( $ this -> edited_post_at > $ this -> userView -> edited_last_seen ) { $ class = self :: CLASS_EDITED ; } } else { $ class = self :: CLASS_NEW ; } return $ class ; }
docstring: Returns proper CSS class for thread.
  @return string
docstring_tokens: Returns proper CSS class for thread .