Elgg  Version 3.0
title.php File Reference

Go to the source code of this file.


 $title = elgg_extract('title', $vars)
 Elgg title element. More...
if(!is_string($title)||$title=== '') $attributes
if(!is_string($title)||$title=== '') $tag = elgg_extract('tag', $vars, 'h2', false)

Variable Documentation

if (!is_string($title)||$title=== '') $attributes
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:1153
Definition: save.php:11

Definition at line 15 of file title.php.

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

Definition at line 19 of file title.php.

$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.