Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
ODDMetaData Class Reference
Inheritance diagram for ODDMetaData:
ODD

Public Member Functions

 __construct ($uuid, $entity_uuid, $name, $value, $type="", $owner_uuid="")
 New ODD metadata. More...
 
- Public Member Functions inherited from ODD
 __construct ()
 Construct an ODD document with initial values. More...
 
 getAttributes ()
 Returns an array of attributes. More...
 
 setAttribute ($key, $value)
 Sets an attribute. More...
 
 getAttribute ($key)
 Returns an attribute. More...
 
 setBody ($value)
 Sets the body of the ODD. More...
 
 getBody ()
 Gets the body of the ODD. More...
 
 setPublished ($time)
 Set the published time. More...
 
 getPublishedAsTime ()
 Return the published time as a unix timestamp. More...
 
 __toString ()
 Magic function to generate valid ODD XML for this item. More...
 

Protected Member Functions

 getTagName ()
 Returns 'metadata'. More...
 
- Protected Member Functions inherited from ODD
 getTagName ()
 For serialisation, implement to return a string name of the tag eg "header" or "metadata". More...
 

Detailed Description

Definition at line 9 of file ODDMetaData.php.

Constructor & Destructor Documentation

ODDMetaData::__construct (   $uuid,
  $entity_uuid,
  $name,
  $value,
  $type = "",
  $owner_uuid = "" 
)

New ODD metadata.

Parameters
string$uuidUnique ID
string$entity_uuidAnother unique ID
string$nameName
string$valueValue
string$typeType
string$owner_uuidOwner ID

Definition at line 21 of file ODDMetaData.php.

Member Function Documentation

ODDMetaData::getTagName ( )
protected

Returns 'metadata'.

Returns
string 'metadata'

Definition at line 37 of file ODDMetaData.php.


The documentation for this class was generated from the following file: