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

Public Member Functions

 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 Member Functions

 getRenderedCreationForm (UIWrapper $ui_wrapper, ilLanguage $lng, ilPageObjectGUI $page_gui)
 

Protected Attributes

ILIAS COPage InternalGUIService $gui
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 27 of file class.ilPCInteractiveImageEditorGUI.php.

Member Function Documentation

◆ getEditComponentForm()

ilPCInteractiveImageEditorGUI::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 69 of file class.ilPCInteractiveImageEditorGUI.php.

75  : string {
76  $html = "";
77  return $html;
78  }

◆ getEditorElements()

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

Definition at line 31 of file class.ilPCInteractiveImageEditorGUI.php.

References $DIC, $lng, getRenderedCreationForm(), and ILIAS\COPage\Editor\Server\UIWrapper\getRenderedIcon().

36  : array {
37  global $DIC;
38  $lng = $DIC->language();
39  $lng->loadLanguageModule("content");
40 
41  $this->gui = $DIC->copage()->internal()->gui();
42 
43  return [
44  "creation_form" => $this->getRenderedCreationForm(
45  $ui_wrapper,
46  $lng,
47  $page_gui
48  ),
49  "icon" => $ui_wrapper->getRenderedIcon("peim")
50  ];
51  }
global $DIC
Definition: shib_login.php:22
getRenderedCreationForm(UIWrapper $ui_wrapper, ilLanguage $lng, ilPageObjectGUI $page_gui)
global $lng
Definition: privfeed.php:31
+ Here is the call graph for this function:

◆ getRenderedCreationForm()

ilPCInteractiveImageEditorGUI::getRenderedCreationForm ( UIWrapper  $ui_wrapper,
ilLanguage  $lng,
ilPageObjectGUI  $page_gui 
)
protected

Definition at line 53 of file class.ilPCInteractiveImageEditorGUI.php.

References ilPCInteractiveImageGUI\getImportFormAdapter(), ilPageObjectGUI\getPageObject(), ILIAS\COPage\Editor\Server\UIWrapper\getRenderedAdapterForm(), null, and ilLanguage\txt().

Referenced by getEditorElements().

57  : string {
58  $iim_gui = new ilPCInteractiveImageGUI($page_gui->getPageObject(), null, "", "");
59  $form = $iim_gui->getImportFormAdapter();
60  $html = $ui_wrapper->getRenderedAdapterForm(
61  $form,
62  [["Page", "component.save", $lng->txt("insert")],
63  ["Page", "component.cancel", $lng->txt("cancel")]
64  ]
65  );
66  return $html;
67  }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
getRenderedAdapterForm(FormAdapterGUI $form, array $buttons, string $id="", bool $in_modal=false)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
User interface class for interactive images.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $gui

ILIAS COPage InternalGUIService ilPCInteractiveImageEditorGUI::$gui
protected

Definition at line 29 of file class.ilPCInteractiveImageEditorGUI.php.


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