19 declare(strict_types=1);
28 $this->placeholder = [];
38 foreach ($courseDefinedFields as $field) {
39 $name = $field->getName();
43 $this->placeholder[$placeholderText] =
$name;
60 'tpl.common_desc.html',
63 'Services/Certificate' 67 $template->setCurrentBlock(
'cert_field');
68 $template->setVariable(
'PH',
$key);
69 $template->setVariable(
'PH_TXT', $field);
70 $template->parseCurrentBlock();
73 return $template->get();
__construct(int $objectId)
static _getFields(int $a_container_id, $a_sort=self::IL_CDF_SORT_NAME)
Get all fields of a container.
static strToUpper(string $a_string)
createPlaceholderHtmlDescription()
getPlaceholderDescriptions()
This method MUST return an array containing an array with the the description as array value...