Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Espaces de nommage | |
Joomla\Site | |
Variables | |
$module = $displayData['module'] | |
$params = $displayData['params'] | |
$attribs = $displayData['attribs'] | |
if($module->content===null|| $module->content==='') | $moduleTag = $params->get('module_tag', 'div') |
$moduleAttribs = [] | |
$moduleAttribs ['class'] = $module->position . ' no-card ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8') | |
$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8') | |
$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8') | |
$headerAttribs = [] | |
if($headerClass !=='') if($moduleTag !=='div') | $header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . '</' . $headerTag . '>' |
if($module->showtitle) | endif |
$attribs = $displayData['attribs'] |
if ( $headerClass !=='') if ( $moduleTag !=='div') $header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . '</' . $headerTag . '>' |
$headerAttribs = [] |
$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8') |
$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8') |
$module = $displayData['module'] |
$moduleAttribs = [] |
$moduleAttribs[ 'class'] = $module->position . ' no-card ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8') |
$params = $displayData['params'] |
if ( $module->showtitle) endif |