Elgg  Version 1.9
view.php
Go to the documentation of this file.
1 <?php
9 $title = elgg_echo('friends:collections');
10 elgg_register_title_button('collections', 'add');
11 
13 
14 $body = elgg_view_layout('content', array(
15  'filter' => false,
16  'content' => $content,
17  'title' => $title,
18  'context' => 'collections',
19 ));
20 
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_register_title_button($handler=null, $name='add')
Convenience function for registering a button to the title menu.
Definition: navigation.php:188
$body
Definition: view.php:14
$content
Definition: view.php:12
$title
Definition: view.php:9
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.
Definition: sessions.php:42
elgg_view_layout($layout_name, $vars=array())
Displays a layout with optional parameters.
Definition: views.php:617
elgg_view_access_collections($owner_guid)
Displays a user's access collections, using the core/friends/collections view.
Definition: views.php:1390
elgg_view_page($title, $body, $page_shell='default', $vars=array())
Assembles and outputs a full page.
Definition: views.php:437