1: <?php
2: 3: 4: 5: 6: 7:
8: class ODDMetaData extends ODD {
9:
10: 11: 12: 13: 14: 15: 16: 17: 18: 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: 33: 34: 35:
36: protected function getTagName() {
37: return "metadata";
38: }
39: }
40: