Elgg  Version master
title.php File Reference

Go to the source code of this file.


 $title = elgg_extract('title', $vars)
 Elgg title element. More...
 $tag = elgg_extract('tag', $vars, 'h2', false)

Variable Documentation

Initial value:
= [
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:276
Definition: theme.php:5

Definition at line 17 of file title.php.

$tag = elgg_extract('tag', $vars, 'h2', false)

Definition at line 21 of file title.php.

if (!is_string($title)||$title=== '') $title = elgg_extract('title', $vars)

Elgg title element.

$vars['tag'] The tag name to wrap the title (default: h2) $vars['title'] The page title $vars['class'] Optional class for heading

Definition at line 10 of file title.php.