19declare(strict_types=1);
37 $this->placeholder = array_reduce(
39 static function (array
$c,
Field $v) use (
$lng): array {
40 $placeholder_text = str_replace(
' ',
'_', strtoupper($v->
getLabel(
$lng)));
64 'tpl.common_desc.html',
67 'components/ILIAS/Certificate'
71 $template->setCurrentBlock(
'cert_field');
72 $template->setVariable(
'PH', $key);
73 $template->setVariable(
'PH_TXT', $field);
74 $template->parseCurrentBlock();
77 return $template->get();
special template class to simplify handling of ITX/PEAR
createPlaceholderHtmlDescription()
getPlaceholderDescriptions()
This method MUST return an array containing an array with the the description as array value.
__construct(Language $lng, Profile $user_profile)
getVisibleUserDefinedFields(Context $context)