Elgg  Version master
Variables
layout.php File Reference

Go to the source code of this file.

Variables

 $item = elgg_extract('item', $vars)
 RSS river view. More...
 
if(!$item instanceof ElggRiverItem$name = $item->getSubjectEntity()->getDisplayName() ?? ''
 
 $title = elgg_echo('river:update', [$name])
 
 $timestamp = date('r', $item->getTimePosted())
 
 $summary = elgg_view('river/elements/summary', $vars, 'default')
 
 $body = elgg_extract('summary', $vars, $summary)
 
 $object = $item->getObjectEntity()
 
if($object) else
 
 $site_url = parse_url(elgg_get_site_url())
 
 $domain = htmlspecialchars($site_url['host'], ENT_NOQUOTES, 'UTF-8')
 
 $path = ''
 
 if ($site_url['path'])
 

Variable Documentation

$body = elgg_extract('summary', $vars, $summary)

Definition at line 22 of file layout.php.

$domain = htmlspecialchars($site_url['host'], ENT_NOQUOTES, 'UTF-8')

Definition at line 32 of file layout.php.

$item = elgg_extract('item', $vars)

RSS river view.

$vars['item']

Definition at line 8 of file layout.php.

$name = $item->getSubjectEntity()->getDisplayName() ?? ''

Definition at line 13 of file layout.php.

$object = $item->getObjectEntity()

Definition at line 24 of file layout.php.

$path = ''

Definition at line 33 of file layout.php.

$site_url = parse_url(elgg_get_site_url())

Definition at line 31 of file layout.php.

$summary = elgg_view('river/elements/summary', $vars, 'default')

Definition at line 19 of file layout.php.

$timestamp = date('r', $item->getTimePosted())

Definition at line 17 of file layout.php.

$title = elgg_echo('river:update', [$name])

Definition at line 15 of file layout.php.

if ($object) else
Initial value:
{
$url = elgg_generate_url('default:river') ?: ''
foreach($plugin_guids as $guid) if(empty($deactivated_plugins)) $url
Definition: deactivate.php:39
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.

Definition at line 27 of file layout.php.

if($site_url['path'])

Definition at line 34 of file layout.php.