EasyRdf API Documentation
Class

EasyRdf_Serialiser_Arc

class EasyRdf_Serialiser_Arc extends EasyRdf_Serialiser_RdfPhp

Class to serialise RDF using the ARC2 library.

Methods

object __construct()

Constructor

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

Serialise an EasyRdf_Graph into RDF format of choice.

Details

at line 59
public object __construct()

Constructor

Return Value

object EasyRdfSerialiserArc

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

Serialise an EasyRdf_Graph into RDF format of choice.

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