Class NTripleSerializer

Description

PHP N-Triple Serializer

This class serialises models to N-Triple Syntax.

  • access: public
  • version: $Id: NTripleSerializer.html,v 1.15 2006/06/26 12:34:21 tgauss Exp $
  • author: Daniel Westphal <mail@d-westphal.de>

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

Object
   |
   --NTripleSerializer
Variable Summary
mixed $debug
mixed $model
mixed $res
Method Summary
NTripleSerializer NTripleSerializer ()
void reset (void 0)
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 ()
reset (line 125)

Readies this object for serializing another model

  • access: private
void reset (void 0)
  • void 0
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 Mon, 26 Jun 2006 14:25:43 +0200 by phpDocumentor 1.3.0RC6