Elgg  Version 2.3
title.php
Go to the documentation of this file.
1 <?php
9 $title = elgg_extract('title', $vars);
10 if (!is_string($title) || $title === '') {
11  return;
12 }
13 
15 
if(!is_string($title)||$title=== '') $attributes['class']
Definition: title.php:14
$title
Outputs object title $vars[&#39;title&#39;] Title.
Definition: title.php:8
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set...
Definition: elgglib.php:1396
$vars['entity']
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
Definition: output.php:208
elgg echo
Translates a string.
Definition: languages.js:48
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:1375