136         $form->setFormAction($this->dic->ctrl()->getFormAction($this));
   139         $ne->setValue($this->
language->txt(
'type_' . $this->object->getContentType()));
   143         $ne->setValue($this->
object->getLrsType()->getTitle());
   148         $item->setMaxLength(128);
   149         $item->setRequired(
true);
   150         $item->setInfo($this->
language->txt(
'title_info'));
   151         $item->setValue($this->
object->getTitle());
   152         $form->addItem($item);
   158         $item->setValue($this->
object->getDescription());
   159         $form->addItem($item);
   162         $item->setRequired(
true);
   164         $item->setMaxLength(128);
   166         $item->setInfo($this->
language->txt(
'activity_id_info'));
   167         $item->setValue($this->
object->getActivityId());
   168         $form->addItem($item);
   171         $item->setInfo($this->
language->txt(
"online_info"));
   172         $item->setValue(
"1");
   173         if (!$this->
object->getOfflineStatus()) {
   174             $item->setChecked(
true);
   176         $form->addItem($item);
   179         $lpDeterioration->setInfo($this->
language->txt(
'conf_keep_lp_info'));
   180         if ($this->
object->isKeepLpStatusEnabled()) {
   181             $lpDeterioration->setChecked(
true);
   188         $item->setTitle($this->
language->txt(
"obj_presentation"));
   189         $form->addItem($item);
   192         $this->dic->object()->commonSettings()->legacyForm($form, $this->
object)->addTileImage();
   194         if (!$this->
object->isSourceTypeExternal()) {
   196             $item->setTitle($this->
language->txt(
"launch_options"));
   197             $form->addItem($item);
   199             if ($this->
object->isSourceTypeRemote()) {
   202                 $item->setMaxLength(128);
   203                 $item->setRequired(
true);
   204                 $item->setInfo($this->
language->txt(
'launch_url_info'));
   205                 $item->setValue($this->
object->getLaunchUrl());
   206                 $form->addItem($item);
   211                 $item->setInfo($this->
language->txt(
"use_fetch_info"));
   212                 $item->setValue(
"1");
   214                 if ($this->
object->isAuthFetchUrlEnabled()) {
   215                     $item->setChecked(
true);
   217                 $form->addItem($item);
   222             $display->setValue($this->
object->getLaunchMethod());
   225             $display->addOption($optOwnWindow);
   228             $display->addOption($optAnyWindow);
   229             $form->addItem($display);
   233             $launchMode->setValue($this->
object->getLaunchMode());
   235             $optNormal->
setInfo($this->
language->txt(
'conf_launch_mode_normal_info'));
   237             $optNormal->addSubItem($lpDeterioration);
   239             $launchMode->addOption($optNormal);
   241             $optBrowse->
setInfo($this->
language->txt(
'conf_launch_mode_browse_info'));
   242             $launchMode->addOption($optBrowse);
   244             $optReview->
setInfo($this->
language->txt(
'conf_launch_mode_review_info'));
   245             $launchMode->addOption($optReview);
   246             $form->addItem($launchMode);
   248             $form->addItem($lpDeterioration);
   253             $switchMode->setInfo($this->
language->txt(
"conf_switch_to_review_info"));
   254             if ($this->
object->isSwitchToReviewEnabled()) {
   255                 $switchMode->setChecked(
true);
   258             $optNormal->addSubItem($switchMode);
   261             $masteryScore->setInfo($this->
language->txt(
'conf_mastery_score_info'));
   262             $masteryScore->setSuffix(
'%');
   263             $masteryScore->allowDecimals(
true);
   264             $masteryScore->setDecimals(2);
   265             $masteryScore->setMinvalueShouldBeGreater(
false);
   266             $masteryScore->setMinValue(0);
   267             $masteryScore->setMaxvalueShouldBeLess(
false);
   268             $masteryScore->setMaxValue(100);
   269             $masteryScore->setSize(4);
   270             if (empty($this->
object->getMasteryScore())) {
   273             $masteryScore->setValue((
string) $this->
object->getMasteryScorePercent());
   274             $optNormal->addSubItem($masteryScore);
   277         if (!$this->
object->isSourceTypeExternal()) {
   280             $sectionHeader->setTitle($this->
language->txt(
'privacy_options'));
   281             $form->addItem($sectionHeader);
   284             $useProxy->setInfo($this->
language->txt(
'conf_use_proxy_info_xapi'));
   285             if ($this->
object->isBypassProxyEnabled() == 
false) {
   286                 $useProxy->setChecked(
true);
   292                 $useProxy->setChecked(
true);
   293                 $useProxy->setDisabled(
true);
   294                 $useProxy->setInfo($this->
language->txt(
'conf_use_proxy_info_cmi5'));
   298             $item->setInfo($this->
language->txt(
'only_moveon_info'));
   299             $item->setChecked($this->
object->getOnlyMoveon());
   302             $subitem->setInfo($this->
language->txt(
'achieved_info'));
   303             $subitem->setChecked($this->
object->getAchieved());
   304             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   305                 $subitem->setDisabled(
true);
   307             $item->addSubItem($subitem);
   310             $subitem->setInfo($this->
language->txt(
'answered_info'));
   311             $subitem->setChecked($this->
object->getAnswered());
   312             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   313                 $subitem->setDisabled(
true);
   315             $item->addSubItem($subitem);
   318             $subitem->setInfo($this->
language->txt(
'completed_info'));
   319             $subitem->setChecked($this->
object->getCompleted());
   320             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   321                 $subitem->setDisabled(
true);
   323             $item->addSubItem($subitem);
   326             $subitem->setInfo($this->
language->txt(
'failed_info'));
   327             $subitem->setChecked($this->
object->getFailed());
   328             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   329                 $subitem->setDisabled(
true);
   331             $item->addSubItem($subitem);
   334             $subitem->setInfo($this->
language->txt(
'initialized_info'));
   335             $subitem->setChecked($this->
object->getInitialized());
   336             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   337                 $subitem->setDisabled(
true);
   339             $item->addSubItem($subitem);
   342             $subitem->setInfo($this->
language->txt(
'passed_info'));
   343             $subitem->setChecked($this->
object->getPassed());
   344             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   345                 $subitem->setDisabled(
true);
   347             $item->addSubItem($subitem);
   350             $subitem->setInfo($this->
language->txt(
'progressed_info'));
   351             $subitem->setChecked($this->
object->getProgressed());
   352             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   353                 $subitem->setDisabled(
true);
   355             $item->addSubItem($subitem);
   358                 $subitem->setInfo($this->
language->txt(
'satisfied_info'));
   359                 $subitem->setChecked($this->
object->getSatisfied());
   360                 if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   361                     $subitem->setDisabled(
true);
   363                 $item->addSubItem($subitem);
   366                 $subitem->setInfo($this->
language->txt(
'terminated_info'));
   367                 $subitem->setChecked($this->
object->getTerminated());
   368                 if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   369                     $subitem->setDisabled(
true);
   371                 $item->addSubItem($subitem);
   373             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   374                 $item->setDisabled(
true);
   376             $useProxy->addSubItem($item);
   379             $item->setInfo($this->
language->txt(
'hide_data_info'));
   380             $item->setChecked($this->
object->getHideData());
   383             $subitem->setInfo($this->
language->txt(
'timestamp_info'));
   384             $subitem->setChecked($this->
object->getTimestamp());
   385             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   386                 $subitem->setDisabled(
true);
   388             $item->addSubItem($subitem);
   391             $subitem->setInfo($this->
language->txt(
'duration_info'));
   392             $subitem->setChecked($this->
object->getDuration());
   393             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   394                 $subitem->setDisabled(
true);
   396             $item->addSubItem($subitem);
   398             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   399                 $item->setDisabled(
true);
   402             $useProxy->addSubItem($item);
   405             $item->setInfo($this->
language->txt(
'no_substatements_info'));
   406             $item->setChecked($this->
object->getNoSubstatements());
   407             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   408                 $item->setDisabled(
true);
   410             $useProxy->addSubItem($item);
   412             $form->addItem($useProxy);
   417                 $this->
language->txt(
'conf_privacy_ident_il_uuid_user_id'),
   420             $op->
setInfo($this->
language->txt(
'conf_privacy_ident_il_uuid_user_id_info'));
   421             $userIdent->addOption($op);
   423                 $this->
language->txt(
'conf_privacy_ident_il_uuid_login'),
   426             $op->
setInfo($this->
language->txt(
'conf_privacy_ident_il_uuid_login_info'));
   427             $userIdent->addOption($op);
   429                 $this->
language->txt(
'conf_privacy_ident_il_uuid_ext_account'),
   432             $op->
setInfo($this->
language->txt(
'conf_privacy_ident_il_uuid_ext_account_info'));
   433             $userIdent->addOption($op);
   435                 $this->
language->txt(
'conf_privacy_ident_il_uuid_sha256'),
   438             $op->
setInfo($this->
language->txt(
'conf_privacy_ident_il_uuid_sha256_info'));
   439             $userIdent->addOption($op);
   441                 $this->
language->txt(
'conf_privacy_ident_il_uuid_sha256url'),
   444             $op->
setInfo($this->
language->txt(
'conf_privacy_ident_il_uuid_sha256url_info'));
   445             $userIdent->addOption($op);
   447                 $this->
language->txt(
'conf_privacy_ident_il_uuid_random'),
   450             $op->
setInfo($this->
language->txt(
'conf_privacy_ident_il_uuid_random_info'));
   451             $userIdent->addOption($op);
   453                 $this->
language->txt(
'conf_privacy_ident_real_email'),
   456             $op->
setInfo($this->
language->txt(
'conf_privacy_ident_real_email_info'));
   457             $userIdent->addOption($op);
   458             $userIdent->setValue((
string) $this->
object->getPrivacyIdent());
   462             $userIdent->setRequired(
false);
   463             $form->addItem($userIdent);
   467                 $this->
language->txt(
'conf_privacy_name_none'),
   471             $userName->addOption($op);
   473                 $this->
language->txt(
'conf_privacy_name_firstname'),
   476             $userName->addOption($op);
   478                 $this->
language->txt(
'conf_privacy_name_lastname'),
   481             $userName->addOption($op);
   483                 $this->
language->txt(
'conf_privacy_name_fullname'),
   486             $userName->addOption($op);
   487             $userName->setValue((
string) $this->
object->getPrivacyName());
   488             $userName->setInfo($this->
language->txt(
'conf_privacy_name_info'));
   489             $userName->setRequired(
false);
   490             $form->addItem($userName);
   492             if ($this->
object->getLrsType()->getForcePrivacySettings()) {
   493                 $userIdent->setDisabled(
true);
   494                 $userName->setDisabled(
true);
   500         $options = [
"0",
"1",
"2",
"11",
"12"];
   501         for ((
int) $i = 0; $i < count($options); $i++) {
   503             $item->addOption($op);
   506         $item->setInfo($this->
language->txt(
'conf_delete_data_info'));
   507         $form->addItem($item);
   512         $item->setTitle($this->
language->txt(
"log_options"));
   513         $form->addItem($item);
   516         $item->setInfo($this->
language->txt(
"show_debug_info"));
   517         $item->setValue(
"1");
   518         if ($this->
object->isStatementsReportEnabled()) {
   519             $item->setChecked(
true);
   521         $form->addItem($item);
   524         $highscore->setValue(
"1");
   525         $highscore->setChecked($this->
object->getHighscoreEnabled());
   526         $highscore->setInfo($this->
language->txt(
"highscore_description"));
   527         $form->addItem($highscore);
   530         $highscore_tables->setValue((
string) $this->
object->getHighscoreMode());
   532             $this->
language->txt(
'highscore_own_table'),
   535         $highscore_table_own->setInfo($this->
language->txt(
'highscore_own_table_description'));
   536         $highscore_tables->addOption($highscore_table_own);
   538             $this->
language->txt(
'highscore_top_table'),
   541         $highscore_table_other->setInfo($this->
language->txt(
'highscore_top_table_description'));
   542         $highscore_tables->addOption($highscore_table_other);
   544             $this->
language->txt(
'highscore_all_tables'),
   547         $highscore_table_other->setInfo($this->
language->txt(
'highscore_all_tables_description'));
   548         $highscore_tables->addOption($highscore_table_other);
   549         $highscore->addSubItem($highscore_tables);
   551         $highscore_top_num->setSize(4);
   552         $highscore_top_num->setRequired(
true);
   553         $highscore_top_num->setMinValue(1);
   554         $highscore_top_num->setSuffix($this->
language->txt(
"highscore_top_num_unit"));
   555         $highscore_top_num->setValue((
string) $this->
object->getHighscoreTopNum(null));
   556         $highscore_top_num->setInfo($this->
language->txt(
"highscore_top_num_description"));
   557         $highscore->addSubItem($highscore_top_num);
   559         $highscore_achieved_ts->setValue(
"1");
   560         $highscore_achieved_ts->setChecked($this->
object->getHighscoreAchievedTS());
   561         $highscore_achieved_ts->setInfo($this->
language->txt(
"highscore_achieved_ts_description"));
   562         $highscore->addSubItem($highscore_achieved_ts);
   564         $highscore_percentage->setValue(
"1");
   565         $highscore_percentage->setChecked($this->
object->getHighscorePercentage());
   566         $highscore_percentage->setInfo($this->
language->txt(
"highscore_percentage_description"));
   567         $highscore->addSubItem($highscore_percentage);
   569         $highscore_wtime->setValue(
"1");
   570         $highscore_wtime->setChecked($this->
object->getHighscoreWTime());
   571         $highscore_wtime->setInfo($this->
language->txt(
"highscore_wtime_description"));
   572         $highscore->addSubItem($highscore_wtime);
   575         $form->setTitle($this->
language->txt(
'settings'));
   576         $form->addCommandButton(self::CMD_SAVE, $this->
language->txt(
"save"));
   577         $form->addCommandButton(self::CMD_SHOW, $this->
language->txt(
"cancel"));
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
const PRIVACY_IDENT_REAL_EMAIL
 
const HIGHSCORE_SHOW_OWN_TABLE
 
const LAUNCH_METHOD_NEW_WIN
 
const PRIVACY_NAME_FULLNAME
 
const PRIVACY_NAME_LASTNAME
 
const PRIVACY_IDENT_IL_UUID_USER_ID
 
setValue(string $a_value)
 
const LAUNCH_METHOD_OWN_WIN
 
const PRIVACY_IDENT_IL_UUID_SHA256URL
 
const HIGHSCORE_SHOW_ALL_TABLES
 
This class represents a text area property in a property form. 
 
const PRIVACY_IDENT_IL_UUID_EXT_ACCOUNT
 
const PRIVACY_IDENT_IL_UUID_SHA256
 
const PRIVACY_IDENT_IL_UUID_RANDOM
 
language()
 description: > Example for rendring a language glyph. 
 
const PRIVACY_NAME_FIRSTNAME
 
const HIGHSCORE_SHOW_TOP_TABLE
 
const PRIVACY_IDENT_IL_UUID_LOGIN