Elgg
Version master
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:254
$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 Mon Oct 14 2024 00:03:06 for Elgg by
1.8.11