Difference between revisions of "JHtml::iframe"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtml::iframe|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtml::iframe|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function iframe ( |
+ | $url | ||
+ | $name | ||
+ | $attribs=null | ||
+ | $noFrames= '' | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 39: | Line 41: | ||
|string | |string | ||
|'' | |'' | ||
− | |The message to display if the iframe tag is not supported | + | |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''' {{JVer|11.1 }} | |
− | libraries/joomla/html/html.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JHtml::iframe source code''' on [[jplatform:html/html.php#cl-216|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JHtml/11.1|JHtml]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
+ | * [[JHtml::iframe|Other versions of JHtml::iframe]] | ||
+ | {{SeeAlso:JHtml::iframe}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtml::iframe|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtml::iframe|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 63: | Line 64: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtml]][[Category:JHtml::iframe]]</noinclude> | <noinclude>[[Category:JHtml]][[Category:JHtml::iframe]]</noinclude> |
Revision as of 21:04, 27 April 2011
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.
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
See also[edit]
- JHtml::iframe source code on BitBucket
- Class JHtml
- Subpackage Html
- Other versions of JHtml::iframe
Template:SeeAlso:JHtml::iframe [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />