Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
ODDRelationship.php
Go to the documentation of this file.
1
<?php
9
class
ODDRelationship
extends
ODD
{
10
18
function
__construct
($uuid1,
$type
, $uuid2) {
19
parent::__construct();
20
21
$this->
setAttribute
(
'uuid1'
, $uuid1);
22
$this->
setAttribute
(
'type'
,
$type
);
23
$this->
setAttribute
(
'uuid2'
, $uuid2);
24
}
25
31
protected
function
getTagName
() {
32
return
"relationship"
;
33
}
34
}
ODDRelationship
Definition:
ODDRelationship.php:9
$type
$type
Definition:
add.php:8
ODDRelationship\getTagName
getTagName()
Returns 'relationship'.
Definition:
ODDRelationship.php:31
ODDRelationship\__construct
__construct($uuid1, $type, $uuid2)
New ODD Relationship.
Definition:
ODDRelationship.php:18
ODD
Definition:
ODD.php:9
ODD\setAttribute
setAttribute($key, $value)
Sets an attribute.
Definition:
ODD.php:44
Generated on Sat Dec 21 2024 00:00:49 for Elgg by
1.8.11