26 if (null === $userDefinedFieldPlaceHolderDescriptionObject) {
29 $userDefinedPlaceholderHtmlDescription = $userDefinedFieldPlaceHolderDescriptionObject->getPlaceholderDescriptions();
33 $this->placeholder = array(
34 'USER_LOGIN' => $language->
txt(
'certificate_ph_login'),
35 'USER_FULLNAME' => $language->
txt(
'certificate_ph_fullname'),
36 'USER_FIRSTNAME' => $language->
txt(
'certificate_ph_firstname'),
37 'USER_LASTNAME' => $language->
txt(
'certificate_ph_lastname'),
38 'USER_TITLE' => $language->
txt(
'certificate_ph_title'),
39 'USER_SALUTATION' => $language->
txt(
'certificate_ph_salutation'),
40 'USER_BIRTHDAY' => $language->
txt(
'certificate_ph_birthday'),
41 'USER_INSTITUTION' => $language->
txt(
'certificate_ph_institution'),
42 'USER_DEPARTMENT' => $language->
txt(
'certificate_ph_department'),
43 'USER_STREET' => $language->
txt(
'certificate_ph_street'),
44 'USER_CITY' => $language->
txt(
'certificate_ph_city'),
45 'USER_ZIPCODE' => $language->
txt(
'certificate_ph_zipcode'),
46 'USER_COUNTRY' => $language->
txt(
'certificate_ph_country'),
47 'USER_MATRICULATION' => $language->
txt(
'certificate_ph_matriculation'),
48 'DATE' => $language->
txt(
"certificate_ph_date"),
49 'DATETIME' => $language->
txt(
"certificate_ph_datetime"),
52 $this->placeholder = array_merge($this->placeholder, $userDefinedPlaceholderHtmlDescription);
67 $template =
new ilTemplate(
'tpl.default_description.html',
true,
true,
'Services/Certificate');
70 $template->setVariable(
'PLACEHOLDER_INTRODUCTION', $this->
language->txt(
'certificate_ph_introduction'));
73 foreach ($this->placeholder as
$id => $caption) {
__construct(ilLanguage $language, ilUserDefinedFieldsPlaceholderDescription $userDefinedFieldPlaceHolderDescriptionObject=null)
createPlaceholderHtmlDescription(ilTemplate $template=null)
This method is different then the 'getPlaceholderValues' method, this method is used to create a plac...
if(!array_key_exists('StateId', $_REQUEST)) $id
getPlaceholderDescriptions()
This method MUST return an array containing an array with the the description as array value...
special template class to simplify handling of ITX/PEAR
Collection of basic placeholder values that can be used.
txt($a_topic, $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...