Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
export
relationship.php
Go to the documentation of this file.
1
<?php
11
$r
=
$vars
[
'relationship'
];
12
13
$e1
=
get_entity
(
$r
->guid_one);
14
$e2
=
get_entity
(
$r
->guid_two);
15
?>
16
<
p
class
=
"margin-none"
><?php
17
if
(
$e1
)
echo
"<a href=\""
.
$e1
->getURL() .
"\">GUID:"
.
$r
->guid_one .
"</a>"
;
else
echo
"GUID:"
.$r->guid_one;
18
?>
19
<
b
><?php
echo
$r
->relationship; ?></
b
>
20
<?php
21
if
(
$e2
)
echo
"<a href=\""
.
$e2
->getURL() .
"\">GUID:"
.
$r
->guid_two .
"</a>"
;
else
echo
"GUID:"
.$r->guid_two;
22
?></
p
>
$r
$r
Definition:
relationship.php:11
p
p
Definition:
admin.php:118
$e1
$e1
Definition:
relationship.php:13
$e2
$e2
Definition:
relationship.php:14
b
b
Definition:
admin.php:56
echo
elgg echo
Translates a string.
Definition:
languages.js:43
get_entity
get_entity($guid)
Loads and returns an entity object from a guid.
Definition:
entities.php:382
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:50 for Elgg by
1.8.11