ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilForumPageCollector Class Reference
+ Inheritance diagram for ilForumPageCollector:
+ Collaboration diagram for ilForumPageCollector:

Public Member Functions

 getAllPageIds ($obj_id)
 
- Public Member Functions inherited from ilCOPageCollectorInterface
 getAllPageIds (int $obj_id)
 Get all page IDs of an repository object. More...
 

Additional Inherited Members

- Data Fields inherited from ilForumObjectConstants
const OBJ_TYPE = 'frm'
 
const UI_TAB_ID_INFO = 'info_short'
 
const UI_TAB_ID_SETTINGS = 'settings'
 
const UI_TAB_ID_MODERATORS = 'frm_moderators'
 
const UI_TAB_ID_THREADS = 'forums_threads'
 
const UI_TAB_ID_STATS = 'frm_statistics'
 
const UI_TAB_ID_EXPORT = 'export'
 
const UI_TAB_ID_PERMISSIONS = 'perm_settings'
 
const UI_SUB_TAB_ID_BASIC_SETTINGS = 'general'
 
const UI_SUB_TAB_ID_NOTIFICATIONS = 'notifications'
 
const UI_SUB_TAB_ID_NEWS = 'cont_news_settings'
 
const UI_SUB_TAB_ID_STYLE = 'cont_style'
 
const UI_CMD_COPAGE_DOWNLOAD_FILE = 'downloadFile'
 
const UI_CMD_COPAGE_DISPLAY_FULLSCREEN = 'displayMediaFullscreen'
 
const UI_CMD_COPAGE_DOWNLOAD_PARAGRAPH = 'download_paragraph'
 

Detailed Description

Definition at line 21 of file class.ilForumPageCollector.php.

Member Function Documentation

◆ getAllPageIds()

ilForumPageCollector::getAllPageIds (   $obj_id)

Definition at line 23 of file class.ilForumPageCollector.php.

23 : 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 }
static getAllPages(string $a_parent_type, int $a_parent_id, string $a_lang="-")
Get all pages for parent object.

References ilPageObject\getAllPages(), and ilForumObjectConstants\OBJ_TYPE.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: