Method MIME.Message()->parse_param()
- Method
parse_param
protectedvoidparse_param(mapping(string:string)params,array(string|int)entry,stringheader,int|voidguess,array(string|int)|voidentry2)- Description
Parse a Content-Type or Content-Disposition parameter.
- Parameter
params Mapping to add parameters to.
- Parameter
entry Array of tokens containing a parameter declaration.
- Parameter
header Name of the header from which
entryoriginated. This is only used to report errors.- Parameter
guess Make a best-effort attempt to parse broken entries.
- Parameter
entry2 Same as
entry, but tokenized with MIME.TOKENIZE_KEEP_ESCAPES.- See also