public getCustomSection ( string $strKey ) : string | ||
$strKey | string | The section name |
Résultat | string | The section markup |
public function getCustomSection($strKey)
{
@trigger_error('Using FrontendTemplate::getCustomSection() has been deprecated and will no longer work in Contao 5.0. Use FrontendTemplate::section() instead.', E_USER_DEPRECATED);
return '<div id="' . $strKey . '">' . $this->sections[$strKey] . '</div>' . "\n";
}