Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
components
column
link.php
Go to the documentation of this file.
1
<?php
10
$entity
=
elgg_extract
(
'item'
,
$vars
);
11
if
(!
$entity
instanceof
ElggEntity
) {
12
return
;
13
}
14
15
echo
elgg_view_entity_url
(
$entity
);
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
$vars
$vars
Definition:
theme.php:5
ElggEntity
Definition:
ElggEntity.php:52
elgg_view_entity_url
elgg_view_entity_url(\ElggEntity $entity, array $options=[])
Helper function for outputting a link to an entity.
Definition:
views.php:1444
$entity
$entity
Render a linked title.
Definition:
link.php:10
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11