Syntax Syntax
Source Source
File: wp-includes/SimplePie/Misc.php
break;
}
}
}
else
{
$output .= '(';
}
}
$output .= substr($string, $position);
return $output;
}
public static function parse_mime($mime)
{
if (($pos = strpos($mime, ';')) === false)
{
return trim($mime);
}
return trim(substr($mime, 0, $pos));
}
public static function atom_03_construct_type($attribs)
{
if (isset($attribs['']['mode']) && strtolower(trim($attribs['']['mode']) === 'base64'))
{
$mode = SIMPLEPIE_CONSTRUCT_BASE64;
}
else
{
$mode = SIMPLEPIE_CONSTRUCT_NONE;
}
if (isset($attribs['']['type']))