Docs For Class EasyRdf_TypeMapper

## Class EasyRdf_TypeMapper

Description

Class to map between RDF Types and PHP Classes

- copyright: Copyright (c) 2009-2010 Nicholas J Humfrey
- license: http://www.opensource.org/licenses/bsd-license.php

Located in /EasyRdf/TypeMapper.php (line 46)

Method Summary
static void delete (string $type)
static string get (string $type)
static string set (string $type, string $class)
Methods
static method delete (line 103)

Delete an existing RDF type mapping.

- access: public

static void delete (string $type)

- string $type: The RDF type (e.g. foaf:Person)

static method get (line 58)

Get the registered class for an RDF type

If a type is not registered, then this method will return null.

- return: The class name (e.g. Model_Foaf_Name)
- access: public

static string get (string $type)

- string $type: The RDF type (e.g. foaf:Person)

static method set (line 80)

Register an RDF type with a PHP Class name

- return: The PHP class name
- access: public

static string set (string $type, string $class)

- string $type: The RDF type (e.g. foaf:Person)
- string $class: The PHP class name (e.g. Model_Foaf_Name)

Documentation generated on Wed, 20 Jul 2011 19:54:05 +0100 by phpDocumentor 1.4.3