Elgg
Version 2.3
views
default
river
item.php
Go to the documentation of this file.
1
<?php
11
// @todo remove this in Elgg 1.9
12
global
$_elgg_special_river_catch
;
13
if
(!isset(
$_elgg_special_river_catch
)) {
14
$_elgg_special_river_catch
=
false
;
15
}
16
if
(
$_elgg_special_river_catch
) {
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
}
22
$_elgg_special_river_catch
=
true
;
23
24
25
$item
=
$vars
[
'item'
];
26
/* @var ElggRiverItem $item */
27
28
echo
elgg_view
(
$item
->getView(),
$vars
);
29
30
31
$_elgg_special_river_catch
=
false
;
$item
$item
Definition:
item.php:12
$_elgg_special_river_catch
global $_elgg_special_river_catch
Primary river item view.
Definition:
item.php:12
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype='')
Return a parsed view.
Definition:
views.php:336
$vars
$vars['entity']
Definition:
plugin_settings.php:15
Generated on Fri Aug 29 2025 00:00:47 for Elgg by
1.9.1