Class ResLiteral

Description

An RDF literal.

The literal supports the xml:lang and rdf:datatype property. For XML datatypes see: http://www.w3.org/TR/xmlschema-2/

Located in /resModel/ResLiteral.php (line 19)

Object
   |
   --Node
      |
      --Literal
         |
         --ResLiteral
Variable Summary
Method Summary
ResLiteral ResLiteral (string $str, [string $language = null])
object model &getAssociatedModel ()
void setAssociatedModel ( &$model, object model $model)
Variables
ResModel $model (line 26)

Holds a reference to the associated model

  • access: private

Inherited Variables

Inherited from Literal

Literal::$dtype
Literal::$label
Literal::$lang
Methods
Constructor ResLiteral (line 36)

Constructor You have to supply a string.

ResLiteral ResLiteral (string $str, [string $language = null])
  • string $str: label of the literal
  • string $language: optional language identifier
getAssociatedModel (line 59)

Get the reference to the assocoated model.

  • access: public
object model &getAssociatedModel ()
setAssociatedModel (line 48)

Sets the reference to the assocoated model.

  • access: public
void setAssociatedModel ( &$model, object model $model)
  • object model $model
  • &$model

Inherited Methods

Inherited From Literal

Literal::Literal()
Literal::equals()
Literal::getDatatype()
Literal::getLabel()
Literal::getLanguage()
Literal::setDatatype()
Literal::setLanguage()
Literal::toString()

Inherited From Object

Object::toString()

Documentation generated on Mon, 26 Jun 2006 14:26:08 +0200 by phpDocumentor 1.3.0RC6