You are here

public function EasyRdf_Format::getDefaultExtension in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php \EasyRdf_Format::getDefaultExtension()

Get the default registered file extension (filename suffix) for a format object

Return value

string The default extension as a string.

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php, line 390

Class

EasyRdf_Format
Class the represents an RDF file format.

Code

public function getDefaultExtension() {
  if (isset($this->extensions[0])) {
    return $this->extensions[0];
  }
}