ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilPCMediaObjectGUI. More...
Public Member Functions | |
ilPCMediaObjectGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
setHeader ($a_title="") | |
getHeader () | |
setEnabledMapAreas ($a_enabledmapareas) | |
Set Enable map areas. | |
getEnabledMapAreas () | |
Get Enable map areas. | |
& | executeCommand () |
execute command | |
insert ($a_post_cmd="edpost", $a_submit_cmd="create_mob") | |
insert new media object form | |
insertFromPool ($a_post_cmd="edpost", $a_submit_cmd="create_mob") | |
Insert media object from pool. | |
selectPool () | |
Select concrete pool. | |
poolSelection () | |
Pool Selection. | |
& | create ($a_create_alias=true) |
create new media object in dom and update page in db | |
editAlias () | |
edit properties form | |
saveAliasProperties () | |
save table properties in db and return to page edit screen | |
copyToClipboard () | |
copy media object to clipboard | |
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 | |
getTabs (&$tab_gui, $a_create=false) | |
add tabs to ilTabsGUI object | |
Public Member Functions inherited from ilPageContentGUI | |
ilPageContentGUI (&$a_pg_obj, &$a_content_obj, $a_hier_id=0, $a_pc_id="") | |
Constructor public. | |
getHierId () | |
get hierarchical id in dom object | |
setHierId ($a_hier_id) | |
get hierarchical id in dom object | |
getBBMenu () | |
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 | |
deactivate () | |
gui function set enabled if is not enabled and vice versa |
Data Fields | |
$header | |
$ctrl | |
Data Fields inherited from ilPageContentGUI | |
$content_obj | |
$ilias | |
$tpl | |
$lng | |
$ctrl | |
$pg_obj | |
$hier_id | |
$dom | |
$updated | |
$target_script | |
$return_location |
Class ilPCMediaObjectGUI.
Editing User Interface for MediaObjects within LMs (see ILIAS DTD)
ilPCMediaObjectGUI: ilObjMediaObjectGUI, ilPCImageMapEditorGUI
Definition at line 41 of file class.ilPCMediaObjectGUI.php.
ilPCMediaObjectGUI::centerAlign | ( | ) |
align media object to center
Definition at line 842 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCMediaObjectGUI::copyToClipboard | ( | ) |
copy media object to clipboard
Definition at line 831 of file class.ilPCMediaObjectGUI.php.
References ilUtil\sendInfo().
& ilPCMediaObjectGUI::create | ( | $a_create_alias = true | ) |
create new media object in dom and update page in db
Definition at line 318 of file class.ilPCMediaObjectGUI.php.
References $_GET, ilPageContentGUI\$content_obj, $file, $ilCtrl, $location, $size, $title, ilObjMediaObject\_getDirectory(), ilObjMediaObject\_resizeImage(), ilUtil\deducibleSize(), ilObjMediaObject\getMimeType(), insert(), ilUtil\moveUploadedFile(), ilUtil\renameExecutables(), and ilUtil\stripSlashes().
ilPCMediaObjectGUI::editAlias | ( | ) |
edit properties form
Definition at line 563 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\displayValidationError(), ilMediaAliasItem\getCaption(), ilMediaAliasItem\getHeight(), ilPageContentGUI\getHierId(), ilMediaAliasItem\getParameterString(), and ilMediaAliasItem\getWidth().
Referenced by saveAliasProperties().
& ilPCMediaObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 89 of file class.ilPCMediaObjectGUI.php.
References $cmd, ilPageContentGUI\$lng, $ret, ilPageContentGUI\$tpl, getEnabledMapAreas(), ilUtil\getImagePath(), getTabs(), and ilObjMediaObjectGUI\setBackTitle().
ilPCMediaObjectGUI::getEnabledMapAreas | ( | ) |
Get Enable map areas.
Definition at line 81 of file class.ilPCMediaObjectGUI.php.
Referenced by executeCommand(), and getTabs().
ilPCMediaObjectGUI::getHeader | ( | ) |
Definition at line 61 of file class.ilPCMediaObjectGUI.php.
References $header.
ilPCMediaObjectGUI::getTabs | ( | & | $tab_gui, |
$a_create = false |
|||
) |
add tabs to ilTabsGUI object
object | $tab_gui | ilTabsGUI object |
boolean | $a_create | new creation true/false |
Definition at line 905 of file class.ilPCMediaObjectGUI.php.
References $ilCtrl, and getEnabledMapAreas().
Referenced by executeCommand(), insert(), insertFromPool(), and poolSelection().
ilPCMediaObjectGUI::ilPCMediaObjectGUI | ( | & | $a_pg_obj, |
& | $a_content_obj, | ||
$a_hier_id = 0 , |
|||
$a_pc_id = "" |
|||
) |
Definition at line 46 of file class.ilPCMediaObjectGUI.php.
References $ilCtrl, and ilPageContentGUI\ilPageContentGUI().
ilPCMediaObjectGUI::insert | ( | $a_post_cmd = "edpost" , |
|
$a_submit_cmd = "create_mob" |
|||
) |
insert new media object form
Definition at line 149 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, ilPageContentGUI\displayValidationError(), getTabs(), insertFromPool(), poolSelection(), and selectPool().
Referenced by create().
ilPCMediaObjectGUI::insertFromPool | ( | $a_post_cmd = "edpost" , |
|
$a_submit_cmd = "create_mob" |
|||
) |
Insert media object from pool.
Definition at line 222 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), getTabs(), ilMediaPoolTableGUI\IL_MEP_SELECT, and poolSelection().
Referenced by insert().
ilPCMediaObjectGUI::leftAlign | ( | ) |
align media object to left
Definition at line 854 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCMediaObjectGUI::leftFloatAlign | ( | ) |
align media object to left, floating text
Definition at line 878 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCMediaObjectGUI::poolSelection | ( | ) |
Pool Selection.
Definition at line 273 of file class.ilPCMediaObjectGUI.php.
References $_GET, $ilCtrl, ilPageContentGUI\$tpl, getTabs(), and IL_FM_POSITIVE.
Referenced by insert(), and insertFromPool().
ilPCMediaObjectGUI::rightAlign | ( | ) |
align media object to right
Definition at line 866 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCMediaObjectGUI::rightFloatAlign | ( | ) |
align media object to right, floating text
Definition at line 890 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
ilPCMediaObjectGUI::saveAliasProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 729 of file class.ilPCMediaObjectGUI.php.
References ilMediaAliasItem\delete(), ilMediaAliasItem\deriveCaption(), ilMediaAliasItem\deriveParameters(), ilMediaAliasItem\deriveSize(), editAlias(), ilMediaAliasItem\exists(), ilUtil\extractParameterString(), ilPageContentGUI\getHierId(), ilMediaAliasItem\insert(), ilMediaAliasItem\setCaption(), ilMediaAliasItem\setHeight(), ilMediaAliasItem\setParameters(), ilMediaAliasItem\setWidth(), and ilUtil\stripSlashes().
ilPCMediaObjectGUI::selectPool | ( | ) |
Select concrete pool.
Definition at line 261 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, and $ilCtrl.
Referenced by insert().
ilPCMediaObjectGUI::setEnabledMapAreas | ( | $a_enabledmapareas | ) |
Set Enable map areas.
boolean | $a_enabledmapareas | Enable map areas |
Definition at line 71 of file class.ilPCMediaObjectGUI.php.
ilPCMediaObjectGUI::setHeader | ( | $a_title = "" | ) |
Definition at line 56 of file class.ilPCMediaObjectGUI.php.
ilPCMediaObjectGUI::$ctrl |
Definition at line 44 of file class.ilPCMediaObjectGUI.php.
ilPCMediaObjectGUI::$header |
Definition at line 43 of file class.ilPCMediaObjectGUI.php.
Referenced by getHeader().