Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
relationship
elements
imprint
contents.php
Go to the documentation of this file.
1
<?php
10
$relationship
=
elgg_extract
(
'relationship'
,
$vars
);
11
if
(!
$relationship
instanceof
ElggRelationship
) {
12
return
;
13
}
14
15
echo
elgg_view
(
'relationship/elements/imprint/time'
,
$vars
);
16
17
$imprint
=
elgg_extract
(
'imprint'
,
$vars
);
18
if
(!empty(
$imprint
)) {
19
foreach
(
$imprint
as
$item
) {
20
echo
elgg_view
(
'object/elements/imprint/element'
, $item);
21
}
22
}
$item
if(!$items) $item
Definition:
delete.php:13
ElggRelationship
Definition:
ElggRelationship.php:12
$relationship
$relationship
Displays the imprint for the relationship.
Definition:
contents.php:10
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:256
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
Generated on Wed Dec 4 2024 00:00:22 for Elgg by
1.8.11