|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilPCMediaObjectGUI. More...
Inheritance diagram for ilPCMediaObjectGUI:
Collaboration diagram for ilPCMediaObjectGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| setSubCmd ($a_val) | |
| Set table sub command. More... | |
| getSubCmd () | |
| Get table sub command. More... | |
| setHeader ($a_title="") | |
| getHeader () | |
| setEnabledMapAreas ($a_enabledmapareas) | |
| Set Enable map areas. More... | |
| getEnabledMapAreas () | |
| Get Enable map areas. More... | |
| executeCommand () | |
| execute command More... | |
| insert ($a_post_cmd="edpost", $a_submit_cmd="create_mob", $a_input_error=false) | |
| Insert new media object form. More... | |
| changeObjectReference () | |
| Change object reference. More... | |
| insertFromPool ($a_change_obj_ref=false) | |
| Insert media object from pool. More... | |
| selectPool ($a_change_obj_ref=false) | |
| Select concrete pool. More... | |
| poolSelection ($a_change_obj_ref=false) | |
| Pool Selection. More... | |
| createNewObjectReference () | |
| Create new media object and replace currrent media item with it. More... | |
| selectObjectReference () | |
| Create new media object and replace currrent media item with it. More... | |
| & | create ($a_create_alias=true, $a_change_obj_ref=false) |
| create new media object in dom and update page in db More... | |
| edit () | |
| edit properties form More... | |
| editAlias () | |
| edit properties form More... | |
| initAliasForm () | |
| Init alias form. More... | |
| getAliasValues () | |
| Put alias values into form. More... | |
| saveAliasProperties () | |
| save table properties in db and return to page edit screen More... | |
| copyToClipboard () | |
| copy media object to clipboard 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... | |
| checkStyleSelection () | |
| Checks whether style selection shoudl be available or not. More... | |
| editStyle () | |
| Edit Style. More... | |
| getStyleInput () | |
| Get style input. More... | |
| saveStyle () | |
| Save Style. More... | |
| getTabs (&$tab_gui, $a_create=false, $a_change_obj_ref=false) | |
| add tabs to ilTabsGUI object More... | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct ($a_pg_obj, $a_content_obj, $a_hier_id=0, $a_pc_id="") | |
| Constructor @access 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... | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. 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... | |
Static Public Member Functions | |
| static | _getCharacteristics ($a_style_id) |
| Get characteristics. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
| Get common bb buttons. More... | |
Data Fields | |
| $header | |
| $ctrl | |
Data Fields inherited from ilPageContentGUI | |
| $content_obj | |
| $tpl | |
| $lng | |
| $ctrl | |
| $pg_obj | |
| $hier_id | |
| $dom | |
| $updated | |
| $target_script | |
| $return_location | |
| $page_config = null | |
Protected Member Functions | |
| checkFixSize () | |
| Check fix size. More... | |
Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent ($hier_id="") | |
| Redirect to parent. More... | |
| getParentReturn ($hier_id="") | |
Protected Attributes | |
| $tabs | |
| $access | |
| $toolbar | |
| $user | |
| $ui | |
| $pool_view | |
| $sub_cmd | |
| $media_type | |
Protected Attributes inherited from ilPageContentGUI | |
| $error | |
| $log | |
Additional Inherited Members | |
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;" |
Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons |
Class ilPCMediaObjectGUI.
Editing User Interface for MediaObjects within LMs (see ILIAS DTD)
@ilCtrl_Calls ilPCMediaObjectGUI: ilObjMediaObjectGUI, ilPCImageMapEditorGUI
Definition at line 21 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| $a_content_obj, | |||
$a_hier_id = 0, |
|||
$a_pc_id = "" |
|||
| ) |
Definition at line 66 of file class.ilPCMediaObjectGUI.php.
References $_GET, $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilPageObject\getHierIdsForPCIds(), ilPageContentGUI\setCharacteristics(), ui(), and user().
Here is the call graph for this function:
|
static |
Get characteristics.
Definition at line 1442 of file class.ilPCMediaObjectGUI.php.
References ilObject\_lookupType().
Referenced by ILIAS\COPage\Editor\Components\MediaObject\MediaObjectStyleSelector\getStyleSelector().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::centerAlign | ( | ) |
align media object to center
Definition at line 1173 of file class.ilPCMediaObjectGUI.php.
References $_SESSION.
| ilPCMediaObjectGUI::changeObjectReference | ( | ) |
Change object reference.
Definition at line 285 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, $ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\displayValidationError(), getTabs(), insertFromPool(), poolSelection(), and selectPool().
Here is the call graph for this function:
|
protected |
Check fix size.
Definition at line 338 of file class.ilPCMediaObjectGUI.php.
References $ok, and ilUtil\sendFailure().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 1228 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\getCharacteristics().
Referenced by getTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::copyToClipboard | ( | ) |
copy media object to clipboard
Definition at line 1161 of file class.ilPCMediaObjectGUI.php.
| & ilPCMediaObjectGUI::create | ( | $a_create_alias = true, |
|
$a_change_obj_ref = false |
|||
| ) |
create new media object in dom and update page in db
Definition at line 550 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_POST, ilPageContentGUI\$content_obj, $ctrl, $i, ilPageContentGUI\$lng, ilPageContentGUI\getPage(), insert(), ilMediaPoolItem\lookupForeignId(), ilPageContentGUI\redirectToParent(), ilPageContentGUI\setHierId(), and ilObjMediaObjectGUI\setObjectPerCreationForm().
Referenced by createNewObjectReference().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::createNewObjectReference | ( | ) |
Create new media object and replace currrent media item with it.
(keep all instance parameters)
Definition at line 520 of file class.ilPCMediaObjectGUI.php.
References create().
Here is the call graph for this function:| ilPCMediaObjectGUI::edit | ( | ) |
edit properties form
Definition at line 626 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::editAlias | ( | ) |
edit properties form
Definition at line 637 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$tpl, getAliasValues(), and initAliasForm().
Referenced by saveAliasProperties().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::editStyle | ( | ) |
Edit Style.
Definition at line 1243 of file class.ilPCMediaObjectGUI.php.
References $ctrl, ilPageContentGUI\$lng, $ret, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), and ilPageContentGUI\getCharacteristics().
Referenced by saveStyle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::executeCommand | ( | ) |
execute command
Definition at line 158 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$lng, $ret, $tabs, ilPageContentGUI\$tpl, checkFixSize(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), getEnabledMapAreas(), ilUtil\getImagePath(), and getTabs().
Here is the call graph for this function:| ilPCMediaObjectGUI::getAliasValues | ( | ) |
Put alias values into form.
Definition at line 904 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$lng.
Referenced by editAlias().
Here is the caller graph for this function:| ilPCMediaObjectGUI::getEnabledMapAreas | ( | ) |
Get Enable map areas.
Definition at line 150 of file class.ilPCMediaObjectGUI.php.
Referenced by executeCommand(), and getTabs().
Here is the caller graph for this function:| ilPCMediaObjectGUI::getHeader | ( | ) |
| ilPCMediaObjectGUI::getStyleInput | ( | ) |
Get style input.
return
Definition at line 1301 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\getCharacteristics().
Here is the call graph for this function:| ilPCMediaObjectGUI::getSubCmd | ( | ) |
Get table sub command.
Definition at line 119 of file class.ilPCMediaObjectGUI.php.
References $sub_cmd.
Referenced by insertFromPool().
Here is the caller graph for this function:| ilPCMediaObjectGUI::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 1356 of file class.ilPCMediaObjectGUI.php.
References $ctrl, $format, $tabs, checkStyleSelection(), and getEnabledMapAreas().
Referenced by changeObjectReference(), executeCommand(), insert(), insertFromPool(), and poolSelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::initAliasForm | ( | ) |
Init alias form.
Definition at line 649 of file class.ilPCMediaObjectGUI.php.
References $ctrl, $format, $lm_set, and ilPageContentGUI\$lng.
Referenced by editAlias().
Here is the caller graph for this function:| ilPCMediaObjectGUI::insert | ( | $a_post_cmd = "edpost", |
|
$a_submit_cmd = "create_mob", |
|||
$a_input_error = false |
|||
| ) |
Insert new media object form.
Definition at line 225 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, $ctrl, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), getTabs(), insertFromPool(), poolSelection(), and selectPool().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::insertFromPool | ( | $a_change_obj_ref = false | ) |
Insert media object from pool.
Definition at line 360 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, $access, $ctrl, Vendor\Package\$f, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, $ui, ilObject\_lookupObjId(), ilObject\_lookupType(), getSubCmd(), getTabs(), ilMediaPoolTableGUI\IL_MEP_SELECT, ilMediaPoolTableGUI\IL_MEP_SELECT_SINGLE, and poolSelection().
Referenced by changeObjectReference(), and insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::leftAlign | ( | ) |
align media object to left
Definition at line 1184 of file class.ilPCMediaObjectGUI.php.
References $_SESSION.
| ilPCMediaObjectGUI::leftFloatAlign | ( | ) |
align media object to left, floating text
Definition at line 1206 of file class.ilPCMediaObjectGUI.php.
References $_SESSION.
| ilPCMediaObjectGUI::poolSelection | ( | $a_change_obj_ref = false | ) |
Pool Selection.
Definition at line 487 of file class.ilPCMediaObjectGUI.php.
References $ctrl, $tabs, ilPageContentGUI\$tpl, and getTabs().
Referenced by changeObjectReference(), insert(), and insertFromPool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPCMediaObjectGUI::rightAlign | ( | ) |
align media object to right
Definition at line 1195 of file class.ilPCMediaObjectGUI.php.
References $_SESSION.
| ilPCMediaObjectGUI::rightFloatAlign | ( | ) |
align media object to right, floating text
Definition at line 1217 of file class.ilPCMediaObjectGUI.php.
References $_SESSION.
| ilPCMediaObjectGUI::saveAliasProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 1046 of file class.ilPCMediaObjectGUI.php.
References $_POST, editAlias(), ilUtil\extractParameterString(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilPCMediaObjectGUI::saveStyle | ( | ) |
Save Style.
Definition at line 1338 of file class.ilPCMediaObjectGUI.php.
References $_POST, and editStyle().
Here is the call graph for this function:| ilPCMediaObjectGUI::selectObjectReference | ( | ) |
Create new media object and replace currrent media item with it.
(keep all instance parameters)
Definition at line 529 of file class.ilPCMediaObjectGUI.php.
References $_POST, $ctrl, ilPageContentGUI\$lng, ilMediaPoolItem\lookupForeignId(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilPCMediaObjectGUI::selectPool | ( | $a_change_obj_ref = false | ) |
Select concrete pool.
Definition at line 471 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, and $ctrl.
Referenced by changeObjectReference(), and insert().
Here is the caller graph for this function:| ilPCMediaObjectGUI::setEnabledMapAreas | ( | $a_enabledmapareas | ) |
Set Enable map areas.
| boolean | $a_enabledmapareas | Enable map areas |
Definition at line 140 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setHeader | ( | $a_title = "" | ) |
Definition at line 125 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setSubCmd | ( | $a_val | ) |
Set table sub command.
| string | $a_val | command |
Definition at line 109 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 31 of file class.ilPCMediaObjectGUI.php.
Referenced by insertFromPool().
| ilPCMediaObjectGUI::$ctrl |
Definition at line 54 of file class.ilPCMediaObjectGUI.php.
Referenced by changeObjectReference(), create(), editStyle(), getTabs(), initAliasForm(), insert(), insertFromPool(), poolSelection(), selectObjectReference(), and selectPool().
| ilPCMediaObjectGUI::$header |
Definition at line 53 of file class.ilPCMediaObjectGUI.php.
Referenced by getHeader().
|
protected |
Definition at line 64 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 51 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 59 of file class.ilPCMediaObjectGUI.php.
Referenced by getSubCmd().
|
protected |
Definition at line 26 of file class.ilPCMediaObjectGUI.php.
Referenced by changeObjectReference(), executeCommand(), getTabs(), insert(), insertFromPool(), and poolSelection().
|
protected |
Definition at line 36 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 46 of file class.ilPCMediaObjectGUI.php.
Referenced by insertFromPool().
|
protected |
Definition at line 41 of file class.ilPCMediaObjectGUI.php.
Referenced by copyToClipboard().