API17

JHtml::iframe

From Joomla! Documentation

Revision as of 21:04, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

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.

Joomla 11.1 JHtml::iframe[edit]

Description[edit]

Write a <iframe></iframe> element.

Template:Description:JHtml::iframe [Edit Descripton]

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[edit]

Template:SeeAlso:JHtml::iframe [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />