public function EasyRdf_Format::getDefaultMimeType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php \EasyRdf_Format::getDefaultMimeType()
Get the default registered mime type for a format object
Return value
string The default mime type as a string.
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Format.php, line 352
Class
- EasyRdf_Format
- Class the represents an RDF file format.
Code
public function getDefaultMimeType() {
$types = array_keys($this->mimeTypes);
if (isset($types[0])) {
return $types[0];
}
}