ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilLearningModulePageCollector.php
Go to the documentation of this file.
1<?php
2
25{
26 public function getAllPageIds(int $obj_id): array
27 {
28 $pages = [];
29 foreach (ilPageObject::getAllPages("lm", $obj_id) as $p) {
30 $pages[] = [
31 "parent_type" => "lm",
32 "id" => $p["id"],
33 "lang" => $p["lang"]
34 ];
35 }
36 return $pages;
37 }
38}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getAllPageIds(int $obj_id)
Get all page IDs of an repository object.
static getAllPages(string $a_parent_type, int $a_parent_id, string $a_lang="-")
Get all pages for parent object.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...