ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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}
An exception for terminatinating execution or to throw for unit testing.
Class ilContentPagePageCollector.
static getAllPages($a_parent_type, $a_parent_id, $a_lang="-")
Get all pages for parent object.
Interface ilContentPageObjectConstants.