Elgg  Version 2.3
Variables
content.php File Reference

Go to the source code of this file.

Variables

 $context = elgg_extract('context', $vars, elgg_get_context())
 Main content area layout. More...
 
 $vars ['title'] = elgg_extract('title', $vars, '')
 
if(! $vars['title'] && $vars['title'] !==false) if(isset($vars['filter_override'])) if(!isset($vars['filter']) &&elgg_is_logged_in() && $context) $filter = elgg_view('page/layouts/elements/filter', $vars)
 
 $vars ['content'] = $filter . $vars['content']
 

Variable Documentation

◆ $context

$context = elgg_extract('context', $vars, elgg_get_context())

Main content area layout.

@uses $vars['content'] HTML of main content area @uses $vars['sidebar'] HTML of the sidebar @uses $vars['header'] HTML of the content area header (override) @uses $vars['nav'] HTML of the content area nav (override) @uses $vars['footer'] HTML of the content area footer @uses $vars['filter'] HTML of the content area filter (override) @uses $vars['title'] Title text (override) @uses $vars['context'] Page context (override) @uses $vars['filter_context'] Filter context: everyone, friends, mine @uses $vars['class'] Additional class to apply to layout

Definition at line 17 of file content.php.

◆ $filter

if (! $vars[ 'title'] &&$vars[ 'title'] !==false) if (isset( $vars[ 'filter_override'])) if (!isset( $vars[ 'filter']) &&elgg_is_logged_in() &&$context) $filter = elgg_view('page/layouts/elements/filter', $vars)
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 62 of file content.php.

◆ $vars [1/2]

$vars[ 'content'] = $filter . $vars['content']

Definition at line 63 of file content.php.

◆ $vars [2/2]

$vars[ 'title'] = elgg_extract('title', $vars, '')

Definition at line 19 of file content.php.