19declare(strict_types=1);
52 return $this->wiki_domain->getObjId($this->wiki_ref_id);
60 return $this->imp_page_repo->getList($this->
getWikiId());
68 return $this->imp_page_repo->getListAsArray($this->
getWikiId());
76 $this->imp_page_repo->
add(
87 return $this->imp_page_repo->isImportantPage($this->getWikiId(), $page_id);
93 $this->imp_page_repo->removeImportantPage($this->getWikiId(), $page_id);
100 return $this->imp_page_repo->saveOrderingAndIndentation(
107 public function cloneTo(
int $new_wiki_obj_id, array $page_id_map): void
109 foreach ($this->getList() as $ip) {
110 $this->imp_page_repo->add(
112 $page_id_map[$ip->getId()],
124 return $this->imp_page_repo->getImportantPageIds($this->getWikiId());
Repository internal data service.
Repository internal repo service.
Wiki internal data service.
ILIAS Wiki Navigation ImportantPageDBRepository $imp_page_repo
ILIAS Wiki Wiki DomainService $wiki_domain
cloneTo(int $new_wiki_obj_id, array $page_id_map)
saveOrderingAndIndentation(array $ord, array $indent)
__construct(InternalDataService $data_service, ImportantPageDBRepository $imp_page_repo, \ILIAS\Wiki\Wiki\DomainService $wiki_domain, int $ref_id)
InternalDataService $data_service
removeImportantPage(int $page_id)
add(int $page_id, int $nr=0, int $indent=0)
isImportantPage(int $page_id)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.