|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
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 (string $a_post_cmd="edpost", string $a_submit_cmd="", bool $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 () | |
| 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 () | |
| 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 = "" |
| DOMDocument | $dom |
| array bool null | $updated = null |
| string | $target_script = "" |
| string | $return_location = "" |
| ilPageConfig | $page_config = null |
Protected Member Functions | |
| insert_applyFilter () | |
| insert_resetFilter () | |
| checkFixSize () | |
| getDefaultSize (ilMediaItem $media_item) | |
| Get the size inherited from the media object defaults. More... | |
Protected Member Functions inherited from ilPageContentGUI | |
| redirectToParent (string $hier_id="") | |
| getParentReturn (string $hier_id="") | |
| updateAndReturn () | |
| setCurrentTextLang (string $lang_key) | |
| getCurrentTextLang () | |
| setEditorToolContext () | |
| initEditor () | |
| getEditorScriptTag (string $form_pc_id="", string $form_cname="") | |
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 |
| ILIAS MediaPool InternalGUIService | $media_pool_gui |
| string | $pool_view = "" |
| string | $sub_cmd = "" |
| ILIAS MediaObjects MediaType MediaTypeManager | $media_type |
Protected Attributes inherited from ilPageContentGUI | |
| ILIAS COPage Editor GUIService | $editor_gui |
| ILIAS COPage InternalGUIService | $gui |
| EditSessionRepository | $edit_repo |
| string | $pc_id = "" |
| array | $chars |
| ilObjStyleSheet | $style = null |
| LOMServices | $lom_services |
| ilLogger | $log |
| int | $styleid = 0 |
| EditGUIRequest | $request |
| string | $sub_command = "" |
| int | $requested_ref_id = 0 |
| ILIAS GlobalScreen ScreenContext ContextServices | $tool_context |
| 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 41 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 1443 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 1157 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::changeObjectReference | ( | ) |
Change object reference.
Definition at line 270 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 318 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 1207 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::copyToClipboard | ( | ) |
copy media object to clipboard
Definition at line 1145 of file class.ilPCMediaObjectGUI.php.
References 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 504 of file class.ilPCMediaObjectGUI.php.
References 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 475 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::edit | ( | ) |
edit properties form
Definition at line 581 of file class.ilPCMediaObjectGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPCMediaObjectGUI::editAlias | ( | ) |
Definition at line 589 of file class.ilPCMediaObjectGUI.php.
References ILIAS\News\Common\Table\$tpl, and ILIAS\UICore\GlobalTemplate\setContent().
Here is the call graph for this function:| ilPCMediaObjectGUI::editStyle | ( | ) |
Edit Style.
Definition at line 1222 of file class.ilPCMediaObjectGUI.php.
References $lng, ILIAS\UI\Implementation\Component\Input\Field\$options, ILIAS\News\Common\Table\$tpl, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPropertyFormGUI\getHTML(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\setContent(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Here is the call graph for this function:| ilPCMediaObjectGUI::getAliasValues | ( | ) |
Definition at line 872 of file class.ilPCMediaObjectGUI.php.
References $lng.
|
protected |
Get the size inherited from the media object defaults.
Definition at line 860 of file class.ilPCMediaObjectGUI.php.
References ilMediaItem\getHeight(), ilMediaItem\getOriginalSize(), and ilMediaItem\getWidth().
Here is the call graph for this function:| ilPCMediaObjectGUI::getEnabledMapAreas | ( | ) |
Definition at line 136 of file class.ilPCMediaObjectGUI.php.
References $enabledmapareas.
| ilPCMediaObjectGUI::getHeader | ( | ) |
Definition at line 123 of file class.ilPCMediaObjectGUI.php.
References $header.
| ilPCMediaObjectGUI::getStyleInput | ( | ) |
Definition at line 1297 of file class.ilPCMediaObjectGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCMediaObjectGUI::getSubCmd | ( | ) |
Definition at line 112 of file class.ilPCMediaObjectGUI.php.
References $sub_cmd.
| ilPCMediaObjectGUI::getTabs | ( | bool | $a_create = false, |
| bool | $a_change_obj_ref = false |
||
| ) |
Definition at line 1355 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::initAliasForm | ( | ) |
Init alias form.
Definition at line 601 of file class.ilPCMediaObjectGUI.php.
References $lm_set, $lng, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPCMediaObjectGUI::insert | ( | string | $a_post_cmd = "edpost", |
| string | $a_submit_cmd = "", |
||
| bool | $a_input_error = false |
||
| ) |
Definition at line 209 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$sub_command.
Referenced by insert_applyFilter(), and insert_resetFilter().
Here is the caller graph for this function:
|
protected |
Definition at line 94 of file class.ilPCMediaObjectGUI.php.
References insert().
Here is the call graph for this function:
|
protected |
Definition at line 99 of file class.ilPCMediaObjectGUI.php.
References insert().
Here is the call graph for this function:| ilPCMediaObjectGUI::insertFromPool | ( | bool | $a_change_obj_ref = false | ) |
Insert media object from pool.
Definition at line 340 of file class.ilPCMediaObjectGUI.php.
References Vendor\Package\$f, $lng, ILIAS\News\Common\Table\$tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), and ILIAS\UICore\GlobalTemplate\setContent().
Here is the call graph for this function:| ilPCMediaObjectGUI::leftAlign | ( | ) |
align media object to left
Definition at line 1167 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::leftFloatAlign | ( | ) |
align media object to left, floating text
Definition at line 1187 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::poolSelection | ( | bool | $a_change_obj_ref = false | ) |
Pool Selection.
Definition at line 444 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::rightAlign | ( | ) |
align media object to right
Definition at line 1177 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::rightFloatAlign | ( | ) |
align media object to right, floating text
Definition at line 1197 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::saveAliasProperties | ( | ) |
save table properties in db and return to page edit screen
Definition at line 1026 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 1337 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 484 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 427 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setEnabledMapAreas | ( | bool | $a_enabledmapareas | ) |
Set Enable map areas.
Definition at line 131 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setHeader | ( | string | $a_title = "" | ) |
Definition at line 118 of file class.ilPCMediaObjectGUI.php.
References ILIAS\UI\examples\Symbol\Glyph\Header\header().
Here is the call graph for this function:| ilPCMediaObjectGUI::setSubCmd | ( | string | $a_val | ) |
Set table sub command.
Definition at line 107 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 37 of file class.ilPCMediaObjectGUI.php.
Referenced by getHeader().
|
protected |
Definition at line 35 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 39 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 28 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 36 of file class.ilPCMediaObjectGUI.php.
|
protected |
Definition at line 38 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.