Elgg  Version 1.9
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 
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1464
$body
$entity
Definition: elgg_upgrade.php:9
elgg_view_image_block($image, $body, $vars=array())
Wrapper function for the image block display pattern.
Definition: views.php:1176
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
$params
if(file_exists($welcome)) $vars
Definition: upgrade.php:93