public static function EasyRdf_Format::formatExists

Check if a named graph exists

Parameters

string $name the name of the format:

Return value

boolean true if the format exists

2 calls to EasyRdf_Format::formatExists()
EasyRdf_Format::registerParser in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php
Class method to register a parser class to a format name
EasyRdf_Format::registerSerialiser in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php
Class method to register a serialiser class to a format name

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Format.php, line 122

Class

EasyRdf_Format
Class the represents an RDF file format.

Code

public static function formatExists($name) {
  return array_key_exists($name, self::$formats);
}