Overview

Packages

  • ClipIt
    • clipit
      • api
    • urjc
      • backend
  • Elgg
    • Core
      • Access
      • Authentication
      • Cache
      • Caches
      • Core
      • DataMode
        • Site
      • DataModel
        • Annotations
        • Entities
        • Extender
        • File
        • Importable
        • Loggable
        • Notable
        • Object
        • User
      • DataStorage
      • Exception
      • Exceptions
        • Stub
      • FileStore
        • Disk
      • Groups
      • Helpers
      • HMAC
      • Memcache
      • Metadata
      • Navigation
      • ODD
      • Output
      • Plugins
        • Settings
      • Sessions
      • SocialModel
        • Friendable
        • Locatable
      • WebServicesAPI
      • Widgets
      • XML
      • XMLRPC
    • Exceptions
      • Stub
  • None
  • PHP

Classes

  • ODD
  • ODDDocument
  • ODDEntity
  • ODDMetaData

Interfaces

  • Exportable
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * ODD Metadata class.
 4:  *
 5:  * @package    Elgg.Core
 6:  * @subpackage ODD
 7:  */
 8: class ODDMetaData extends ODD {
 9: 
10:     /**
11:      * New ODD metadata
12:      *
13:      * @param string $uuid        Unique ID
14:      * @param string $entity_uuid Another unique ID
15:      * @param string $name        Name
16:      * @param string $value       Value
17:      * @param string $type        Type
18:      * @param string $owner_uuid  Owner ID
19:      */
20:     function __construct($uuid, $entity_uuid, $name, $value, $type = "", $owner_uuid = "") {
21:         parent::__construct();
22: 
23:         $this->setAttribute('uuid', $uuid);
24:         $this->setAttribute('entity_uuid', $entity_uuid);
25:         $this->setAttribute('name', $name);
26:         $this->setAttribute('type', $type);
27:         $this->setAttribute('owner_uuid', $owner_uuid);
28:         $this->setBody($value);
29:     }
30: 
31:     /**
32:      * Returns 'metadata'
33:      *
34:      * @return string 'metadata'
35:      */
36:     protected function getTagName() {
37:         return "metadata";
38:     }
39: }
40: 
API documentation generated by ApiGen 2.8.0