Class NTripleSerializer

Description

PHP N-Triple Serializer

This class serialises models to N-Triple Syntax.

History:

  • 11-15-2003 Initial version

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

Object
   |
   --NTripleSerializer
Variable Summary
mixed $debug
mixed $model
mixed $res
Method Summary
NTripleSerializer NTripleSerializer ()
boolean saveAs (object MemModel &$model, string $filename)
string &serialize (mixed &$m, object Model $model)
Variables
mixed $debug (line 30)
mixed $model (line 31)
mixed $res (line 32)
Methods
Constructor NTripleSerializer (line 43)

Constructor

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

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 (object MemModel &$model, string $filename)
  • object MemModel $model
  • string $filename
serialize (line 54)

Serializes a model to N Triple syntax.

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

Inherited Methods

Inherited From Object

Object::toString()

Documentation generated on Fri, 17 Dec 2004 16:16:23 +0100 by phpDocumentor 1.3.0RC3