Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
walled_garden.php
Go to the documentation of this file.
1 <?php
10 $class = elgg_extract('class', $vars, 'elgg-walledgarden-single');
11 echo elgg_view_module('walledgarden', '', $vars['content'], array(
12  'class' => $class,
13  'id' => elgg_extract('id', $vars, ''),
14  'header' => ' ',
15  'footer' => ' ',
16 ));
$vars['entity']
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1310
elgg_view_module($type, $title, $body, array $vars=array())
Wrapper function for the module display pattern.
Definition: views.php:1207
$class
Walled Garden layout.