|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilPCMediaObjectGUI:
Collaboration diagram for ilPCMediaObjectGUI:Public Member Functions | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="") | |
| setSubCmd (string $a_val) | |
| Set table sub command. More... | |
| getSubCmd () | |
| setHeader (string $a_title="") | |
| getHeader () | |
| setEnabledMapAreas (bool $a_enabledmapareas) | |
| Set Enable map areas. More... | |
| getEnabledMapAreas () | |
| insert ( $a_post_cmd="edpost", $a_submit_cmd="create_mob", $a_input_error=false) | |
| changeObjectReference () | |
| Change object reference. More... | |
| insertFromPool (bool $a_change_obj_ref=false) | |
| Insert media object from pool. More... | |
| selectPool (bool $a_change_obj_ref=false) | |
| Select concrete pool. More... | |
| poolSelection (bool $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 (bool $a_create_alias=true, bool $a_change_obj_ref=false) | |
| create new media object in dom and update page in db More... | |
| edit () | |
| edit properties form More... | |
| editAlias () | |
| 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 () | |
| saveStyle () | |
| Save Style. More... | |
| getTabs (bool $a_create=false, bool $a_change_obj_ref=false) | |
Public Member Functions inherited from ilPageContentGUI | |
| __construct (ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id="", string $a_pc_id="0") | |
| setContentObject (ilPageContent $a_val) | |
| getContentObject () | |
| setPage (ilPageObject $a_val) | |
| getPage () | |
| setPageConfig (ilPageConfig $a_val) | |
| getPageConfig () | |
| setStyleId (int $a_styleid) | |
| getStyleId () | |
| getStyle () | |
| getCharacteristicsOfCurrentStyle (array $a_type) | |
| Get characteristics of current style and call setCharacteristics, if style is given. More... | |
| setCharacteristics (array $a_chars) | |
| getCharacteristics () | |
| getHierId () | |
| setHierId (string $a_hier_id) | |
| set hierarchical id in dom object More... | |
| delete () | |
| 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 () | |
| 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 (string $a_type="") | |
| Get table templates. More... | |
Static Public Member Functions | |
| static | _getCharacteristics (int $a_style_id) |
| Get characteristics. More... | |
Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () |
Data Fields | |
| string | $header = "" |
Data Fields inherited from ilPageContentGUI | |
| ilPageContent | $content_obj |
| ilGlobalTemplateInterface | $tpl |
| ilLanguage | $lng |
| ilCtrl | $ctrl |
| ilPageObject | $pg_obj |
| string | $hier_id = "" |
| php4DOMDocument | $dom |
| $updated | |
| string | $target_script = "" |
| string | $return_location = "" |
| ilPageConfig | $page_config = null |
Protected Member Functions | |
| checkFixSize () | |
Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
Protected Attributes | |
| ilPropertyFormGUI | $form |
| ilPropertyFormGUI | $form_gui |
| string | $page_back_title = "" |
| bool | $enabledmapareas = false |
| ilTabsGUI | $tabs |
| ilAccessHandler | $access |
| ilToolbarGUI | $toolbar |
| ilObjUser | $user |
| ILIAS DI UIServices | $ui |
| string | $pool_view = "" |
| string | $sub_cmd = "" |
| ILIAS MediaObjects MediaType MediaTypeManager | $media_type |
Protected Attributes inherited from ilPageContentGUI | |
| EditSessionRepository | $edit_repo |
| string | $pc_id = "" |
| array | $chars |
| ilObjStyleSheet | $style = null |
| ilLogger | $log |
| int | $styleid = 0 |
| EditGUIRequest | $request |
| string | $sub_command = "" |
| int | $requested_ref_id = 0 |
| Style Content CharacteristicManager | $char_manager |
Additional Inherited Members | |
Static Public Attributes inherited from ilPageContentGUI | |
| static string | $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 array | $common_bb_buttons |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Editing User Interface for MediaObjects within LMs (see ILIAS DTD)
Definition at line 24 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::__construct | ( | ilPageObject | $a_pg_obj, |
| ?ilPageContent | $a_content_obj, | ||
| string | $a_hier_id, | ||
| string | $a_pc_id = "" |
||
| ) |
Reimplemented from ilPageContentGUI.
Definition at line 40 of file class.ilPCMediaObjectGUI.php.
References $DIC, ilPageContentGUI\$pc_id, ilPageContentGUI\$request, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilPageObject\getHierIdsForPCIds(), ILIAS\Repository\lng(), ilPageContentGUI\setCharacteristics(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Get characteristics.
Definition at line 1449 of file class.ilPCMediaObjectGUI.php.
References ilObject\_lookupType().
Here is the call graph for this function:| ilPCMediaObjectGUI::centerAlign | ( | ) |
align media object to center
Definition at line 1163 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::changeObjectReference | ( | ) |
Change object reference.
Definition at line 258 of file class.ilPCMediaObjectGUI.php.
References $lng, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\clearCommandButtons(), ilPropertyFormGUI\getHTML(), and ilFormGUI\setFormAction().
Here is the call graph for this function:
|
protected |
Definition at line 306 of file class.ilPCMediaObjectGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCMediaObjectGUI::checkStyleSelection | ( | ) |
Checks whether style selection shoudl be available or not.
Definition at line 1213 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::copyToClipboard | ( | ) |
copy media object to clipboard
Definition at line 1151 of file class.ilPCMediaObjectGUI.php.
References $ilUser, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCMediaObjectGUI::create | ( | bool | $a_create_alias = true, |
| bool | $a_change_obj_ref = false |
||
| ) |
create new media object in dom and update page in db
Definition at line 511 of file class.ilPCMediaObjectGUI.php.
References $i, and ilMediaPoolItem\lookupForeignId().
Here is the call graph for this function:| ilPCMediaObjectGUI::createNewObjectReference | ( | ) |
Create new media object and replace currrent media item with it.
(keep all instance parameters)
Definition at line 482 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::edit | ( | ) |
edit properties form
Definition at line 589 of file class.ilPCMediaObjectGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCMediaObjectGUI::editAlias | ( | ) |
Definition at line 597 of file class.ilPCMediaObjectGUI.php.
References $tpl.
| ilPCMediaObjectGUI::editStyle | ( | ) |
Edit Style.
Definition at line 1228 of file class.ilPCMediaObjectGUI.php.
References $lng, $tpl, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPropertyFormGUI\getHTML(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Here is the call graph for this function:| ilPCMediaObjectGUI::getAliasValues | ( | ) |
Put alias values into form.
Definition at line 868 of file class.ilPCMediaObjectGUI.php.
References $lng.
| ilPCMediaObjectGUI::getEnabledMapAreas | ( | ) |
Definition at line 124 of file class.ilPCMediaObjectGUI.php.
References $enabledmapareas.
| ilPCMediaObjectGUI::getHeader | ( | ) |
Definition at line 111 of file class.ilPCMediaObjectGUI.php.
References $header.
| ilPCMediaObjectGUI::getStyleInput | ( | ) |
Definition at line 1306 of file class.ilPCMediaObjectGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCMediaObjectGUI::getSubCmd | ( | ) |
Definition at line 100 of file class.ilPCMediaObjectGUI.php.
References $sub_cmd.
| ilPCMediaObjectGUI::getTabs | ( | bool | $a_create = false, |
| bool | $a_change_obj_ref = false |
||
| ) |
Definition at line 1361 of file class.ilPCMediaObjectGUI.php.
References $format.
| ilPCMediaObjectGUI::initAliasForm | ( | ) |
Init alias form.
Definition at line 609 of file class.ilPCMediaObjectGUI.php.
References $format, $lm_set, $lng, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCMediaObjectGUI::insert | ( | $a_post_cmd = "edpost", |
|
$a_submit_cmd = "create_mob", |
|||
$a_input_error = false |
|||
| ) |
Definition at line 197 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$sub_command.
| ilPCMediaObjectGUI::insertFromPool | ( | bool | $a_change_obj_ref = false | ) |
Insert media object from pool.
Definition at line 328 of file class.ilPCMediaObjectGUI.php.
References Vendor\Package\$f, $lng, $tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), ilMediaPoolTableGUI\IL_MEP_SELECT, and ilMediaPoolTableGUI\IL_MEP_SELECT_SINGLE.
Here is the call graph for this function:| ilPCMediaObjectGUI::leftAlign | ( | ) |
align media object to left
Definition at line 1173 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::leftFloatAlign | ( | ) |
align media object to left, floating text
Definition at line 1193 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::poolSelection | ( | bool | $a_change_obj_ref = false | ) |
Pool Selection.
Definition at line 451 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::rightAlign | ( | ) |
align media object to right
Definition at line 1183 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::rightFloatAlign | ( | ) |
align media object to right, floating text
Definition at line 1203 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::saveAliasProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 1032 of file class.ilPCMediaObjectGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ilUtil\extractParameterString(), ilPropertyFormGUI\getInput(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCMediaObjectGUI::saveStyle | ( | ) |
Save Style.
Definition at line 1343 of file class.ilPCMediaObjectGUI.php.
References ILIAS\Repository\ctrl().
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 491 of file class.ilPCMediaObjectGUI.php.
References $lng, and ilMediaPoolItem\lookupForeignId().
Here is the call graph for this function:| ilPCMediaObjectGUI::selectPool | ( | bool | $a_change_obj_ref = false | ) |
Select concrete pool.
Definition at line 434 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setEnabledMapAreas | ( | bool | $a_enabledmapareas | ) |
Set Enable map areas.
Definition at line 119 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setHeader | ( | string | $a_title = "" | ) |
Definition at line 106 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setSubCmd | ( | string | $a_val | ) |
Set table sub command.
Definition at line 95 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 31 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 29 of file class.ilPCMediaObjectGUI.php.
Referenced by getEnabledMapAreas().
|
protected |
Definition at line 26 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 27 of file class.ilPCMediaObjectGUI.php.
| string ilPCMediaObjectGUI::$header = "" |
Definition at line 36 of file class.ilPCMediaObjectGUI.php.
Referenced by getHeader().
|
protected |
Definition at line 38 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 28 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 35 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 37 of file class.ilPCMediaObjectGUI.php.
Referenced by getSubCmd().
|
protected |
Definition at line 30 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 32 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 34 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 33 of file class.ilPCMediaObjectGUI.php.