Class LibRDF_URI

Description

A wrapper around the librdf_uri datatype.

There is no need to use this class directly, as all LibRDF classes infer whether or not a librdf_uri is needed from context; all the functions that use librdf_uri internally take strings as arguments for the sake of making things easier for the user. This class exists mainly to make error handling and garbage collection of librdf_uri resources more convenient internally for the LibRDF classes.

Located in /URI.php (line 54)


	
			
Method Summary
void __construct (string $uri_string)
void __destruct ()
resource getURI ()
boolean isEqual (LibRDF_URI $uri)
void __clone ()
string __toString ()
Methods
Constructor __construct (line 72)

Create a new URI object from a string.

  • access: public
  • throws: LibRDF_Error If unable to create a new URI
void __construct (string $uri_string)
  • string $uri_string: The string to use for the URI
Destructor __destruct (line 87)

Free the URI's resources.

  • access: public
void __destruct ()
getURI (line 130)

Return the underlying URI resource.

This function is intended for other LibRDF classes and should not be called.

  • return: The URI resource
  • access: public
resource getURI ()
isEqual (line 142)

Compare this URI against another URI for equality.

  • return: Whether the two URIs are equal
  • access: public
boolean isEqual (LibRDF_URI $uri)
  • LibRDF_URI $uri: The URI against which to compare
__clone (line 112)

Create a new URI object from an existing URI.

  • access: public
  • throws: LibRDF_Error If unable to copy the URI
void __clone ()
__toString (line 100)

Return the string representation of the URI.

  • return: The URI string
  • access: public
string __toString ()

Documentation generated on Thu, 15 Jun 2006 19:25:13 -0400 by phpDocumentor 1.3.0