38 $language->loadLanguageModule(
'certificate');
42 if (null === $defaultPlaceholderDescriptionObject) {
45 $this->defaultPlaceHolderDescriptionObject = $defaultPlaceholderDescriptionObject;
47 $this->placeholder = $this->defaultPlaceHolderDescriptionObject->getPlaceholderDescriptions();
70 if (null === $template) {
71 $template =
new ilTemplate(
'tpl.default_description.html',
true,
true,
'Services/Certificate');
74 $template->setVariable(
'PLACEHOLDER_INTRODUCTION', $this->
language->txt(
'certificate_ph_introduction'));
76 $template->setCurrentBlock(
'items');
77 foreach ($this->placeholder as $id => $caption) {
78 $template->setVariable(
'ID', $id);
79 $template->setVariable(
'TXT', $caption);
80 $template->parseCurrentBlock();
83 return $template->get();
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
createPlaceholderHtmlDescription(ilTemplate $template=null)
This methods MUST return an array containing an array with the the description as array value...
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.
__construct(ilDefaultPlaceholderDescription $defaultPlaceholderDescriptionObject=null, ilLanguage $language=null, ilUserDefinedFieldsPlaceholderDescription $userDefinedFieldPlaceHolderDescriptionObject=null)