syntax
[ class tree: syntax ] [ index: syntax ] [ all elements ]

Class: RDF_NTriple_Serializer

Source Location: /RDF_NTriple-0.2.0/RDF/NTriple/Serializer.php

Class Overview

RDF_Object
   |
   --RDF_NTriple_Serializer

PHP N-Triple Serializer


Author(s):

Version:

  • V0.7

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 16]
PHP N-Triple Serializer

This class serialises models to N-Triple Syntax.



[ Top ]


Class Variables

$debug =

[line 18]


Type:   mixed


[ Top ]

$model =

[line 19]


Type:   mixed


[ Top ]

$res =

[line 20]


Type:   mixed


[ Top ]



Method Detail

RDF_NTriple_Serializer (Constructor)   [line 25]

RDF_NTriple_Serializer RDF_NTriple_Serializer( )

  • Access: public

[ Top ]

reset   [line 117]

void reset( void 0)

Readies this object for serializing another model
  • Access: protected

Parameters:

void   0     

[ Top ]

saveAs   [line 93]

boolean saveAs( &$model, string $filename, object Model_Memory $model)

Serializes a model and saves it into a file.

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

  • Access: public

Parameters:

object Model_Memory   $model     
string   $filename     
   &$model     

[ Top ]

serialize   [line 37]

string &serialize( &$m, object Model $model)

Serializes a model to N Triple syntax.
  • Access: public

Parameters:

object Model   $model     
   &$m     

[ Top ]


Documentation generated on Sun, 10 Oct 2010 02:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.