public function RestWSFormatRDF::__construct in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.formats.inc \RestWSFormatRDF::__construct()
Overrides RestWSBaseFormat::__construct
File
- ./
restws.formats.inc, line 311 - RESTful web services module formats.
Class
- RestWSFormatRDF
- A simple formatter for RDF. Requires the RDF module for the mapping.
Code
public function __construct($name, $info) {
parent::__construct($name, $info);
$this->namespaces = rdf_get_namespaces();
$this->namespaces['rdf'] = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#';
}