ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilContentPagePageCollector.php
Go to the documentation of this file.
1
<?
php
declare(strict_types=1);
2
6
class
ilContentPagePageCollector
implements
ilCOPageCollectorInterface
,
ilContentPageObjectConstants
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
}
ilContentPagePageCollector
Class ilContentPagePageCollector.
Definition:
class.ilContentPagePageCollector.php:6
ilContentPagePageCollector\getAllPageIds
getAllPageIds($obj_id)
Definition:
class.ilContentPagePageCollector.php:11
ilContentPageObjectConstants
Interface ilContentPageObjectConstants.
Definition:
interface.ilContentPageObjectConstants.php:7
ilPageObject\getAllPages
static getAllPages($a_parent_type, $a_parent_id, $a_lang="-")
Get all pages for parent object.
Definition:
class.ilPageObject.php:4340
ilCOPageCollectorInterface
Page collector interface.
Definition:
interface.ilCOPageCollectorInterface.php:11
php
Modules
ContentPage
classes
class.ilContentPagePageCollector.php
Generated on Thu Jan 16 2025 19:02:00 for ILIAS by
1.8.13 (using
Doxyfile
)