Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
ODDMetaData.php
Go to the documentation of this file.
1
<?php
9
class
ODDMetaData
extends
ODD
{
10
21
function
__construct
($uuid, $entity_uuid,
$name
,
$value
,
$type
=
""
, $owner_uuid =
""
) {
22
parent::__construct();
23
24
$this->
setAttribute
(
'uuid'
, $uuid);
25
$this->
setAttribute
(
'entity_uuid'
, $entity_uuid);
26
$this->
setAttribute
(
'name'
,
$name
);
27
$this->
setAttribute
(
'type'
,
$type
);
28
$this->
setAttribute
(
'owner_uuid'
, $owner_uuid);
29
$this->
setBody
(
$value
);
30
}
31
37
protected
function
getTagName
() {
38
return
"metadata"
;
39
}
40
}
ODDMetaData\getTagName
getTagName()
Returns 'metadata'.
Definition:
ODDMetaData.php:37
ODD\setBody
setBody($value)
Sets the body of the ODD.
Definition:
ODD.php:70
$name
if($guid==elgg_get_logged_in_user_guid()) $name
Definition:
delete.php:21
$value
$value
Definition:
longtext.php:29
ODDMetaData
Definition:
ODDMetaData.php:9
$type
$type
Definition:
add.php:8
ODD
Definition:
ODD.php:9
ODDMetaData\__construct
__construct($uuid, $entity_uuid, $name, $value, $type="", $owner_uuid="")
New ODD metadata.
Definition:
ODDMetaData.php:21
ODD\setAttribute
setAttribute($key, $value)
Sets an attribute.
Definition:
ODD.php:44
Generated on Sat Dec 21 2024 00:00:35 for Elgg by
1.8.11