Elgg
Version 5.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Export
Data.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Export
;
4
5
use
ArrayObject
;
6
use
DateTime
;
7
13
abstract
class
Data
extends
ArrayObject
{
14
18
public
function
__construct
(
$input
= [],
int
$flags = ArrayObject::ARRAY_AS_PROPS,
string
$iterator_class =
'ArrayIterator'
) {
19
parent::__construct(
$input
, $flags, $iterator_class);
20
}
21
26
public
function
getTimeCreated
() {
27
if
(!$this->time_created) {
28
return
null;
29
}
30
31
return
new
DateTime
($this->time_created);
32
}
33
}
DateTime
ArrayObject
Elgg\Export
Definition:
AccessCollection.php:3
Elgg\Export\Data\getTimeCreated
getTimeCreated()
Get time created.
Definition:
Data.php:26
Elgg\Export\Data
Definition:
Data.php:13
$input
$input
Form field view.
Definition:
field.php:13
Elgg\Export\Data\__construct
__construct($input=[], int $flags=ArrayObject::ARRAY_AS_PROPS, string $iterator_class= 'ArrayIterator')
{}
Definition:
Data.php:18
Generated on Fri Dec 1 2023 00:00:18 for Elgg by
1.8.11