ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilContentPagePageCollector.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
23  public function getAllPageIds(int $obj_id): array
24  {
25  $pages = [];
26 
27  foreach (ilPageObject::getAllPages(self::OBJ_TYPE, $obj_id) as $page) {
28  $pages[] = [
29  'parent_type' => self::OBJ_TYPE,
30  'id' => $page['id'],
31  'lang' => $page['lang'],
32  ];
33  }
34 
35  return $pages;
36  }
37 }
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.