Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence du fichier iframe.php

Espaces de nommage

 Joomla\Site
 

Variables

 $iframeClass = 'iframe'
 
 $bodyHeight = isset($params['bodyHeight']) ? round((int) $params['bodyHeight'], -1) : ''
 
if($bodyHeight && $bodyHeight >=20 && $bodyHeight< 90) $iframeAttributes
 
if(isset($params['title'])) if(isset($params['height'])) if (isset( $params[ 'width']))
 

Documentation des variables

◆ $bodyHeight

$bodyHeight = isset($params['bodyHeight']) ? round((int) $params['bodyHeight'], -1) : ''

◆ $iframeAttributes

if ( $bodyHeight &&$bodyHeight >=20 &&$bodyHeight< 90) $iframeAttributes
Valeur initiale :
= array(
'class' => $iframeClass,
'src' => $params['url']
)
$params
Definition: administrator/components/com_banners/views/clients/tmpl/default.php:30
$iframeClass
Definition: iframe.php:37

◆ $iframeClass

$iframeClass = 'iframe'

Layout variables

Paramètres
string$selectorUnique DOM identifier for the modal. CSS id without #
array$paramsModal parameters. Default supported parameters:
  • title string The modal title
  • backdrop mixed A boolean select if a modal-backdrop element should be included (default = true) The string 'static' includes a backdrop which doesn't close the modal on click.
  • keyboard boolean Closes the modal when escape key is pressed (default = true)
  • closeButton boolean Display modal close button (default = true)
  • animation boolean Fade in from the top of the page (default = true)
  • footer string Optional markup for the modal footer
  • url string URL of a resource to be inserted as an <iframe> inside the modal body
  • height string height of the <iframe> containing the remote resource
  • width string width of the <iframe> containing the remote resource
  • bodyHeight int Optional height of the modal body in viewport units (vh)
  • modalWidth int Optional width of the modal in viewport units (vh)
string$bodyMarkup for the modal body. Appended after the <iframe> if the URL option is set

◆ if

if (isset( $params[ 'title'])) if (isset( $params[ 'height'])) if(isset($params['width']))