ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilContentPagePageCollector.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 
7 {
11  public function getAllPageIds($obj_id)
12  {
13  $pages = [];
14 
15  foreach (ilPageObject::getAllPages(self::OBJ_TYPE, $obj_id) as $page) {
16  $pages[] = [
17  'parent_type' => self::OBJ_TYPE,
18  'id' => $page['id'],
19  'lang' => $page['lang'],
20  ];
21  }
22 
23  return $pages;
24  }
25 }
Class ilContentPagePageCollector.
Interface ilContentPageObjectConstants.
static getAllPages($a_parent_type, $a_parent_id, $a_lang="-")
Get all pages for parent object.