Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
user
elements
imprint
contents.php
Go to the documentation of this file.
1
<?php
12
$entity
=
elgg_extract
(
'entity'
,
$vars
);
13
if
(!
$entity
instanceof
ElggUser
) {
14
return
;
15
}
16
17
echo
elgg_view
(
'user/elements/imprint/location'
,
$vars
);
18
echo
elgg_view
(
'user/elements/imprint/briefdescription'
,
$vars
);
19
20
$imprint
=
elgg_extract
(
'imprint'
,
$vars
);
21
if
(!empty(
$imprint
)) {
22
foreach
(
$imprint
as
$item
) {
23
echo
elgg_view
(
'object/elements/imprint/element'
, $item);
24
}
25
}
$item
if(!$items) $item
Definition:
delete.php:13
elgg_extract
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:254
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
$imprint
$imprint
Definition:
contents.php:18
$vars
$vars
Definition:
theme.php:5
$entity
$entity
Displays information about the author, the time and the access of the post.
Definition:
contents.php:26
ElggUser
Definition:
ElggUser.php:28
Generated on Sun Oct 13 2024 00:02:59 for Elgg by
1.8.11