Class: Resource ---------------------------------------------------------------------------------- An RDF resource. Every RDF resource must have a URIref. URIrefs are treated as logical constants, i.e. as names which denote something (the things are called 'resources', but no assumptions are made about the nature of resources.) Many RDF resources are pieces of vocabulary. They typically have a namespace and a local name. In this case, a URI is composed as a concatenation of the namespace and the local name. <BR><BR>History:<UL> <LI>11-09-2003 : Fixed bug in equals() < radol@gmx.de ></LI> <LI>09-30-2002 : Fixed bug in getNamespace() and getLocalName().</LI> <LI>09-10-2002 : First version of this class.</LI> </UL>
|
PHP | boolean equals(unknown $that) |
---|
Checks if the resource equals another resource. Two resources are equal, if they have the same URI
Arguments
PHP | Resource(string $namespace_or_uri, string $localName) |
---|
Constructor Takes an URI or a namespace/localname combination
Arguments