|
ILIAS
Release_4_4_x_branch Revision 61816
|
User interface class for interactive images. More...
Inheritance diagram for ilPCInteractiveImageGUI:
Collaboration diagram for ilPCInteractiveImageGUI:Public Member Functions | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| & | executeCommand () |
| execute command | |
| getTabs (&$tab_gui, $a_create=false, $a_change_obj_ref=false) | |
| Add tabs to ilTabsGUI object. | |
| insert ($a_post_cmd="edpost", $a_submit_cmd="create_mob", $a_input_error=false) | |
| Insert new media object form. | |
| edit () | |
| Edit. | |
| editBaseImage ($a_form=null) | |
| Edit base image. | |
| initForm ($a_mode="edit") | |
| Init creation/base image form. | |
| create () | |
| Create new content element. | |
| update () | |
| Update (base image) | |
| centerAlign () | |
| Align media object to center. | |
| leftAlign () | |
| align media object to left | |
| rightAlign () | |
| align media object to right | |
| leftFloatAlign () | |
| align media object to left, floating text | |
| rightFloatAlign () | |
| align media object to right, floating text | |
| listOverlayImages () | |
| List overlay images. | |
| addOverlayImages ($a_form=null) | |
| Add overlay images. | |
| initAddOverlaysForm () | |
| Init add overlays form. | |
| uploadOverlayImages () | |
| Upload overlay images. | |
| confirmDeleteOverlays () | |
| Confirm overlay deletion. | |
| deleteOverlays () | |
| Delete overlays. | |
| listContentPopups () | |
| List content popups. | |
| addPopup () | |
| Add popup. | |
| savePopups () | |
| Save popups. | |
| confirmPopupDeletion () | |
| Confirm popup deletion. | |
| deletePopups () | |
| Delete popups. | |
Public Member Functions inherited from ilPageContentGUI | |
| ilPageContentGUI ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor public. | |
| setContentObject ($a_val) | |
| Set content object. | |
| getContentObject () | |
| Get content object. | |
| setPage ($a_val) | |
| Set page. | |
| getPage () | |
| Get page. | |
| setPageConfig ($a_val) | |
| Set Page Config. | |
| getPageConfig () | |
| Get Page Config. | |
| setStyleId ($a_styleid) | |
| Set Style Id. | |
| getStyleId () | |
| Get Style Id. | |
| getStyle () | |
| Get style object. | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. | |
| getCharacteristics () | |
| Get characteristics. | |
| getHierId () | |
| get hierarchical id in dom object | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object | |
| getBBMenu ($a_ta_name="par_content") | |
| Get the bb menu incl. | |
| delete () | |
| delete content element | |
| moveAfter () | |
| move content element after another element | |
| moveBefore () | |
| move content element before another element | |
| splitPage () | |
| split page to new page at specified position | |
| splitPageNext () | |
| split page to next page at specified position | |
| displayValidationError () | |
| display validation errors | |
| cancelCreate () | |
| cancel creating page content | |
| cancelUpdate () | |
| cancel update | |
| cancel () | |
| Cancel. | |
| deactivate () | |
| gui function set enabled if is not enabled and vice versa | |
| cut () | |
| Cut single element. | |
| copy () | |
| Copy single element. | |
| getTemplateOptions ($a_type) | |
| Get table templates. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $ilias | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. | |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
User interface class for interactive images.
ilPCInteractiveImageGUI: ilPCIIMTriggerEditorGUI
Definition at line 19 of file class.ilPCInteractiveImageGUI.php.
| ilPCInteractiveImageGUI::__construct | ( | $a_pg_obj, | |
| $a_content_obj, | |||
$a_hier_id = 0, |
|||
$a_pc_id = "" |
|||
| ) |
Definition at line 21 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\ilPageContentGUI().
Here is the call graph for this function:| ilPCInteractiveImageGUI::addOverlayImages | ( | $a_form = null | ) |
Add overlay images.
Definition at line 416 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$tpl, and initAddOverlaysForm().
Referenced by uploadOverlayImages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImageGUI::addPopup | ( | ) |
Add popup.
| @return |
Definition at line 587 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPCInteractiveImageGUI::centerAlign | ( | ) |
Align media object to center.
Definition at line 329 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
Here is the call graph for this function:| ilPCInteractiveImageGUI::confirmDeleteOverlays | ( | ) |
Confirm overlay deletion.
Definition at line 506 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $d, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, and ilUtil\sendFailure().
Here is the call graph for this function:| ilPCInteractiveImageGUI::confirmPopupDeletion | ( | ) |
Confirm popup deletion.
Definition at line 617 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $d, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, and ilUtil\sendFailure().
Here is the call graph for this function:| ilPCInteractiveImageGUI::create | ( | ) |
Create new content element.
Definition at line 233 of file class.ilPCInteractiveImageGUI.php.
References $file, $ilCtrl, ilPageContentGUI\$lng, $location, ilObjMediaObject\_getDirectory(), ilObjMediaObject\getMimeType(), ilPageContentGUI\getPage(), insert(), ilUtil\moveUploadedFile(), ilUtil\renameExecutables(), ilUtil\sendSuccess(), and ilPageContentGUI\setHierId().
Here is the call graph for this function:| ilPCInteractiveImageGUI::deleteOverlays | ( | ) |
Delete overlays.
Definition at line 538 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $ilCtrl, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCInteractiveImageGUI::deletePopups | ( | ) |
Delete popups.
| @return |
Definition at line 652 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $ilCtrl, ilPageContentGUI\$lng, and ilUtil\sendSuccess().
Here is the call graph for this function:| ilPCInteractiveImageGUI::edit | ( | ) |
Edit.
Definition at line 152 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, and ilPageContentGUI\$tpl.
| ilPCInteractiveImageGUI::editBaseImage | ( | $a_form = null | ) |
Edit base image.
| @return |
Definition at line 166 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$lng, ilPageContentGUI\$tpl, and initForm().
Here is the call graph for this function:| & ilPCInteractiveImageGUI::executeCommand | ( | ) |
execute command
Definition at line 29 of file class.ilPCInteractiveImageGUI.php.
References $cmd, ilPageContentGUI\$lng, $ret, ilPageContentGUI\$tpl, ilUtil\getImagePath(), and getTabs().
Here is the call graph for this function:| ilPCInteractiveImageGUI::getTabs | ( | & | $tab_gui, |
$a_create = false, |
|||
$a_change_obj_ref = false |
|||
| ) |
Add tabs to ilTabsGUI object.
| object | $tab_gui | ilTabsGUI object |
| boolean | $a_create | new creation true/false |
Definition at line 88 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, and ilPageContentGUI\$lng.
Referenced by executeCommand().
Here is the caller graph for this function:| ilPCInteractiveImageGUI::initAddOverlaysForm | ( | ) |
Init add overlays form.
| @return |
Definition at line 438 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by addOverlayImages(), and uploadOverlayImages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImageGUI::initForm | ( | $a_mode = "edit" | ) |
Init creation/base image form.
| int | $a_mode | Edit Mode |
Definition at line 182 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\getHierId(), ilImageFileInputGUI\setImage(), and ilTextInputGUI\setMaxLength().
Referenced by editBaseImage(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImageGUI::insert | ( | $a_post_cmd = "edpost", |
|
$a_submit_cmd = "create_mob", |
|||
$a_input_error = false |
|||
| ) |
Insert new media object form.
Definition at line 125 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ilUtil\sendInfo().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCInteractiveImageGUI::leftAlign | ( | ) |
align media object to left
Definition at line 341 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
Here is the call graph for this function:| ilPCInteractiveImageGUI::leftFloatAlign | ( | ) |
align media object to left, floating text
Definition at line 365 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
Here is the call graph for this function:| ilPCInteractiveImageGUI::listContentPopups | ( | ) |
List content popups.
Definition at line 564 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, $tab, ilPageContentGUI\$tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilPCInteractiveImageGUI::listOverlayImages | ( | ) |
List overlay images.
| @return |
Definition at line 396 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, $tab, ilPageContentGUI\$tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilPCInteractiveImageGUI::rightAlign | ( | ) |
align media object to right
Definition at line 353 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
Here is the call graph for this function:| ilPCInteractiveImageGUI::rightFloatAlign | ( | ) |
align media object to right, floating text
Definition at line 377 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
Here is the call graph for this function:| ilPCInteractiveImageGUI::savePopups | ( | ) |
Save popups.
Definition at line 600 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $ilCtrl, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashesArray().
Here is the call graph for this function:| ilPCInteractiveImageGUI::update | ( | ) |
Update (base image)
Definition at line 290 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $_SESSION, $file, $ilCtrl, ilPageContentGUI\$lng, $location, ilObjMediaObject\_getDirectory(), ilPageContentGUI\getHierId(), ilObjMediaObject\getMimeType(), ilUtil\moveUploadedFile(), ilUtil\sendSuccess(), ilMediaAliasItem\setCaption(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCInteractiveImageGUI::uploadOverlayImages | ( | ) |
Upload overlay images.
| @return |
Definition at line 470 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, $size, addOverlayImages(), initAddOverlaysForm(), and ilUtil\sendSuccess().
Here is the call graph for this function: