API17

API17:JHtml::iframe

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples