Class ResourceMapping

Description

Implements interfaces:

Finds Resources by URIs and types. Basically wraps ResourcePeer.

It is an abstract class for sub-classing. An application Mapping should extend the framework Mapping.

Located in /diy-framework/controller/ResourceMapping.class.php (line 12)


	
			
Method Summary
static array findByType (string $type)
static Resource findByURI (string $uri)
static string getHost ()
Methods
static method findByType (line 37)

Finds and returns Resource objects by their type, or null if it doesn't exist.

  • return: Array of Resources
  • abstract:
  • access: public
static array findByType (string $type)
  • string $type: Type of the Resource
static method findByURI (line 29)

Finds and returns Resource object by its URI, or null if it doesn't exist.

  • return: Resource
  • abstract:
  • access: public
static Resource findByURI (string $uri)
  • string $uri: URI of the Resource
static method getHost (line 44)

Returns the hostname of this mapping.

  • return: Hostname
  • abstract:
  • access: public
static string getHost ()

Documentation generated on Tue, 25 Sep 2007 11:17:22 +0200 by phpDocumentor 1.3.2