Elgg
Version 4.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
ElggObject.php
Go to the documentation of this file.
1
<?php
15
class
ElggObject
extends
\ElggEntity
{
16
20
public
function
getType
() {
21
return
'object'
;
22
}
23
27
protected
function
prepareObject
(\
Elgg
\Export\Entity
$object
) {
28
$object = parent::prepareObject($object);
29
$object->title = $this->
getDisplayName
();
30
$object->description =
$this->description
;
31
$object->tags = $this->tags ? $this->tags : [];
32
return
$object
;
33
}
34
38
public
function
getDisplayName
() {
39
return
(
string
)
$this->title
;
40
}
41
45
public
function
setDisplayName
(
$display_name
) {
46
$this->title =
$display_name
;
47
}
48
}
$display_name
$display_name
Definition:
delete.php:19
ElggObject\getType
getType()
{}
Definition:
ElggObject.php:20
ElggObject\setDisplayName
setDisplayName($display_name)
{}
Definition:
ElggObject.php:45
$title
$title
Definition:
generic.php:50
Elgg
Definition:
ActionsService.php:3
ElggObject\prepareObject
prepareObject(\Elgg\Export\Entity $object)
{}
Definition:
ElggObject.php:27
$description
$description
Definition:
record.php:15
$object
if($email instanceof\Elgg\Email) $object
Definition:
body.php:24
ElggObject\getDisplayName
getDisplayName()
{}
Definition:
ElggObject.php:38
ElggEntity
Definition:
ElggEntity.php:46
ElggObject
Definition:
ElggObject.php:15
Generated on Tue Feb 7 2023 00:00:18 for Elgg by
1.8.11