Elgg  Version 2.3
Variables
river.php File Reference

Go to the source code of this file.

Variables

 $options
 Main activity stream list page. More...
 
 $page_type = preg_replace('[\W]', '', elgg_extract('page_type', $vars, '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 56 of file river.php.

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

Definition at line 73 of file river.php.

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

Definition at line 61 of file river.php.

$options
Initial value:
= array(
'distinct' => false
)

Main activity stream list page.

Definition at line 6 of file river.php.

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

Definition at line 10 of file river.php.

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

Definition at line 65 of file river.php.

Definition at line 63 of file river.php.

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

Definition at line 12 of file river.php.

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

Definition at line 11 of file river.php.

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

Definition at line 15 of file river.php.