| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
User interface class for interactive images. More...
 Inheritance diagram for ilPCInteractiveImageGUI:
 Collaboration diagram for ilPCInteractiveImageGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| executeCommand () | |
| getTabs (bool $a_create=false, bool $a_change_obj_ref=false) | |
| Add tabs to ilTabsGUI object.  More... | |
| insert (string $a_post_cmd="edpost", string $a_submit_cmd="", bool $a_input_error=false) | |
| Insert new media object form.  More... | |
| edit () | |
| editBaseImage () | |
| initForm (string $a_mode="edit") | |
| update () | |
| Update (base image)  More... | |
| centerAlign () | |
| Align media object to center.  More... | |
| leftAlign () | |
| align media object to left  More... | |
| rightAlign () | |
| align media object to right  More... | |
| leftFloatAlign () | |
| align media object to left, floating text  More... | |
| rightFloatAlign () | |
| align media object to right, floating text  More... | |
| listOverlayImages () | |
| addOverlayImages (ilPropertyFormGUI $a_form=null) | |
| initAddOverlaysForm () | |
| uploadOverlayImages () | |
| confirmDeleteOverlays () | |
| deleteOverlays () | |
| addPopup () | |
| savePopups () | |
| confirmPopupDeletion () | |
| deletePopups () | |
| getImportFormAdapter () | |
| handleUploadResult (FileUpload $upload, UploadResult $result) | |
| editor () | |
| getOverlayUploadFormAdapter (array $path=null) | |
| handleOverlayUpload (FileUpload $upload, UploadResult $result) | |
| getPopupFormAdapter () | |
| getBackgroundPropertiesFormAdapter (array $path=null) | |
| handleBackgroundUpload (FileUpload $upload, UploadResult $result) | |
  Public Member Functions inherited from ilPageContentGUI | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0") | |
| setContentObject (ilPageContent $a_val) | |
| getContentObject () | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| setPageConfig (ilPageConfig $a_val) | |
| getPageConfig () | |
| setStyleId (int $a_styleid) | |
| getStyleId () | |
| getStyle () | |
| getCharacteristicsOfCurrentStyle (array $a_type) | |
| Get characteristics of current style and call setCharacteristics, if style is given.  More... | |
| setCharacteristics (array $a_chars) | |
| getCharacteristics () | |
| getHierId () | |
| setHierId (string $a_hier_id) | |
| set hierarchical id in dom object  More... | |
| delete () | |
| displayValidationError () | |
| cancelCreate () | |
| cancel creating page content  More... | |
| cancelUpdate () | |
| cancel update  More... | |
| cancel () | |
| Cancel.  More... | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa  More... | |
| cut () | |
| Cut single element.  More... | |
| copy () | |
| Copy single element.  More... | |
| getTemplateOptions (string $a_type="") | |
| Get table templates.  More... | |
Protected Member Functions | |
| forwardFormToUploadHandler () | |
| initInteractiveImageEditor () | |
  Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
| setEditorToolContext () | |
| initEditor () | |
| getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
Protected Attributes | |
| ILIAS COPage PC InteractiveImage IIMManager | $iim_manager | 
| ILIAS COPage PC InteractiveImage GUIService | $iim_gui | 
| ilTabsGUI | $tabs | 
| ilToolbarGUI | $toolbar | 
  Protected Attributes inherited from ilPageContentGUI | |
| ILIAS COPage Editor GUIService | $editor_gui | 
| ILIAS COPage InternalGUIService | $gui | 
| EditSessionRepository | $edit_repo | 
| string | $pc_id = "" | 
| array | $chars | 
| ilObjStyleSheet | $style = null | 
| LOMServices | $lom_services | 
| ilLogger | $log | 
| int | $styleid = 0 | 
| EditGUIRequest | $request | 
| string | $sub_command = "" | 
| int | $requested_ref_id = 0 | 
| ILIAS GlobalScreen ScreenContext ContextServices | $tool_context | 
| Style Content CharacteristicManager | $char_manager | 
Additional Inherited Members | |
  Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () | 
  Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj | 
| ilGlobalTemplateInterface | $tpl | 
| ilLanguage | $lng | 
| ilCtrl | $ctrl | 
| ilPageObject | $pg_obj | 
| string | $hier_id = "" | 
| DOMDocument | $dom | 
| $updated | |
| string | $target_script = "" | 
| string | $return_location = "" | 
| ilPageConfig | $page_config = null | 
  Static Public Attributes inherited from ilPageContentGUI | |
| static string | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" | 
  Static Protected Attributes inherited from ilPageContentGUI | |
| static array | $common_bb_buttons | 
User interface class for interactive images.
Definition at line 31 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::__construct | ( | ilPageObject | $a_pg_obj, | 
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = ""  | 
        ||
| ) | 
Definition at line 38 of file class.ilPCInteractiveImageGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::addOverlayImages | ( | ilPropertyFormGUI | $a_form = null | ) | 
Definition at line 374 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$tpl, initAddOverlaysForm(), and ilGlobalTemplateInterface\setContent().
Referenced by uploadOverlayImages().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::addPopup | ( | ) | 
Definition at line 522 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::centerAlign | ( | ) | 
Align media object to center.
Definition at line 268 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\getHierId(), ilMediaAliasItem\setHorizontalAlign(), and ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::confirmDeleteOverlays | ( | ) | 
Definition at line 444 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, Vendor\Package\$d, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), ilTabsGUI\setTabActive(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::confirmPopupDeletion | ( | ) | 
Definition at line 547 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, Vendor\Package\$d, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), ilTabsGUI\setTabActive(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::deleteOverlays | ( | ) | 
Definition at line 472 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$content_obj, ilPageContentGUI\$ctrl, Vendor\Package\$f, ilPageContentGUI\$lng, $tabs, $toolbar, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), ilUtil\stripSlashes(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::deletePopups | ( | ) | 
Definition at line 577 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $id, ilPageContentGUI\$lng, and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::edit | ( | ) | 
Definition at line 145 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, and ilCtrl\redirect().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::editBaseImage | ( | ) | 
Definition at line 151 of file class.ilPCInteractiveImageGUI.php.
References $tabs, ilPageContentGUI\$tpl, ilTabsGUI\activateTab(), initForm(), and ilGlobalTemplateInterface\setContent().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::editor | ( | ) | 
Definition at line 622 of file class.ilPCInteractiveImageGUI.php.
References $tabs, ilTabsGUI\activateTab(), ilObjStyleSheet\getBaseContentStylePath(), and initInteractiveImageEditor().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::executeCommand | ( | ) | 
Definition at line 56 of file class.ilPCInteractiveImageGUI.php.
References $tabs, ilPageContentGUI\$tpl, ILIAS\Repository\ctrl(), forwardFormToUploadHandler(), ilUtil\getImagePath(), getTabs(), and ilGlobalTemplateInterface\setTitleIcon().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 83 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$gui, ILIAS\Repository\ctrl(), getBackgroundPropertiesFormAdapter(), getImportFormAdapter(), and getOverlayUploadFormAdapter().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::getBackgroundPropertiesFormAdapter | ( | array | $path = null | ) | 
Definition at line 681 of file class.ilPCInteractiveImageGUI.php.
References Vendor\Package\$f, $path, and ILIAS\Repository\lng().
Referenced by forwardFormToUploadHandler().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::getImportFormAdapter | ( | ) | 
Definition at line 595 of file class.ilPCInteractiveImageGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by forwardFormToUploadHandler(), and ilPCInteractiveImageEditorGUI\getRenderedCreationForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::getOverlayUploadFormAdapter | ( | array | $path = null | ) | 
Definition at line 637 of file class.ilPCInteractiveImageGUI.php.
References Vendor\Package\$f, $path, and ILIAS\Repository\lng().
Referenced by forwardFormToUploadHandler().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::getPopupFormAdapter | ( | ) | 
Definition at line 671 of file class.ilPCInteractiveImageGUI.php.
References Vendor\Package\$f, and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::getTabs | ( | bool | $a_create = false,  | 
        
| bool | $a_change_obj_ref = false  | 
        ||
| ) | 
Add tabs to ilTabsGUI object.
Definition at line 107 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, and ilLanguage\txt().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::handleBackgroundUpload | ( | FileUpload | $upload, | 
| UploadResult | $result | ||
| ) | 
Definition at line 707 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::handleOverlayUpload | ( | FileUpload | $upload, | 
| UploadResult | $result | ||
| ) | 
Definition at line 660 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::handleUploadResult | ( | FileUpload | $upload, | 
| UploadResult | $result | ||
| ) | 
Definition at line 615 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::initAddOverlaysForm | ( | ) | 
Definition at line 387 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, ilFileInputGUI\setSuffixes(), ilTabsGUI\setTabActive(), and ilLanguage\txt().
Referenced by addOverlayImages(), and uploadOverlayImages().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::initForm | ( | string | $a_mode = "edit" | ) | 
Definition at line 161 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPageContentGUI\getHierId(), ILIAS\Repository\lng(), ilImageFileInputGUI\setAllowDeletion(), and ilLanguage\txt().
Referenced by editBaseImage(), insert(), and update().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 631 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\setEditorToolContext().
Referenced by editor().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCInteractiveImageGUI::insert | ( | string | $a_post_cmd = "edpost",  | 
        
| string | $a_submit_cmd = "",  | 
        ||
| bool | $a_input_error = false  | 
        ||
| ) | 
Insert new media object form.
Definition at line 126 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::leftAlign | ( | ) | 
align media object to left
Definition at line 284 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\getHierId(), ilMediaAliasItem\setHorizontalAlign(), and ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::leftFloatAlign | ( | ) | 
align media object to left, floating text
Definition at line 316 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\getHierId(), ilMediaAliasItem\setHorizontalAlign(), and ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::listOverlayImages | ( | ) | 
Definition at line 349 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $tabs, $toolbar, ilPageContentGUI\$tpl, ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::rightAlign | ( | ) | 
align media object to right
Definition at line 300 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\getHierId(), ilMediaAliasItem\setHorizontalAlign(), and ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::rightFloatAlign | ( | ) | 
align media object to right, floating text
Definition at line 332 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\getHierId(), ilMediaAliasItem\setHorizontalAlign(), and ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::savePopups | ( | ) | 
Definition at line 533 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::update | ( | ) | 
Update (base image)
Definition at line 216 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, $location, ilObjMediaObject\_getDirectory(), ilPageContentGUI\getHierId(), ilObjMediaObject\getMimeType(), initForm(), ilFileUtils\moveUploadedFile(), ilMediaAliasItem\setCaption(), and ilLanguage\txt().
 Here is the call graph for this function:| ilPCInteractiveImageGUI::uploadOverlayImages | ( | ) | 
Definition at line 412 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, addOverlayImages(), initAddOverlaysForm(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 34 of file class.ilPCInteractiveImageGUI.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilPCInteractiveImageGUI.php.
      
  | 
  protected | 
Definition at line 35 of file class.ilPCInteractiveImageGUI.php.
Referenced by confirmDeleteOverlays(), confirmPopupDeletion(), deleteOverlays(), editBaseImage(), editor(), executeCommand(), getTabs(), initAddOverlaysForm(), and listOverlayImages().
      
  | 
  protected | 
Definition at line 36 of file class.ilPCInteractiveImageGUI.php.
Referenced by deleteOverlays(), and listOverlayImages().