Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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 
22 echo $rss_item;
$vars['entity']
ui autocomplete ui menu item
Definition: forms.css.php:250
if(empty($output)) $rss_item
Definition: item.php:16
$item
Definition: item.php:12
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
$output
Definition: item.php:10