Class EasyRdf_TypeMapper

Description

Class to map between RDF Types and PHP Classes

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, 16 Jan 2013 19:16:39 +0000 by phpDocumentor 1.4.4