Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
filter.php File Reference

Go to the source code of this file.


 $options = array()
 Content filter for river. More...
 $options ['type=all'] = elgg_echo('river:select', array(elgg_echo('all')))
 $registered_entities = elgg_get_config('registered_entities')
if(!empty($registered_entities)) $params
 $selector = $vars['selector']
if($selector) $select = elgg_view('input/select', $params)

Variable Documentation

Initial value:
'#tag_name' => 'label',
'class' => 'elgg-river-selector',
'#text' => elgg_format_element('span', [], elgg_echo('filter')) . " $select",
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
Definition: output.php:218

Definition at line 38 of file filter.php.

$options = array()

Content filter for river.


Definition at line 9 of file filter.php.

$options['type=all'] = elgg_echo('river:select', array(elgg_echo('all')))

Definition at line 10 of file filter.php.

if (!empty($registered_entities)) $params
Initial value:
= array(
'id' => 'elgg-river-selector',
'options_values' => $options,
Content filter for river.
Definition: filter.php:9

Definition at line 28 of file filter.php.

Definition at line 11 of file filter.php.

if ($selector) $select = elgg_view('input/select', $params)

Definition at line 36 of file filter.php.

$selector = $vars['selector']

Definition at line 32 of file filter.php.