|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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... | |
| 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 |
| array bool null | $updated = null |
| 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 = "" |
||
| ) |
Reimplemented from ilPageContentGUI.
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::centerAlign | ( | ) |
Align media object to center.
Definition at line 268 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::edit | ( | ) |
Definition at line 145 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::editBaseImage | ( | ) |
Definition at line 151 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::editor | ( | ) |
Definition at line 372 of file class.ilPCInteractiveImageGUI.php.
References ilObjStyleSheet\getBaseContentStylePath().
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 ILIAS\UICore\GlobalTemplate\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 431 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 345 of file class.ilPCInteractiveImageGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by forwardFormToUploadHandler().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImageGUI::getOverlayUploadFormAdapter | ( | ?array | $path = null | ) |
Definition at line 387 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 421 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\$lng, 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 457 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::handleOverlayUpload | ( | FileUpload | $upload, |
| UploadResult | $result | ||
| ) |
Definition at line 410 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::handleUploadResult | ( | FileUpload | $upload, |
| UploadResult | $result | ||
| ) |
Definition at line 365 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::initForm | ( | string | $a_mode = "edit" | ) |
Definition at line 161 of file class.ilPCInteractiveImageGUI.php.
References $lng, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 381 of file class.ilPCInteractiveImageGUI.php.
| 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.
| ilPCInteractiveImageGUI::leftAlign | ( | ) |
align media object to left
Definition at line 284 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::leftFloatAlign | ( | ) |
align media object to left, floating text
Definition at line 316 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::rightAlign | ( | ) |
align media object to right
Definition at line 300 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::rightFloatAlign | ( | ) |
align media object to right, floating text
Definition at line 332 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::update | ( | ) |
Update (base image)
Definition at line 216 of file class.ilPCInteractiveImageGUI.php.
References $lng, $location, ilObjMediaObject\_getDirectory(), ilObjMediaObject\getMimeType(), and ilFileUtils\moveUploadedFile().
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 executeCommand().
|
protected |
Definition at line 36 of file class.ilPCInteractiveImageGUI.php.