Elgg  Version 1.11
item.php
Go to the documentation of this file.
1 <?php
11 // @todo remove this in Elgg 1.9
13 if (!isset($_elgg_special_river_catch)) {
15 }
17  // we changed the views a little in 1.8.1 so this catches the plugins that
18  // were updated in 1.8.0 and redirects to the layout view
19  echo elgg_view('river/elements/layout', $vars);
20  return true;
21 }
23 
24 
25 $item = $vars['item'];
26 /* @var ElggRiverItem $item */
27 
28 echo elgg_view($item->getView(), $vars);
29 
30 
global $_elgg_special_river_catch
Primary river item view.
Definition: item.php:12
$item
Definition: item.php:12
elgg echo
Translates a string.
Definition: languages.js:43
elgg global
Pointer to the global context.
Definition: elgglib.js:12
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
if(file_exists($welcome)) $vars
Definition: upgrade.php:93