Elgg  Version 2.3
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 
$vars['entity']
if(empty($output)) $rss_item
Definition: item.php:16
$item
Definition: item.php:12
elgg echo
Translates a string.
Definition: languages.js:48
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:336
elgg item
Definition: admin.css.php:441
$output
Definition: item.php:10