ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilPCLayoutTemplateEditorGUI Class Reference
+ Inheritance diagram for ilPCLayoutTemplateEditorGUI:
+ Collaboration diagram for ilPCLayoutTemplateEditorGUI:

Public Member Functions

 __construct ()
 
 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. More...
 
- Public Member Functions inherited from ILIAS\COPage\Editor\Components\PageComponentEditor
 getEditorElements (UIWrapper $ui_wrapper, string $page_type, \ilPageObjectGUI $page_gui, int $style_id)
 Get rendered editor elements. More...
 

Protected Attributes

ilLanguage $lng
 

Detailed Description

Definition at line 24 of file class.ilPCLayoutTemplateEditorGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilPCLayoutTemplateEditorGUI::__construct ( )

Definition at line 28 of file class.ilPCLayoutTemplateEditorGUI.php.

References $DIC, and ILIAS\Repository\lng().

29  {
30  global $DIC;
31  $this->lng = $DIC->language();
32  }
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

Member Function Documentation

◆ getEditComponentForm()

ilPCLayoutTemplateEditorGUI::getEditComponentForm ( UIWrapper  $ui_wrapper,
string  $page_type,
\ilPageObjectGUI  $page_gui,
int  $style_id,
string  $pcid 
)

Get rendered editor elements.

Implements ILIAS\COPage\Editor\Components\PageComponentEditor.

Definition at line 48 of file class.ilPCLayoutTemplateEditorGUI.php.

References $lng, ilPageObjectGUI\getPageObject(), ILIAS\COPage\Editor\Server\UIWrapper\getRenderedForm(), ilPCLayoutTemplateGUI\initCreationForm(), and null.

54  : string {
55  return "";
56  }
+ Here is the call graph for this function:

◆ getEditorElements()

ilPCLayoutTemplateEditorGUI::getEditorElements ( UIWrapper  $ui_wrapper,
string  $page_type,
ilPageObjectGUI  $page_gui,
int  $style_id 
)

Definition at line 34 of file class.ilPCLayoutTemplateEditorGUI.php.

References ILIAS\COPage\Editor\Server\UIWrapper\getRenderedIcon().

39  : array {
40  $form = $this->getCreationForm($page_gui, $ui_wrapper);
41 
42  return [
43  "creation_form" => $form,
44  "icon" => $ui_wrapper->getRenderedIcon("petmp")
45  ];
46  }
+ Here is the call graph for this function:

Field Documentation

◆ $lng

ilLanguage ilPCLayoutTemplateEditorGUI::$lng
protected

Definition at line 26 of file class.ilPCLayoutTemplateEditorGUI.php.

Referenced by getEditComponentForm().


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