Elgg  Version 1.9
Variables
river.php File Reference

Go to the source code of this file.

Variables

 $options = array()
 Main activity stream list page. More...
 
 $page_type = preg_replace('[\W]', '', get_input('page_type', 'all'))
 
 $type = preg_replace('[\W]', '', get_input('type', 'all'))
 
 $subtype = preg_replace('[\W]', '', get_input('subtype', ''))
 
if($subtype) else
 
if($type!= 'all') switch($page_type) $activity = elgg_list_river($options)
 
if(!$activity) $content = elgg_view('core/river/filter', array('selector' => $selector))
 
 $sidebar = elgg_view('core/river/sidebar')
 
 $params
 
 $body = elgg_view_layout('content', $params)
 

Variable Documentation

if ($type!= 'all') switch ($page_type) $activity = elgg_list_river($options)

Definition at line 53 of file river.php.

$body = elgg_view_layout('content', $params)

Definition at line 70 of file river.php.

if (!$activity) $content = elgg_view('core/river/filter', array('selector' => $selector))

Definition at line 58 of file river.php.

$options = array()

Main activity stream list page.

Definition at line 6 of file river.php.

$page_type = preg_replace('[\W]', '', get_input('page_type', 'all'))

Definition at line 8 of file river.php.

$params
Initial value:
= array(
'title' => $title,
'content' => $content . $activity,
'sidebar' => $sidebar,
'filter_context' => $page_filter,
'class' => 'elgg-river-layout',
)
if(!$activity) $content
Definition: river.php:58
if($type!= 'all') switch($page_type) $activity
Definition: river.php:53
$sidebar
Definition: river.php:60
$title
Definition: save.php:24

Definition at line 62 of file river.php.

Definition at line 60 of file river.php.

$subtype = preg_replace('[\W]', '', get_input('subtype', ''))
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 10 of file river.php.

$type = preg_replace('[\W]', '', get_input('type', 'all'))

Definition at line 9 of file river.php.

if ($subtype) else
Initial value:
{
$selector = "type=$type"
$selector
Definition: filter.php:32

Definition at line 13 of file river.php.