original_string: public static function get_deleted_types() {
          $defaults = self::get_default_types();
          $deleted = array();
          foreach (self::get_custom_types() as $customentry) {
              if (!empty($customentry->deleted)) {
                  $deleted[$customentry->extension] = $defaults[$customentry->extension];
              }
          }
          return $deleted;
      }
code: public static function get_deleted_types() {
          $defaults = self::get_default_types();
          $deleted = array();
          foreach (self::get_custom_types() as $customentry) {
              if (!empty($customentry->deleted)) {
                  $deleted[$customentry->extension] = $defaults[$customentry->extension];
              }
          }
          return $deleted;
      }
code_tokens: public static function get_deleted_types ( ) { $ defaults = self :: get_default_types ( ) ; $ deleted = array ( ) ; foreach ( self :: get_custom_types ( ) as $ customentry ) { if ( ! empty ( $ customentry -> deleted ) ) { $ deleted [ $ customentry -> extension ] = $ defaults [ $ customentry -> extension ] ; } } return $ deleted ; }
docstring: Gets the default types that have been deleted. Returns an array containing
  the defaults of all those types.
  
  @return array Array (same format as get_mimetypes_array)
docstring_tokens: Gets the default types that have been deleted . Returns an array containing the defaults of all those types .