diff options
Diffstat (limited to 'core/vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/Arc.php')
-rw-r--r-- | core/vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/Arc.php | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/Arc.php b/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/Arc.php index fc79eca..31bd8b7 100644 --- a/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/Arc.php +++ b/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Serialiser/Arc.php @@ -5,7 +5,7 @@ * * LICENSE * - * Copyright (c) 2009-2010 Nicholas J Humfrey. All rights reserved. + * Copyright (c) 2009-2013 Nicholas J Humfrey. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -31,16 +31,15 @@ * POSSIBILITY OF SUCH DAMAGE. * * @package EasyRdf - * @copyright Copyright (c) 2009-2010 Nicholas J Humfrey + * @copyright Copyright (c) 2009-2013 Nicholas J Humfrey * @license http://www.opensource.org/licenses/bsd-license.php - * @version $Id$ */ /** * Class to serialise RDF using the ARC2 library. * * @package EasyRdf - * @copyright Copyright (c) 2009-2010 Nicholas J Humfrey + * @copyright Copyright (c) 2009-2013 Nicholas J Humfrey * @license http://www.opensource.org/licenses/bsd-license.php */ class EasyRdf_Serialiser_Arc extends EasyRdf_Serialiser_RdfPhp @@ -65,11 +64,13 @@ class EasyRdf_Serialiser_Arc extends EasyRdf_Serialiser_RdfPhp /** * Serialise an EasyRdf_Graph into RDF format of choice. * - * @param object EasyRdf_Graph $graph An EasyRdf_Graph object. - * @param string $format The name of the format to convert to. + * @param EasyRdf_Graph $graph An EasyRdf_Graph object. + * @param string $format The name of the format to convert to. + * @param array $options + * @throws EasyRdf_Exception * @return string The RDF in the new desired format. */ - public function serialise($graph, $format) + public function serialise($graph, $format, array $options = array()) { parent::checkSerialiseParams($graph, $format); |