JHtml::iframe
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHtml::iframe[edit]
Description[edit]
Write a <iframe></iframe> element.
public static function iframe (
$url
$name
$attribs=null
$noFrames= ''
)
Parameter | Type | Default | Description |
---|---|---|---|
$url | string | The relative URL to use for the src attribute | |
$name | string | The target attribute to use | |
$attribs | array | null | An associative array of attributes to add |
$noFrames | string | The message to display if the iframe tag is not supported |
- Returns string <iframe></iframe> element or message if not supported
- Defined on line 224 of libraries/joomla/html/html.php
- Since
See also[edit]
JHtml::iframe source code on BitBucket
Class JHtml
Subpackage Html
- Other versions of JHtml::iframe
User contributed notes[edit]
Code Examples[edit]