public function registerRDFParser($content_type, $parser) {
    if($this->rdfParsers === null) {
      $this->rdfParsers = new stdClass();
    }
    $this->rdfParsers->{$content_type} = $parser;
  }
public function registerRDFParser($content_type, $parser) {
    if($this->rdfParsers === null) {
      $this->rdfParsers = new stdClass();
    }
    $this->rdfParsers->{$content_type} = $parser;
  }
public function registerRDFParser ( $ content_type , $ parser ) { if ( $ this -> rdfParsers === null ) { $ this -> rdfParsers = new stdClass ( ) ; } $ this -> rdfParsers -> { $ content_type } = $ parser ; }
Registers a processor-specific RDF dataset parser by content-type.
Global parsers will no longer be used by this processor.

@param string $content_type the content-type for the parser.
@param callable $parser(input) the parser function (takes a string as
a parameter and returns an RDF dataset).
Registers a processor - specific RDF dataset parser by content - type . Global parsers will no longer be used by this processor .