ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilPCParagraphEditorGUI.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2020 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
11{
15 public function getEditorElements(\ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper, string $page_type, ilPageObjectGUI $page_gui, int $style_id) : array
16 {
17 $cfg = $page_gui->getPageConfig();
19 $page_type,
20 $cfg->getEnableInternalLinks(),
21 $cfg->getEnableWikiLinks(),
22 $cfg->getEnableKeywords(),
23 $style_id,
24 true,
25 true,
26 $cfg->getEnableAnchors(),
27 true,
28 $cfg->getEnableUserLinks(),
29 $ui_wrapper
30 );
31
32 return [
33 "menu" => $menu
34 ];
35 }
36
40 public function getEditComponentForm(\ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper, string $page_type, \ilPageObjectGUI $page_gui, int $style_id, $pcid) : string
41 {
42 return "";
43 }
44}
An exception for terminatinating execution or to throw for unit testing.
getEditorElements(\ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper, string $page_type, ilPageObjectGUI $page_gui, int $style_id)
@inheritDoc
getEditComponentForm(\ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper, string $page_type, \ilPageObjectGUI $page_gui, int $style_id, $pcid)
@inheritDoc
Class ilPageObjectGUI.
static getTinyMenu( $a_par_type, $a_int_links=false, $a_wiki_links=false, $a_keywords=false, $a_style_id=0, $a_paragraph_styles=true, $a_save_return=true, $a_anchors=false, $a_save_new=true, $a_user_links=false, \ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper=null)
Get Tiny Menu.
getPageConfig()
Get page config object.
Class ChatMainBarProvider \MainMenu\Provider.