| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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 () | |
| 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 | 
| $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 () | |
| 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 | 
| 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 | 
| 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 = ""  | 
        ||
| ) | 
Definition at line 40 of file class.ilPCMediaObjectGUI.php.
References $DIC, ilPageContentGUI\$pc_id, ilPageContentGUI\$request, ILIAS\MetaData\Repository\Validation\Data\__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 1451 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$style, ilObject\_lookupType(), and ilObjStyleSheet\getCharacteristics().
Referenced by 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 1165 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCMediaObjectGUI::changeObjectReference | ( | ) | 
Change object reference.
Definition at line 258 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPageContentGUI\$sub_command, $tabs, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\clearCommandButtons(), ilPageContentGUI\displayValidationError(), ilPropertyFormGUI\getHTML(), getTabs(), insertFromPool(), poolSelection(), selectPool(), ilFormGUI\setFormAction(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 306 of file class.ilPCMediaObjectGUI.php.
References ILIAS\Repository\lng().
Referenced by getEnabledMapAreas().
 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 1215 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$chars, and 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 1153 of file class.ilPCMediaObjectGUI.php.
References $user, ilObjUser\addObjectToClipboard(), 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 ilPageContentGUI\$content_obj, ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPageContentGUI\$pc_id, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilPageContentGUI\getPage(), insert(), ilMediaPoolItem\lookupForeignId(), ilPageContentGUI\redirectToParent(), ilPageContentGUI\setHierId(), and ilLanguage\txt().
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 482 of file class.ilPCMediaObjectGUI.php.
References create().
 Here is the call graph for this function:| 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 ilPageContentGUI\$tpl, getAliasValues(), initAliasForm(), and ilGlobalTemplateInterface\setContent().
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 1230 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilPageContentGUI\displayValidationError(), ilPageContentGUI\getCharacteristics(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), ilPropertyFormGUI\getHTML(), ILIAS\Repository\lng(), ilPageContentGUI\setCharacteristics(), ilGlobalTemplateInterface\setContent(), ilFormGUI\setFormAction(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
Referenced by saveStyle().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::getAliasValues | ( | ) | 
Put alias values into form.
Definition at line 868 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$lng, and ilLanguage\txt().
Referenced by editAlias().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::getEnabledMapAreas | ( | ) | 
Definition at line 124 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$content_obj, $enabledmapareas, ilPageContentGUI\$lng, $tabs, ilPageContentGUI\$tpl, checkFixSize(), ILIAS\Repository\ctrl(), ilPageContentGUI\getCharacteristicsOfCurrentStyle(), ilUtil\getImagePath(), getTabs(), ILIAS\Repository\lng(), ilObjMediaObjectGUI\setBackTitle(), ilGlobalTemplateInterface\setContent(), ilGlobalTemplateInterface\setTitle(), ilGlobalTemplateInterface\setTitleIcon(), and ilLanguage\txt().
Referenced by getTabs().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::getHeader | ( | ) | 
| ilPCMediaObjectGUI::getStyleInput | ( | ) | 
Definition at line 1308 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$chars, ilPageContentGUI\getCharacteristics(), and 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.
Referenced by insertFromPool().
 Here is the caller graph for this function:| ilPCMediaObjectGUI::getTabs | ( | bool | $a_create = false,  | 
        
| bool | $a_change_obj_ref = false  | 
        ||
| ) | 
Definition at line 1363 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$ctrl, $DIC, ilPageContentGUI\$lng, $tabs, ilTabsGUI\addTarget(), checkStyleSelection(), getEnabledMapAreas(), and ilLanguage\txt().
Referenced by changeObjectReference(), getEnabledMapAreas(), 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 609 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$ctrl, $lm_set, ilPageContentGUI\$lng, ilSubEnabledFormPropertyGUI\addSubItem(), ilRadioOption\addSubItem(), ILIAS\Repository\lng(), ilWidthHeightInputGUI\setSupportConstraintsProps(), and ilLanguage\txt().
Referenced by editAlias(), and saveAliasProperties().
 Here is the call graph for this function:
 Here is the caller 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\$ctrl, $form, ilPageContentGUI\$lng, ilPageContentGUI\$sub_command, $tabs, ilPageContentGUI\$tpl, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\clearCommandButtons(), ilPageContentGUI\displayValidationError(), ilPropertyFormGUI\getHTML(), getTabs(), insertFromPool(), poolSelection(), selectPool(), ilGlobalTemplateInterface\setContent(), ilFormGUI\setFormAction(), and ilLanguage\txt().
Referenced by create().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::insertFromPool | ( | bool | $a_change_obj_ref = false | ) | 
Insert media object from pool.
Definition at line 328 of file class.ilPCMediaObjectGUI.php.
References $access, ilPageContentGUI\$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, ilLanguage\loadLanguageModule(), poolSelection(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
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 1175 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCMediaObjectGUI::leftFloatAlign | ( | ) | 
align media object to left, floating text
Definition at line 1195 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCMediaObjectGUI::poolSelection | ( | bool | $a_change_obj_ref = false | ) | 
Pool Selection.
Definition at line 451 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$ctrl, $tabs, ilPageContentGUI\$tpl, getTabs(), and ilGlobalTemplateInterface\setContent().
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 1185 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCMediaObjectGUI::rightFloatAlign | ( | ) | 
align media object to right, floating text
Definition at line 1205 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\updateAndReturn().
 Here is the call graph for this function:| ilPCMediaObjectGUI::saveAliasProperties | ( | ) | 
save table properties in db and return to page edit screen
Definition at line 1034 of file class.ilPCMediaObjectGUI.php.
References $form_gui, ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), editAlias(), ilUtil\extractParameterString(), ilPropertyFormGUI\getInput(), initAliasForm(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilPCMediaObjectGUI::saveStyle | ( | ) | 
Save Style.
Definition at line 1345 of file class.ilPCMediaObjectGUI.php.
References ILIAS\Repository\ctrl(), 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 491 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$ctrl, ilPageContentGUI\$lng, ilMediaPoolItem\lookupForeignId(), and ilLanguage\txt().
 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.
References ilPageContentGUI\$ctrl, and ilCtrl\setParameter().
Referenced by changeObjectReference(), and insert().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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.
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 95 of file class.ilPCMediaObjectGUI.php.
      
  | 
  protected | 
Definition at line 31 of file class.ilPCMediaObjectGUI.php.
Referenced by insertFromPool().
      
  | 
  protected | 
Definition at line 29 of file class.ilPCMediaObjectGUI.php.
Referenced by getEnabledMapAreas().
      
  | 
  protected | 
Definition at line 26 of file class.ilPCMediaObjectGUI.php.
Referenced by insert().
      
  | 
  protected | 
Definition at line 27 of file class.ilPCMediaObjectGUI.php.
Referenced by saveAliasProperties().
| 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.
Referenced by changeObjectReference(), getEnabledMapAreas(), getTabs(), insert(), insertFromPool(), and poolSelection().
      
  | 
  protected | 
Definition at line 32 of file class.ilPCMediaObjectGUI.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilPCMediaObjectGUI.php.
Referenced by insertFromPool().
      
  | 
  protected | 
Definition at line 33 of file class.ilPCMediaObjectGUI.php.
Referenced by copyToClipboard().