45 $language->loadLanguageModule(
'certificate');
49 if (null === $defaultPlaceholderDescriptionObject) {
52 $this->defaultPlaceHolderDescriptionObject = $defaultPlaceholderDescriptionObject;
54 $this->placeholder = $this->defaultPlaceHolderDescriptionObject->getPlaceholderDescriptions();
68 if (null === $template) {
69 $template =
new ilTemplate(
'tpl.default_description.html',
true,
true,
'Services/Certificate');
72 $template->setVariable(
'PLACEHOLDER_INTRODUCTION', $this->
language->txt(
'certificate_ph_introduction'));
74 $template->setCurrentBlock(
'items');
75 foreach ($this->placeholder as $id => $caption) {
76 $template->setVariable(
'ID', $id);
77 $template->setVariable(
'TXT', $caption);
78 $template->parseCurrentBlock();
81 return $template->get();
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
createPlaceholderHtmlDescription(ilTemplate $template=null)
__construct(ilDefaultPlaceholderDescription $defaultPlaceholderDescriptionObject=null, ilLanguage $language=null, ilUserDefinedFieldsPlaceholderDescription $userDefinedFieldPlaceHolderDescriptionObject=null)
getPlaceholderDescriptions()
This method MUST return an array containing an array with the the description as array value...
$defaultPlaceHolderDescriptionObject
Collection of basic placeholder values that can be used.