ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
class.ilPCParagraphEditorGUI.php
Go to the documentation of this file.
1<?php
2
20
25{
26 public function getEditorElements(
27 UIWrapper $ui_wrapper,
28 string $page_type,
29 ilPageObjectGUI $page_gui,
30 int $style_id
31 ): array {
32 global $DIC;
33
34 $menu_gui = $DIC->copage()->internal()->gui()->pc()->paragraph()->menu();
35
36 $cfg = $page_gui->getPageConfig();
37
38 $menu = $menu_gui->render(
39 $page_type,
40 $cfg->getEnableInternalLinks(),
41 $cfg->getEnableWikiLinks(),
42 $cfg->getEnableKeywords(),
43 $style_id,
44 true,
45 true,
46 $cfg->getEnableAnchors(),
47 true,
48 $cfg->getEnableUserLinks()
49 );
50
51 return [
52 "menu" => $menu
53 ];
54 }
55
56 public function getEditComponentForm(
57 UIWrapper $ui_wrapper,
58 string $page_type,
59 \ilPageObjectGUI $page_gui,
60 int $style_id,
61 string $pcid
62 ): string {
63 return "";
64 }
65}
getEditorElements(UIWrapper $ui_wrapper, string $page_type, ilPageObjectGUI $page_gui, int $style_id)
getEditComponentForm(UIWrapper $ui_wrapper, string $page_type, \ilPageObjectGUI $page_gui, int $style_id, string $pcid)
Get rendered editor elements.
Class ilPageObjectGUI.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:26