20 elgg_log(
"object/elements/summary expects an ElggEntity in \$vars['entity']",
'ERROR');
if($tags=== '') $metadata
if($title=== ''&&$entity instanceof ElggEntity) $tags
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set...
elgg_view_image_block($image, $body, $vars=array())
Wrapper function for the image block display pattern.
if(!$entity instanceof ElggEntity) $title
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_log($message, $level= 'NOTICE')
Display or log a message.
elgg_get_excerpt($text, $num_chars=250)
Returns an excerpt.
$entity
Object summary Passing an 'icon' with the variables will wrap the listing in an image block...