Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
elgg_upgrade.php
Go to the documentation of this file.
1 <?php
9 $entity = elgg_extract('entity', $vars);
10 
11 // don't pass title so it will be automatically linkified
12 $params = array(
13  'entity' => $entity,
14  'subtitle' => $entity->description,
15 );
16 
17 $body = elgg_view('object/elements/summary', $params + $vars);
18 
19 echo elgg_view_image_block(false, $body, $vars);
$vars['entity']
$body
elgg_view_image_block($image, $body, $vars=array())
Wrapper function for the image block display pattern.
Definition: views.php:1186
$entity
Definition: elgg_upgrade.php:9
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
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
$params