ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
User interface class for interactive images. More...
Public Member Functions | |
__construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
executeCommand () | |
execute command More... | |
getTabs (&$tab_gui, $a_create=false, $a_change_obj_ref=false) | |
Add tabs to ilTabsGUI object. More... | |
insert ($a_post_cmd="edpost", $a_submit_cmd="create_mob", $a_input_error=false) | |
Insert new media object form. More... | |
edit () | |
Edit. More... | |
editBaseImage ($a_form=null) | |
Edit base image. More... | |
initForm ($a_mode="edit") | |
Init creation/base image form. More... | |
create () | |
Create new content element. More... | |
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 () | |
List overlay images. More... | |
addOverlayImages ($a_form=null) | |
Add overlay images. More... | |
initAddOverlaysForm () | |
Init add overlays form. More... | |
uploadOverlayImages () | |
Upload overlay images. More... | |
confirmDeleteOverlays () | |
Confirm overlay deletion. More... | |
deleteOverlays () | |
Delete overlays. More... | |
listContentPopups () | |
List content popups. More... | |
addPopup () | |
Add popup. More... | |
savePopups () | |
Save popups. More... | |
confirmPopupDeletion () | |
Confirm popup deletion. More... | |
deletePopups () | |
Delete popups. More... | |
Public Member Functions inherited from ilPageContentGUI | |
__construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
Constructor public. More... | |
setContentObject ($a_val) | |
Set content object. More... | |
getContentObject () | |
Get content object. More... | |
setPage ($a_val) | |
Set page. More... | |
getPage () | |
Get page. More... | |
setPageConfig ($a_val) | |
Set Page Config. More... | |
getPageConfig () | |
Get Page Config. More... | |
setStyleId ($a_styleid) | |
Set Style Id. More... | |
getStyleId () | |
Get Style Id. More... | |
getStyle () | |
Get style object. More... | |
setCharacteristics ($a_chars) | |
Set Characteristics. More... | |
getCharacteristics () | |
Get characteristics. More... | |
getHierId () | |
get hierarchical id in dom object More... | |
setHierId ($a_hier_id) | |
get hierarchical id in dom object More... | |
getBBMenu ($a_ta_name="par_content") | |
Get the bb menu incl. More... | |
delete () | |
delete content element More... | |
moveAfter () | |
move content element after another element More... | |
moveBefore () | |
move content element before another element More... | |
splitPage () | |
split page to new page at specified position More... | |
splitPageNext () | |
split page to next page at specified position More... | |
displayValidationError () | |
display validation errors More... | |
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 ($a_type) | |
Get table templates. More... | |
Protected Attributes | |
$tabs | |
$toolbar | |
Protected Attributes inherited from ilPageContentGUI | |
$error | |
$log | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilPageContentGUI | |
static | _getCommonBBButtons () |
Get common bb buttons. More... | |
Data Fields inherited from ilPageContentGUI | |
$content_obj | |
$tpl | |
$lng | |
$ctrl | |
$pg_obj | |
$hier_id | |
$dom | |
$updated | |
$target_script | |
$return_location | |
$page_config = null | |
Static Public Attributes inherited from ilPageContentGUI | |
static | $style_selector_reset = "margin-top:2px; margin-bottom:2px; text-indent:0px; position:static; float:none; width: auto;" |
Protected Member Functions inherited from ilPageContentGUI | |
getCharacteristicsOfCurrentStyle ($a_type) | |
Get characteristics of current style. More... | |
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 = "" |
|||
) |
ilPCInteractiveImageGUI::addOverlayImages | ( | $a_form = null | ) |
Add overlay images.
Definition at line 484 of file class.ilPCInteractiveImageGUI.php.
References $form, ilPageContentGUI\$tpl, and initAddOverlaysForm().
Referenced by uploadOverlayImages().
ilPCInteractiveImageGUI::addPopup | ( | ) |
Add popup.
Definition at line 662 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, and ilUtil\sendSuccess().
ilPCInteractiveImageGUI::centerAlign | ( | ) |
Align media object to center.
Definition at line 363 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCInteractiveImageGUI::confirmDeleteOverlays | ( | ) |
Confirm overlay deletion.
Definition at line 574 of file class.ilPCInteractiveImageGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $d, $i, $ilCtrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, and ilUtil\sendFailure().
ilPCInteractiveImageGUI::confirmPopupDeletion | ( | ) |
Confirm popup deletion.
Definition at line 693 of file class.ilPCInteractiveImageGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $d, $i, $ilCtrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, and ilUtil\sendFailure().
ilPCInteractiveImageGUI::create | ( | ) |
Create new content element.
Definition at line 258 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $file, $format, $ilCtrl, ilPageContentGUI\$lng, $location, ilObjMediaObject\_getDirectory(), ilObjMediaObject\getMimeType(), ilPageContentGUI\getPage(), insert(), ilUtil\renameExecutables(), ilUtil\sendSuccess(), and ilPageContentGUI\setHierId().
ilPCInteractiveImageGUI::deleteOverlays | ( | ) |
Delete overlays.
Definition at line 605 of file class.ilPCInteractiveImageGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPCInteractiveImageGUI::deletePopups | ( | ) |
Delete popups.
Definition at line 727 of file class.ilPCInteractiveImageGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $id, $ilCtrl, ilPageContentGUI\$lng, and ilUtil\sendSuccess().
ilPCInteractiveImageGUI::edit | ( | ) |
Edit.
Definition at line 173 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$tpl, and array.
ilPCInteractiveImageGUI::editBaseImage | ( | $a_form = null | ) |
Edit base image.
Definition at line 188 of file class.ilPCInteractiveImageGUI.php.
References $form, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, and initForm().
ilPCInteractiveImageGUI::executeCommand | ( | ) |
execute command
Definition at line 46 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$lng, $ret, $tabs, ilPageContentGUI\$tpl, ilUtil\getImagePath(), and getTabs().
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 105 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, and $tabs.
Referenced by executeCommand().
ilPCInteractiveImageGUI::initAddOverlaysForm | ( | ) |
Init add overlays form.
Definition at line 503 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $form, $ilCtrl, ilPageContentGUI\$lng, $tabs, array, and ilFileInputGUI\setSuffixes().
Referenced by addOverlayImages(), and uploadOverlayImages().
ilPCInteractiveImageGUI::initForm | ( | $a_mode = "edit" | ) |
Init creation/base image form.
int | $a_mode | Edit Mode |
Definition at line 206 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $form, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\getHierId(), ilImageFileInputGUI\setImage(), and ilTextInputGUI\setMaxLength().
Referenced by editBaseImage(), and insert().
ilPCInteractiveImageGUI::insert | ( | $a_post_cmd = "edpost" , |
|
$a_submit_cmd = "create_mob" , |
|||
$a_input_error = false |
|||
) |
Insert new media object form.
Definition at line 146 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $form, $ilCtrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), initForm(), and ilUtil\sendInfo().
Referenced by create().
ilPCInteractiveImageGUI::leftAlign | ( | ) |
align media object to left
Definition at line 380 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCInteractiveImageGUI::leftFloatAlign | ( | ) |
align media object to left, floating text
Definition at line 414 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCInteractiveImageGUI::listContentPopups | ( | ) |
List content popups.
Definition at line 630 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, $tab, $tabs, $toolbar, ilPageContentGUI\$tpl, and ilUtil\sendInfo().
ilPCInteractiveImageGUI::listOverlayImages | ( | ) |
List overlay images.
Definition at line 455 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, $tab, $tabs, $toolbar, ilPageContentGUI\$tpl, and ilUtil\sendInfo().
ilPCInteractiveImageGUI::rightAlign | ( | ) |
align media object to right
Definition at line 397 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCInteractiveImageGUI::rightFloatAlign | ( | ) |
align media object to right, floating text
Definition at line 431 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCInteractiveImageGUI::savePopups | ( | ) |
Save popups.
Definition at line 676 of file class.ilPCInteractiveImageGUI.php.
References $_POST, ilPageContentGUI\$ctrl, $ilCtrl, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashesArray().
ilPCInteractiveImageGUI::update | ( | ) |
Update (base image)
Definition at line 316 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $_SESSION, ilPageContentGUI\$ctrl, $file, $format, $ilCtrl, ilPageContentGUI\$lng, $location, ilObjMediaObject\_getDirectory(), ilPageContentGUI\getHierId(), ilObjMediaObject\getMimeType(), ilUtil\sendSuccess(), ilMediaAliasItem\setCaption(), and ilUtil\stripSlashes().
ilPCInteractiveImageGUI::uploadOverlayImages | ( | ) |
Upload overlay images.
Definition at line 537 of file class.ilPCInteractiveImageGUI.php.
References ilPageContentGUI\$ctrl, $form, $ilCtrl, ilPageContentGUI\$lng, $name, $size, addOverlayImages(), initAddOverlaysForm(), and ilUtil\sendSuccess().
|
protected |
Definition at line 24 of file class.ilPCInteractiveImageGUI.php.
Referenced by confirmDeleteOverlays(), confirmPopupDeletion(), editBaseImage(), executeCommand(), getTabs(), initAddOverlaysForm(), insert(), listContentPopups(), and listOverlayImages().
|
protected |
Definition at line 29 of file class.ilPCInteractiveImageGUI.php.
Referenced by listContentPopups(), and listOverlayImages().