Elgg  Version 1.11
item.php
Go to the documentation of this file.
1 <?php
8 $item = $vars['item'];
9 
10 $output = elgg_view($item->getView(), $vars);
11 
12 if (empty($output)) {
13  $output = elgg_view($item->getView(), $vars, false, false, 'default');
14 }
15 
16 $rss_item = <<<__ITEM
17 <item>
18  $output
19 </item>
20 __ITEM;
21 
if(empty($output)) $rss_item
Definition: item.php:16
$item
Definition: item.php:12
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
elgg item
Definition: admin.php:437
$output
Definition: item.php:10
if(file_exists($welcome)) $vars
Definition: upgrade.php:93