Elgg
Version master
engine
classes
Elgg
Export
Entity.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Export
;
4
5
use
Elgg\I18n\DateTime
;
6
use
Elgg\Values
;
7
20
class
Entity
extends
Data
{
21
27
public
function
getTimeUpdated
() {
28
if
(!$this->time_updated) {
29
return
null
;
30
}
31
32
return
Values::normalizeTime
($this->time_created);
33
}
34
}
Elgg\Export\Data
Definition:
Data.php:13
Elgg\Export\Entity
Definition:
Entity.php:20
Elgg\Export\Entity\getTimeUpdated
getTimeUpdated()
Get updated time.
Definition:
Entity.php:27
Elgg\I18n\DateTime
Extension of the DateTime class to support formatting a date using the locale.
Definition:
DateTime.php:12
Elgg\Values
Functions for use as event handlers or other situations where you need a globally accessible callable...
Definition:
Values.php:13
Elgg\Values\normalizeTime
static normalizeTime($time)
Returns DateTime object based on time representation.
Definition:
Values.php:75
Elgg\Export
Definition:
AccessCollection.php:3
Generated on Fri Aug 29 2025 00:01:58 for Elgg by
1.9.1