38 $language->loadLanguageModule(
'certificate');
42 if (null === $defaultPlaceholderDescriptionObject) {
45 $this->defaultPlaceHolderDescriptionObject = $defaultPlaceholderDescriptionObject;
47 $this->placeholder = $this->defaultPlaceHolderDescriptionObject->getPlaceholderDescriptions();
48 $this->placeholder[
'COURSE_TITLE'] = $this->
language->txt(
'crs_title');
61 if (null === $template) {
62 $template =
new ilTemplate(
'tpl.default_description.html',
true,
true,
'Services/Certificate');
65 $template->setVariable(
"PLACEHOLDER_INTRODUCTION", $this->
language->txt(
'certificate_ph_introduction'));
67 $template->setCurrentBlock(
"items");
68 foreach ($this->placeholder as $id => $caption) {
69 $template->setVariable(
"ID", $id);
70 $template->setVariable(
"TXT", $caption);
71 $template->parseCurrentBlock();
74 return $template->get();
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
getPlaceholderDescriptions()
This method MUST return an array containing an array with the the description as array value...
__construct(ilDefaultPlaceholderDescription $defaultPlaceholderDescriptionObject=null, ilLanguage $language=null, ilUserDefinedFieldsPlaceholderDescription $userDefinedFieldPlaceHolderDescriptionObject=null)
$defaultPlaceHolderDescriptionObject
createPlaceholderHtmlDescription(ilTemplate $template=null)
This methods MUST return an array containing an array with the the description as array value...
Collection of basic placeholder values that can be used.