ILIAS
release_4-3 Revision
|
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 | |
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. | |
setStyleId ($a_styleid) | |
Set Style Id. | |
getStyleId () | |
Get Style Id. | |
setEnableInternalLinks ($a_val) | |
Set enable internal links. | |
getEnableInternalLinks () | |
Get enable internal links. | |
setEnableKeywords ($a_val) | |
Set enable keywords handling. | |
getEnableKeywords () | |
Get enable keywords handling. | |
setEnableAnchors ($a_val) | |
Set enable anchors. | |
getEnableAnchors () | |
Get enable anchors. | |
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 | |
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().
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().
ilPCInteractiveImageGUI::addPopup | ( | ) |
Add popup.
@return |
Definition at line 587 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, and ilUtil\sendSuccess().
ilPCInteractiveImageGUI::centerAlign | ( | ) |
Align media object to center.
Definition at line 329 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
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().
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().
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(), insert(), ilUtil\moveUploadedFile(), ilUtil\renameExecutables(), ilUtil\sendSuccess(), and ilPageContentGUI\setHierId().
ilPCInteractiveImageGUI::deleteOverlays | ( | ) |
Delete overlays.
Definition at line 538 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $ilCtrl, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilPCInteractiveImageGUI::deletePopups | ( | ) |
Delete popups.
@return |
Definition at line 652 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $ilCtrl, ilPageContentGUI\$lng, and ilUtil\sendSuccess().
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().
& ilPCInteractiveImageGUI::executeCommand | ( | ) |
execute command
Definition at line 29 of file class.ilPCInteractiveImageGUI.php.
References $cmd, ilPageContentGUI\$lng, $ret, 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 88 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, and ilPageContentGUI\$lng.
Referenced by executeCommand().
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().
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().
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().
ilPCInteractiveImageGUI::leftAlign | ( | ) |
align media object to left
Definition at line 341 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
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().
ilPCInteractiveImageGUI::listContentPopups | ( | ) |
List content popups.
Definition at line 564 of file class.ilPCInteractiveImageGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, $tab, ilPageContentGUI\$tpl, and ilUtil\sendInfo().
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().
ilPCInteractiveImageGUI::rightAlign | ( | ) |
align media object to right
Definition at line 353 of file class.ilPCInteractiveImageGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
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().
ilPCInteractiveImageGUI::savePopups | ( | ) |
Save popups.
Definition at line 600 of file class.ilPCInteractiveImageGUI.php.
References $_POST, $ilCtrl, ilPageContentGUI\$lng, ilUtil\sendSuccess(), and ilUtil\stripSlashesArray().
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().
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().