Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
output
iframe.php
Go to the documentation of this file.
1
<?php
8
$src
= (string)
elgg_extract
(
'src'
,
$vars
);
9
10
$vars
[
'src'
] =
elgg_normalize_url
(
$src
);
11
12
echo
elgg_format_element
(
'iframe'
,
$vars
);
$src
$src
Display a page in an embedded window.
Definition:
iframe.php:8
elgg_extract
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
$vars['src']
Definition:
iframe.php:10
elgg_format_element
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition:
output.php:145
elgg_normalize_url
elgg_normalize_url(string $url)
Definition:
output.php:163
Generated on Wed Dec 4 2024 00:00:23 for Elgg by
1.8.11