API17:JHtml::iframe
From Joomla! Documentation
JHtml::iframe
Description
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
JHtml::iframe source code on BitBucket
Class JHtml
Subpackage Html- Other versions of JHtml::iframe
User contributed notes
Code Examples