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 . ' 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 = [] | |
$headerAttribs ['class'] = $headerClass | |
if($headerClass !=='card-title') | endif |
if($moduleTag !=='div') | $header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . '</' . $headerTag . '>' |
$attribs = $displayData['attribs'] |
if ( $moduleTag !=='div') $header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . '</' . $headerTag . '>' |
$headerAttribs = [] |
$headerAttribs[ 'class'] = $headerClass |
$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 . ' card ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8') |
$params = $displayData['params'] |
if ( $module->showtitle &&$headerClass==='card-title') endif |