Class NTripleSerializer

Description

PHP N-Triple Serializer

This class serialises models to N-Triple Syntax.

  • author: Daniel Westphal <mail@d-westphal.de>
  • version: $Id: NTripleSerializer.html 443 2007-06-01 16:25:38Z cax $
  • access: public

Located in /syntax/NTripleSerializer.php (line 23)

Object
   |
   --NTripleSerializer
Variable Summary
mixed $debug
mixed $model
mixed $res
Method Summary
NTripleSerializer NTripleSerializer ()
boolean saveAs ( &$model, string $filename, object MemModel $model)
string &serialize ( &$m, object Model $model)
Variables
mixed $debug (line 25)
mixed $model (line 26)
mixed $res (line 27)
Methods
Constructor NTripleSerializer (line 38)

Constructor

  • access: public
NTripleSerializer NTripleSerializer ()
saveAs (line 99)

Serializes a model and saves it into a file.

Returns FALSE if the model couldn't be saved to the file.

  • access: public
boolean saveAs ( &$model, string $filename, object MemModel $model)
  • object MemModel $model
  • string $filename
  • &$model
serialize (line 49)

Serializes a model to N Triple syntax.

  • access: public
string &serialize ( &$m, object Model $model)
  • object Model $model
  • &$m

Inherited Methods

Inherited From Object

Object::toString()

Documentation generated on Fri, 1 Jun 2007 16:50:04 +0200 by phpDocumentor 1.3.2