original_string: protected function itemTypeToIconClass($item, $itemType)
      {
          if ($item->type == MediaLibraryItem::TYPE_FOLDER) {
              return 'icon-folder';
          }
  
          switch ($itemType) {
              case MediaLibraryItem::FILE_TYPE_IMAGE: return "icon-picture-o";
              case MediaLibraryItem::FILE_TYPE_VIDEO: return "icon-video-camera";
              case MediaLibraryItem::FILE_TYPE_AUDIO: return "icon-volume-up";
              default: return "icon-file";
          }
      }
code: protected function itemTypeToIconClass($item, $itemType)
      {
          if ($item->type == MediaLibraryItem::TYPE_FOLDER) {
              return 'icon-folder';
          }
  
          switch ($itemType) {
              case MediaLibraryItem::FILE_TYPE_IMAGE: return "icon-picture-o";
              case MediaLibraryItem::FILE_TYPE_VIDEO: return "icon-video-camera";
              case MediaLibraryItem::FILE_TYPE_AUDIO: return "icon-volume-up";
              default: return "icon-file";
          }
      }
code_tokens: protected function itemTypeToIconClass ( $ item , $ itemType ) { if ( $ item -> type == MediaLibraryItem :: TYPE_FOLDER ) { return 'icon-folder' ; } switch ( $ itemType ) { case MediaLibraryItem :: FILE_TYPE_IMAGE : return "icon-picture-o" ; case MediaLibraryItem :: FILE_TYPE_VIDEO : return "icon-video-camera" ; case MediaLibraryItem :: FILE_TYPE_AUDIO : return "icon-volume-up" ; default : return "icon-file" ; } }
docstring: Returns an icon for the item type
  @param System\Classes\MediaLibraryItem $item
  @param string $itemType
  @return string
docstring_tokens: Returns an icon for the item type