34     protected \ILIAS\Wiki\InternalDomainService 
$domain;
    35     protected \ILIAS\Wiki\Page\PageManager 
$wiki_pm;
    38     protected \ILIAS\Notes\Service 
$notes;
    39     protected \ILIAS\HTTP\Services 
$http;
    50         int $a_wiki_ref_id = 0,
    60         $this->
settings = $domain->settings();
    67         $this->
ctrl->saveParameterByClass(self::class, 
"wpg_id");
    71         $this->wiki_request = 
$gui->request();
    72         $this->notes = $DIC->notes();
    73         $this->wiki_gui = 
$gui;
    74         $this->ot = 
$gui->wiki()->translation($a_wiki_ref_id);
    75         $this->wiki_pm = $this->domain->page()->page($this->
getWikiRefId());
    76         $this->exc_domain = $DIC->exercise()->internal()->domain();
    87         $this->wiki_ref_id = $a_ref_id;
   117         $next_class = $this->
ctrl->getNextClass($this);
   120             ": " . $this->getWikiPage()->getTitle();
   124         PageContentProvider::setPermaLink($this->wiki_pm->getPermaLink(
   125             $this->getPageObject()->getId(),
   133         switch ($next_class) {
   137                 $ilTabs->setTabActive(
"pg");
   143                 $rating_gui->setObject(
   149                 $rating_gui->setUpdateCallback(array($this, 
"updateStatsRating"));
   150                 $this->
ctrl->forwardCommand($rating_gui);
   151                 $ilCtrl->redirect($this, 
"preview");
   154             case "ilcommonactiondispatchergui":
   156                 if (!is_null(
$gui)) {
   157                     $gui->enableCommentsSettings(
false);
   158                     $gui->setRatingCallback(
   166             case "ilwikistatgui":
   167                 if ($ilAccess->checkAccess(
"statistics_read", 
"", $this->wiki_ref_id)) {
   168                     $this->tabs_gui->clearTargets(); 
   178             case 'ilobjectmetadatagui':
   180                 if (!$ilAccess->checkAccess(
"write", 
"", $this->wiki_ref_id)) {
   181                     $this->tpl->setOnScreenMessage(
'failure', 
$lng->
txt(
"permission_denied"), 
true);
   182                     $ilCtrl->redirect($this, 
"preview");
   184                 return parent::executeCommand();
   186             case "ilpropertyformgui":
   189                 $ilCtrl->forwardCommand(
$form);
   194                 if (strtolower($ilCtrl->getNextClass()) === 
"ilpageeditorgui") {
   195                     self::initEditingJS($this->tpl);
   198                 if ($this->wiki_request->getNotification() > 0
   200                     switch ($this->wiki_request->getNotification()) {
   218                     $ilCtrl->redirect($this, 
"preview");
   222                 return parent::executeCommand();
   242             $this->getWikiPage()->
getId(),
   249         bool $a_redraw = 
false   261             $this->requested_ref_id,
   266         $dispatcher->setSubObject(
"wpg", $page_id);
   269             $this->
ctrl->getLinkTarget($this, 
"redrawHeaderAction", 
"", 
true),
   271             $this->
ctrl->getLinkTargetByClass(array(
"ilcommonactiondispatchergui", 
"iltagginggui"), 
"", 
"", 
true, 
false)
   274         $lg = $dispatcher->initHeaderAction();
   275         $lg->enableNotes(
true);
   282                 $this->
lng->txt(
"wiki_rate_overall"),
   285                 array(
"ilcommonactiondispatchergui", 
"ilratinggui"),
   293                 $this->
ctrl->setParameter($this, 
"ntf", 1);
   295                     $lg->addCustomCommand($this->
ctrl->getLinkTarget($this), 
"wiki_notification_deactivate_wiki");
   301                     $this->
lng->txt(
"wiki_notification_activated")
   304                 $this->
ctrl->setParameter($this, 
"ntf", 2);
   305                 $lg->addCustomCommand($this->
ctrl->getLinkTarget($this), 
"wiki_notification_activate_wiki");
   308                     $this->
ctrl->setParameter($this, 
"ntf", 3);
   309                     $lg->addCustomCommand($this->
ctrl->getLinkTarget($this), 
"wiki_notification_deactivate_page");
   314                         $this->
lng->txt(
"wiki_page_notification_activated")
   317                     $this->
ctrl->setParameter($this, 
"ntf", 4);
   318                     $lg->addCustomCommand($this->
ctrl->getLinkTarget($this), 
"wiki_notification_activate_page");
   323                         $this->
lng->txt(
"wiki_notification_deactivated")
   327             $this->
ctrl->setParameter($this, 
"ntf", 
"");
   331             $this->tpl->setHeaderActionMenu($lg->getHeaderAction());
   334             return $lg->getHeaderAction() .
   335                 $this->tpl->getOnLoadCodeForAsynch();
   360             $this->tpl->setOnScreenMessage(
'info', 
$lng->
txt(
"wiki_page_status_blocked"));
   368         if (!in_array($ilCtrl->getNextClass(), [
"ilnotegui", 
"ilcommentgui"])) {
   373             "tpl.wiki_page_view_main_column.html",
   376             "components/ILIAS/Wiki"   378         $callback = array($this, 
"observeNoteAction");
   382             $may_delete = (
$ilSetting->get(
"comments_del_tutor", 
'1') &&
   383                 $ilAccess->checkAccess(
"write", 
"", $this->requested_ref_id));
   398         $wtpl->setVariable(
"PAGE", $this->
showPage());
   405             $lng->
txt(
"wiki_last_edited") . 
": " .
   413                 $ilCtrl->getLinkTarget($this, 
"preview")
   420         if ($this->wiki_request->getSearchString()) {
   423             $search_string = $cache->getQuery();
   426             if (is_array($search_string)) {
   427                 $search_string = $search_string[
"lom_content"];
   433             $words = $p->getQuotedWords();
   434             if (is_array($words)) {
   435                 foreach ($words as $w) {
   436                     ilTextHighlighterGUI::highlight(
"ilCOPageContent", $w, 
$tpl);
   439             $this->fill_on_load_code = 
true;
   442         return $message . $wtpl->get();
   459         return parent::showPage();
   469         $modal_elements = $print_view->getModalElements($this->
ctrl->getLinkTarget(
   485         $f = $this->wiki_gui->ui()->factory();
   487         $this->
ctrl->setParameterByClass(self::class, 
"wpg_id", $this->
getId());
   488         $this->
ctrl->setParameterByClass(self::class, 
"page", null);
   489         if ($this->ot->getContentActivated()) {
   491             foreach ($this->ot->getLanguages() as 
$language) {
   492                 $lang_code = (
$language->getLanguageCode() === $this->ot->getMasterLanguage())
   495                 $exists = $this->wiki_pm->exists($this->
getId(), $lang_code);
   496                 $this->
ctrl->setParameterByClass(self::class, 
"transl", $lang_code);
   497                 $action = ($lang_code !== 
"-" && !$exists)
   500                 if ($action === 
"switchToLanguage") {
   501                     $this->
ctrl->setParameterByClass(self::class, 
"transl", null);
   502                     $this->
ctrl->setParameterByClass(self::class, 
"totransl", $lang_code);
   506                     : 
" (" . $this->
lng->txt(
"wiki_not_existing") . 
")";
   510                 $actions[] = 
$f->link()->standard(
   512                     $this->
ctrl->getLinkTargetByClass(self::class, $action)
   515             $this->
ctrl->setParameterByClass(self::class, 
"transl", $this->requested_transl);
   516             $this->
ctrl->setParameterByClass(self::class, 
"totransl", null);
   517             if (count($actions) > 0) {
   518                 $dd = 
$f->dropdown()->standard($actions)
   528             $code = $this->ot->getMasterLanguage();
   530         return $this->
lng->txt(
"language") . 
": " . $this->
lng->txt(
"meta_l_" . $code);
   535         $provider = new \ILIAS\Wiki\WikiPrintViewProviderGUI(
   542         return new \ILIAS\Export\PrintProcessGUI(
   554         $this->getWikiPage()->increaseViewCnt();
   560             $this->getWikiPage()->getWikiId(),
   572         $ilCtrl->setParameterByClass(
   580                 $this->getWikiPage()->getWikiId(),
   587         $ilCtrl->setParameterByClass(
   590             $this->wiki_request->getFromPage()
   597             $md = $mdgui->getKeyValueList();
   599                 $output = str_replace(
"<!--COPage-PageTop-->", 
"<p>" . $md . 
"</p>", $output);
   615             $this->getWikiPage()->getWikiId(),
   618             $this->wiki_request->getTranslation()
   625         string $a_activate = 
""   631         parent::getTabs($a_activate);
   633         if ($ilAccess->checkAccess(
"statistics_read", 
"", $this->requested_ref_id)) {
   636                 $this->
ctrl->getLinkTargetByClass(
   637                     array(
"ilwikipagegui", 
"ilwikistatgui"),
   646             "wiki_what_links_here",
   647             $this->
ctrl->getLinkTargetByClass(
   663             $confirmation_gui->setFormAction($ilCtrl->getFormAction($this));
   664             $confirmation_gui->setHeaderText(
$lng->
txt(
"wiki_page_deletion_confirmation"));
   665             $confirmation_gui->setCancel(
$lng->
txt(
"cancel"), 
"cancelWikiPageDeletion");
   666             $confirmation_gui->setConfirm(
$lng->
txt(
"delete"), 
"confirmWikiPageDeletion");
   669                 "tpl.wiki_page_deletion_confirmation.html",
   672                 "components/ILIAS/Wiki"   675             $dtpl->setVariable(
"PAGE_TITLE", $this->getWikiPage()->
getTitle());
   678             $dtpl->setVariable(
"TXT_OTHER_PAGES", 
$lng->
txt(
"wiki_other_pages_linking"));
   680                 $this->getWikiPage()->getWikiId(),
   681                 $this->getWikiPage()->
getId()
   683             if (count($pages) > 0) {
   684                 foreach ($pages as $page) {
   685                     $dtpl->setCurrentBlock(
"lpage");
   686                     $dtpl->setVariable(
"TXT_LINKING_PAGE", $page[
"title"]);
   687                     $dtpl->parseCurrentBlock();
   690                 $dtpl->setCurrentBlock(
"lpage");
   691                 $dtpl->setVariable(
"TXT_LINKING_PAGE", 
"-");
   692                 $dtpl->parseCurrentBlock();
   696             $dtpl->setVariable(
"TXT_CONTRIBUTORS", 
$lng->
txt(
"wiki_contributors"));
   698             foreach ($contributors as $contributor) {
   699                 $dtpl->setCurrentBlock(
"contributor");
   702                     $contributor[
"lastname"] . 
", " . $contributor[
"firstname"]
   704                 $dtpl->parseCurrentBlock();
   708             $cnt_note_users = $this->notes->domain()->getUserCount(
   714                 "TXT_NUMBER_USERS_NOTES_OR_COMMENTS",
   715                 $lng->
txt(
"wiki_number_users_notes_or_comments")
   717             $dtpl->setVariable(
"TXT_NR_NOTES_COMMENTS", $cnt_note_users);
   719             $confirmation_gui->addItem(
"", 
"", $dtpl->get());
   729         $ilCtrl->
redirect($this, 
"preview");
   739             $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"wiki_page_deleted"), 
true);
   742         $ilCtrl->redirectByClass(
"ilobjwikigui", 
"allPages");
   764         $pg_ids = $all_pages = array();
   767         $ordering = $this->wiki_request->getPrintOrdering();
   768         if (count($ordering) === 0) {
   769             switch ($this->wiki_request->getSelectedPrintType()) {
   771                     foreach ($this->wiki_pm->getWikiPages($this->getLanguage()) as $p) {
   772                         $pg_ids[] = $p->getId();
   777                     $pg_ids = $this->wiki_request->getWikiPageIds();
   778                     if (count($pg_ids) === 0) {
   779                         $pg_ids = [$this->wiki_request->getWikiPageId()];
   781                     if (count($pg_ids) > 1) {
   784                         $wiki_page_id = array_pop($pg_ids);
   786                     $this->
ctrl->setParameterByClass(
   791                     $this->
ctrl->redirectByClass(
"ilObjWikiGUI", 
"printView");
   795                     $this->
ctrl->setParameterByClass(
   798                         $this->wiki_request->getWikiPageId()
   800                     $this->
ctrl->redirectByClass(
"ilObjWikiGUI", 
"printView");
   807             $pg_ids = array_keys($ordering);
   810         $ilTabs->clearTargets();
   811         $ilTabs->setBackTarget(
   812             $this->
lng->txt(
"back"),
   813             $this->
ctrl->getLinkTarget($this, 
"preview")
   816         if (!count($all_pages)) {
   822             "printViewOrderList",
   826         $this->tpl->setContent($tbl->getHTML());
   843             $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"wiki_page_blocked"), 
true);
   846         $ilCtrl->redirect($this, 
"preview");
   858             $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"wiki_page_unblocked"), 
true);
   861         $ilCtrl->redirect($this, 
"preview");
   874         if (($ilAccess->checkAccess(
   877             $this->requested_ref_id
   879             || $ilAccess->checkAccess(
"write", 
"", $this->requested_ref_id)) {
   880             $this->
ctrl->setParameterByClass(ilWikiPageGUI::class, 
"wpg_id", $this->wiki_request->getWikiPageId());
   895         $ti->setMaxLength(200);
   898         $ti->setRequired(
true);
   899         $this->
form->addItem($ti);
   901         $this->
form->addCommandButton(
"renamePage", 
$lng->
txt(
"wiki_rename"));
   902         $this->
form->addCommandButton(
"preview", 
$lng->
txt(
"cancel"));
   904         $this->
form->setTitle(
$lng->
txt(
"wiki_rename_page"));
   905         $this->
form->setFormAction($ilCtrl->getFormAction($this));
   916         if ($this->
form->checkInput()) {
   917             if (($ilAccess->checkAccess(
"edit_content", 
"", $this->requested_ref_id) && !$this->
getPageObject()->getBlocked())
   918                 || $ilAccess->checkAccess(
"write", 
"", $this->requested_ref_id)) {
   919                 $new_name = $this->
form->getInput(
"new_page_name");
   932                     $this->tpl->setOnScreenMessage(
'failure', 
$lng->
txt(
"wiki_page_already_exists"));
   936                     $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"msg_obj_modified"), 
true);
   937                     $ilCtrl->redirect($this, 
"preview");
   942         $this->
form->setValuesByPost();
   958         $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"msg_obj_modified"), 
true);
   959         $ilCtrl->redirect($this, 
"preview");
   970         $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"msg_obj_modified"), 
true);
   971         $ilCtrl->redirect($this, 
"preview");
   983         $note = $this->notes->domain()->getById($a_note_id);
   984         $text = $note->getText();
   986         $noti = $this->wiki_gui->notification();
  1009         $page = $this->getWikiPage();
  1025         $this->record_gui->parse();
  1042         if (!$ilAccess->checkAccess(
"write", 
"", $this->wiki_ref_id) &&
  1043             !$ilAccess->checkAccess(
"edit_page_meta", 
"", $this->wiki_ref_id)) {
  1048         $ilTabs->clearTargets();
  1049         $ilTabs->setBackTarget(
  1051             $ilCtrl->getLinkTarget($this, 
"preview")
  1067         if (!$ilAccess->checkAccess(
"write", 
"", $this->wiki_ref_id) &&
  1068             !$ilAccess->checkAccess(
"edit_page_meta", 
"", $this->wiki_ref_id)) {
  1076         if (!$this->record_gui->importEditFormPostValues()) {
  1081         if ($this->record_gui->writeEditForm()) {
  1082             $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"settings_saved"), 
true);
  1084         $ilCtrl->redirect($this, 
"preview");
  1093         if (!$ilAccess->checkAccess(
"write", 
"", $this->wiki_ref_id) &&
  1094             !$ilAccess->checkAccess(
"edit_page_meta", 
"", $this->wiki_ref_id)) {
  1101         $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"settings_saved"), 
true);
  1102         $ilCtrl->redirect($this, 
"preview");
  1111         if (!$ilAccess->checkAccess(
"write", 
"", $this->wiki_ref_id) &&
  1112             !$ilAccess->checkAccess(
"edit_page_meta", 
"", $this->wiki_ref_id)) {
  1119         $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"settings_saved"), 
true);
  1120         $ilCtrl->redirect($this, 
"preview");
  1127         $this->
ctrl->setParameterByClass(self::class, 
"wpg_id", $this->
getId());
  1128         self::initEditingJS(
$tpl);
  1130         return parent::edit();
  1137         $lng = $DIC->language();
  1140         $a_tpl->
addOnLoadCode(
"il.Wiki.Edit.txt.page_exists = '" . 
$lng->
txt(
"wiki_page_exists") . 
"';");
  1160         $tp->setRequired(
true);
  1161         $tp->setInfo(
"...");
  1162         $tp->setDataSource($ilCtrl->getLinkTarget($this, 
"insertWikiLinkAC", 
"", 
true));
  1183         $term = $this->wiki_request->getTerm();
  1188             $entry->value = $term;
  1189             $entry->label = $term;
  1197             if ($result[0]->value == $r) {
  1209         echo json_encode($result, JSON_THROW_ON_ERROR);
  1222         $tpl = 
new ilTemplate(
"tpl.wiki_ac_search_result.html", 
true, 
true, 
"components/ILIAS/Wiki");
  1223         $term = $this->wiki_request->getTerm();
  1228         foreach ($pages as $page) {
  1237         foreach ($found as 
$f) {
  1243         if (count($pages) === 0) {
  1245         } elseif ($term === 
'') {
  1270         $ass_id = $this->wiki_request->getAssignmentId();
  1273         $this->tpl->setOnScreenMessage(
'success', 
$lng->
txt(
"wiki_finalized"), 
true);
  1274         $ilCtrl->redirectByClass(
"ilObjWikiGUI", 
"gotoStartPage");
  1281         $ass_id = $this->wiki_request->getAssignmentId();
  1284         $sub_manager = $this->exc_domain->submission(
$ass_id);
  1285         $sub = $sub_manager->getSubmissionsOfUser($ilUser->getId())->current();
  1286         $team_id = $this->exc_domain->team()->getTeamForMember(
  1294                 $ass->getTitle() . 
" (Team " . $team_id . 
").zip";
  1296             $sub_manager->deliverFile(
  1321         $this->tabs_gui->clearTargets();
  1322         $this->tabs_gui->setBackTarget(
  1323             $this->
lng->txt(
"back"),
  1324             $this->
ctrl->getLinkTarget($this, 
"edit")
  1327         $l = $this->request->getString(
"totransl");
  1328         $this->
ctrl->setParameter($this, 
"totransl", $l);
  1329         $this->
lng->loadLanguageModule(
"meta");
  1331         $r = $this->wiki_gui->ui()->renderer();
  1332         $box = $this->wiki_gui->ui()->factory()->messageBox()->confirmation(
  1333             $this->
lng->txt(
"cont_page_translation_does_not_exist") . 
": " .
  1334             $this->
lng->txt(
"meta_l_" . $l)
  1339         $content = 
$r->render($box) . 
$form->render();
  1348         $this->tpl->setContent($content);
  1353         $f = $this->wiki_gui->form(self::class, 
"createPageTranslation")
  1354             ->text(
"title", $this->
lng->txt(
"title"));
  1361         $l = $this->request->getString(
"totransl");
  1366         $p = $this->domain->page()->getWikiPage(
  1373         $p->copyPageToTranslation($l);
  1382         $p2->setTitle(
$form->getData(
"title"));
  1384         $this->
ctrl->setParameter($this, 
"transl", $l);
  1387         $this->
ctrl->redirect($this, 
"edit");
  1392         return $this->wiki_pm->exists($id, $lang);
 
getLanguageLabelForCode(string $code)
 
finalizeAssignment()
Finalize and submit blog to exercise. 
 
initAdvancedMetaDataForm()
 
confirmPageTranslationCreation()
Confirm page translation creation. 
 
setPropertyForm(ilPropertyFormGUI $form)
 
static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ilObjUser $user=null,)
 
postOutputProcessing(string $a_output)
 
txt(string $a_topic, string $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...
 
redirect(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
 
setHeaderPageTitle(string $a_title)
Sets the title of the page (for browser window). 
 
static getPagesForSearch(int $a_wiki_id, string $a_term)
 
observeNoteAction(int $a_wiki_id, int $a_page_id, string $a_type, string $a_action, int $a_note_id)
 
setOutputMode(string $a_mode=self::PRESENTATION)
 
Interface Observer  Contains several chained tasks and infos about them. 
 
ilAdvancedMDRecordGUI $record_gui
 
Wiki statistics GUI class. 
 
static prepareJsLinks(string $redraw_url, string $notes_url, string $tags_url, ilGlobalTemplateInterface $tpl=null)
Insert js/ajax links into template. 
 
static _getInstance(int $a_usr_id)
 
static renderSideBlock(int $a_wpg_id, int $a_wiki_ref_id, ?ilWikiPage $a_wp=null)
 
static lookupTitle(int $a_page_id, string $lang="-")
 
static getLinksToPage(int $a_wiki_id, int $a_page_id, string $lang="-")
 
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string. 
 
static _lookupName(int $a_user_id)
lookup user name 
 
TableGUI class for wiki pages table. 
 
static _performSearch(int $a_wiki_id, string $a_searchterm)
Search in Wiki. 
 
ILIAS Wiki WikiGUIRequest $wiki_request
 
ILIAS COPage InternalGUIService $gui
 
loadLanguageModule(string $a_module)
Load language module. 
 
setVariable(string $variable, $value='')
Sets the given variable to the given value. 
 
showEditToolbar()
Show edit toolbar. 
 
setWikiRefId(int $a_ref_id)
 
setLoginTargetPar(string $a_val)
Set target parameter for login (public sector). 
 
static replaceInternalLinks(string $s, int $a_wiki_id, bool $a_offline=false, string $lang="-")
This one is based on Mediawiki Parser->replaceInternalLinks since we display images in another way...
 
setTemplateOutput(bool $a_output=true)
 
static _lookupObjId(int $ref_id)
 
static getWikiPageContributors(int $a_page_id)
 
ILIAS HTTP Services $http
 
static http()
Fetches the global http state from ILIAS. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is: 
 
static _lookupTitle(int $obj_id)
 
setContent(string $a_html)
Sets content for standard template. 
 
ILIAS Exercise InternalDomainService $exc_domain
 
static setNotification(int $type, int $user_id, int $id, bool $status=true)
Set notification status for object and user. 
 
checkLangPageAvailable(int $id, string $lang)
 
setRenderPageContainer(bool $a_val)
 
ilGlobalTemplateInterface $tpl
 
setScreenIdComponent(string $a_comp)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(int $a_id=0, int $a_old_nr=0, int $a_wiki_ref_id=0, string $lang="-")
 
setPageObject(ilPageObject $a_pg_obj)
 
static _recordReadEvent(string $a_type, int $a_ref_id, int $obj_id, int $usr_id, bool $isCatchupWriteEvents=true, $a_ext_rc=null, $a_ext_time=null)
 
deleteWikiPageConfirmationScreen()
 
getTranslatePageFormAdapter()
 
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
Class ilWikiPage GUI class. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addJavaScript(string $a_js_file, bool $a_add_version_parameter=true, int $a_batch=2)
Add a javascript file that should be included in the header. 
 
static getSyntaxStylePath()
 
setPresentationTitle(string $a_title="")
 
ILIAS Wiki InternalGUIService $wiki_gui
 
addOnLoadCode(string $a_code, int $a_batch=2)
Add on load code. 
 
insertWikiLink()
Returns form to insert a wiki link per ajax. 
 
activateWikiPageRating()
Rating /. 
 
getTabs(string $a_activate="")
 
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block. 
 
ILIAS Wiki InternalDomainService $domain
 
static initEditingJS(ilGlobalTemplateInterface $a_tpl)
 
const IL_WIKI_WHAT_LINKS_HERE
 
static makeUrlTitle(string $a_par)
 
form( $class_path, string $cmd, string $submit_caption="")
 
insertWikiLinkAC()
Auto complete for insert wiki link. 
 
addLanguageSelectionToToolbar()
 
updateStatsRating(int $a_wiki_id, string $a_wiki_type, int $a_page_id, string $a_page_type)
 
ILIAS Wiki Page PageManager $wiki_pm
 
static makeDbTitle(string $a_par)
 
static getPageIdForTitle(int $a_wiki_id, string $a_title, string $lang="-")
Get wiki page object for id and title. 
 
static _wikiPageExists(int $a_wiki_id, string $a_title, string $lang="-")
 
editAdvancedMetaData(ilPropertyFormGUI $a_form=null)
 
__construct(Container $dic, ilPlugin $plugin)
 
static handleEvent(int $a_event, ilWikiPage $a_page_obj, ?int $a_user_id=null, array $a_additional_data=null)
Handle wiki page event. 
 
setWiki(ilObjWiki $a_val)
 
static hasNotification(int $type, int $user_id, int $id)
Check notification status for object and user. 
 
static _lookupRatingOverall(int $a_wiki_id)
Lookup whether rating is activated for whole object. 
 
getNotesHTML(object $a_content_object=null, bool $a_enable_private_notes=true, bool $a_enable_public_notes=false, bool $a_enable_notes_deletion=false, callable $a_callback=null, bool $export=false)
Get html for public and/or private notes. 
 
static _lookupPublicNotes(int $a_wiki_id)
Lookup whether public notes are activated. 
 
deactivateWikiPageRating()
 
static check(string $a_perm, int $a_ref_id, string $a_cmd="")
 
ILIAS Notes Service $notes
 
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block. 
 
static getAllWikiPages(int $a_wiki_id, string $lang="-")
 
confirmWikiPageDeletion()
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Class ilCommonActionDispatcherGUI. 
 
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call 
 
static getInstance(string $a_parent_type, int $a_id=0, int $a_old_nr=0, string $a_lang="-")
Get page object instance. 
 
searchWikiLinkAC()
Search wiki link list. 
 
addHeaderAction(bool $a_redraw=false)
 
setWikiPage(ilWikiPage $a_wikipage)
 
static sortArray(array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)
 
static hasOptOut(int $obj_id)
Is opt out (disable notification) allowed?