Elgg
Version 2.3
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
11
$src
=
elgg_extract
(
'src'
,
$vars
);
12
13
$src
=
elgg_normalize_url
(
$src
);
14
$vars
[
'src'
] =
elgg_format_url
(
$src
);
15
16
$attributes
=
elgg_format_attributes
(
$vars
);
17
echo
"<iframe $attributes></iframe>"
;
elgg_normalize_url
elgg_normalize_url($url)
Definition:
output.php:280
$src
$src
Definition:
iframe.php:11
echo
elgg echo
Translates a string.
Definition:
languages.js:48
$vars
$vars['src']
Definition:
iframe.php:14
elgg_format_attributes
elgg_format_attributes(array $attrs=array())
Converts an associative array into a string of well-formed HTML/XML attributes Returns a concatenated...
Definition:
output.php:129
elgg_extract
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:1375
elgg_format_url
elgg_format_url($url)
Handles formatting of ampersands in urls.
Definition:
output.php:81
$attributes
$attributes
Definition:
iframe.php:16
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11