EasyRdf API Documentation
Class

EasyRdf_Serialiser_RdfPhp

class EasyRdf_Serialiser_RdfPhp extends EasyRdf_Serialiser

Class to serialise an EasyRdf_Graph to RDF/PHP with no external dependancies.

Methods

__construct()

from EasyRdf_Serialiser
string serialise(EasyRdf_Graph $graph, string $format, array $options = array())

Method to serialise an EasyRdf_Graph to RDF/PHP

Details

in EasyRdf_Serialiser at line 49
public __construct()

at line 60
public string serialise(EasyRdf_Graph $graph, string $format, array $options = array())

Method to serialise an EasyRdf_Graph to RDF/PHP

http://n2.talis.com/wiki/RDFPHPSpecification docs/appendix-a-rdf-formats-php.md

Parameters

EasyRdf_Graph $graph An EasyRdf_Graph object.
string $format The name of the format to convert to.
array $options

Return Value

string The RDF in the new desired format.

Exceptions

EasyRdf_Exception