Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier well.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $module = $displayData['module']
 
 $params = $displayData['params']
 
 $attribs = $displayData['attribs']
 
if((string) $module->content==='') $id = $module->id
 
 $user = Factory::getUser()
 
 $canEdit = $user->authorise('core.edit', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')
 
 $canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')
 
 $moduleTag = $params->get('module_tag', 'div')
 
 $bootstrapSize = (int) $params->get('bootstrap_size', 12)
 
 $moduleClass = $bootstrapSize ? 'col-md-' . $bootstrapSize : 'col-md-12'
 
 $headerTag = htmlspecialchars($params->get('header_tag', 'h2'), ENT_QUOTES, 'UTF-8')
 
 $moduleClassSfx = $params->get('moduleclass_sfx', '')
 
 $headerClass = $params->get('header_class') ? ' class="' . htmlspecialchars($params->get('header_class'), ENT_QUOTES, 'UTF-8') . '"' : ''
 
 $headerIcon = $params->get('header_icon') ? '<span class="' . htmlspecialchars($params->get('header_icon'), ENT_QUOTES, 'UTF-8') . '" aria-hidden="true"></span>' : ''
 
 $url = Route::_('index.php?option=com_modules&task=module.edit&id=' . $id . '&return=' . base64_encode($uri))
 
 endif
 
 if ( $canChange)
 

Documentation des variables

◆ $attribs

$attribs = $displayData['attribs']

◆ $bootstrapSize

$bootstrapSize = (int) $params->get('bootstrap_size', 12)

◆ $canChange

$canChange = $user->authorise('core.edit.state', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')

◆ $canEdit

$canEdit = $user->authorise('core.edit', 'com_modules.module.' . $id) && $user->authorise('core.manage', 'com_modules')

◆ $headerClass

$headerClass = $params->get('header_class') ? ' class="' . htmlspecialchars($params->get('header_class'), ENT_QUOTES, 'UTF-8') . '"' : ''

◆ $headerIcon

$headerIcon = $params->get('header_icon') ? '<span class="' . htmlspecialchars($params->get('header_icon'), ENT_QUOTES, 'UTF-8') . '" aria-hidden="true"></span>' : ''

◆ $headerTag

$headerTag = htmlspecialchars($params->get('header_tag', 'h2'), ENT_QUOTES, 'UTF-8')

◆ $id

if ((string) $module->content==='') $id = $module->id

◆ $module

$module = $displayData['module']

◆ $moduleClass

$moduleClass = $bootstrapSize ? 'col-md-' . $bootstrapSize : 'col-md-12'

◆ $moduleClassSfx

$moduleClassSfx = $params->get('moduleclass_sfx', '')

◆ $moduleTag

$moduleTag = $params->get('module_tag', 'div')

◆ $params

$params = $displayData['params']

◆ $url

$url = Route::_('index.php?option=com_modules&task=module.edit&id=' . $id . '&return=' . base64_encode($uri))

◆ $user

$user = Factory::getUser()

◆ endif

endif

◆ if

if($module->showtitle) (   $canChange)