Elgg  Version 6.1
iframe.php
Go to the documentation of this file.
1 <?php
8 $src = (string) elgg_extract('src', $vars);
9 
11 
12 echo elgg_format_element('iframe', $vars);
$src
Display a page in an embedded window.
Definition: iframe.php:8
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:256
$vars['src']
Definition: iframe.php:10
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
elgg_normalize_url(string $url)
Definition: output.php:163