Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
walled_garden.php
Go to the documentation of this file.
1 <?php
2 elgg_load_css('elgg.walled_garden');
3 elgg_load_js('elgg.walled_garden');
4 
5 $content = elgg_view('core/walled_garden/login');
6 
7 $params = array(
8  'content' => $content,
9  'class' => 'elgg-walledgarden-double',
10  'id' => 'elgg-walledgarden-login',
11 );
12 $body = elgg_view_layout('walled_garden', $params);
13 echo elgg_view_page('', $body, 'walled_garden');
$content
elgg_view_layout($layout_name, $vars=array())
Displays a layout with optional parameters.
Definition: views.php:679
elgg_load_css($name)
Load a CSS file for this page.
Definition: elgglib.php:286
$body
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
elgg_load_js($name)
Load a JavaScript resource on this page.
Definition: elgglib.php:208
elgg_view_page($title, $body, $page_shell= 'default', $vars=array())
Assembles and outputs a full page.
Definition: views.php:437
$params