Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
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
;
$_elgg_special_river_catch
global $_elgg_special_river_catch
Primary river item view.
Definition:
item.php:12
$item
$item
Definition:
item.php:12
echo
elgg echo
Translates a string.
Definition:
languages.js:43
global
elgg global
Pointer to the global context.
Definition:
elgglib.js:12
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:50 for Elgg by
1.8.11