original_string: protected function get_suggested_class($item) {
          $class = "feedback_itemlist feedback-item-{$item->typ}";
          if ($item->dependitem) {
              $class .= " feedback_is_dependent";
          }
          if ($item->typ !== 'pagebreak') {
              $itemobj = feedback_get_item_class($item->typ);
              if ($itemobj->get_hasvalue()) {
                  $class .= " feedback_hasvalue";
              }
          }
          return $class;
      }
code: protected function get_suggested_class($item) {
          $class = "feedback_itemlist feedback-item-{$item->typ}";
          if ($item->dependitem) {
              $class .= " feedback_is_dependent";
          }
          if ($item->typ !== 'pagebreak') {
              $itemobj = feedback_get_item_class($item->typ);
              if ($itemobj->get_hasvalue()) {
                  $class .= " feedback_hasvalue";
              }
          }
          return $class;
      }
code_tokens: protected function get_suggested_class ( $ item ) { $ class = "feedback_itemlist feedback-item-{$item->typ}" ; if ( $ item -> dependitem ) { $ class .= " feedback_is_dependent" ; } if ( $ item -> typ !== 'pagebreak' ) { $ itemobj = feedback_get_item_class ( $ item -> typ ) ; if ( $ itemobj -> get_hasvalue ( ) ) { $ class .= " feedback_hasvalue" ; } } return $ class ; }
docstring: CSS class for the item
  @param stdClass $item
  @return string
docstring_tokens: CSS class for the item