| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilPCMediaObjectGUI. More...
 Inheritance diagram for ilPCMediaObjectGUI:
 Inheritance diagram for ilPCMediaObjectGUI: Collaboration diagram for ilPCMediaObjectGUI:
 Collaboration diagram for ilPCMediaObjectGUI:| 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. | |
| changeObjectReference () | |
| Change object reference. | |
| insertFromPool ($a_change_obj_ref=false) | |
| Insert media object from pool. | |
| selectPool ($a_change_obj_ref=false) | |
| Select concrete pool. | |
| poolSelection ($a_change_obj_ref=false) | |
| Pool Selection. | |
| createNewObjectReference () | |
| Create new media object and replace currrent media item with it. | |
| selectObjectReference () | |
| Create new media object and replace currrent media item with it. | |
| & | create ($a_create_alias=true, $a_change_obj_ref=false) | 
| create new media object in dom and update page in db | |
| editAlias () | |
| edit properties form | |
| initAliasForm () | |
| Init alias form. | |
| getAliasValues () | |
| Put alias values into 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 | |
| checkStyleSelection () | |
| Checks whether style selection shoudl be available or not. | |
| editStyle () | |
| Edit Style. | |
| saveStyle () | |
| Save Style. | |
| getTabs (&$tab_gui, $a_create=false, $a_change_obj_ref=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. | |
| setStyleId ($a_styleid) | |
| Set Style Id. | |
| getStyleId () | |
| Get Style Id. | |
| setEnableInternalLinks ($a_val) | |
| Set enable internal links. | |
| getEnableInternalLinks () | |
| Get enable internal links. | |
| setEnableKeywords ($a_val) | |
| Set enable keywords handling. | |
| getEnableKeywords () | |
| Get enable keywords handling. | |
| setEnableAnchors ($a_val) | |
| Set enable anchors. | |
| getEnableAnchors () | |
| Get enable anchors. | |
| getStyle () | |
| Get style object. | |
| setCharacteristics ($a_chars) | |
| Set Characteristics. | |
| getCharacteristics () | |
| Get characteristics. | |
| getHierId () | |
| get hierarchical id in dom object | |
| setHierId ($a_hier_id) | |
| get hierarchical id in dom object | |
| getBBMenu ($a_ta_name="par_content") | |
| 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 | |
| getTemplateOptions ($a_type) | |
| Get table templates. | |
| 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 | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from ilPageContentGUI | |
| static | _getCommonBBButtons () | 
| Get common bb buttons. | |
|  Protected Member Functions inherited from ilPageContentGUI | |
| getCharacteristicsOfCurrentStyle ($a_type) | |
| Get characteristics of current style. | |
|  Static Protected Attributes inherited from ilPageContentGUI | |
| static | $common_bb_buttons | 
Class ilPCMediaObjectGUI.
Editing User Interface for MediaObjects within LMs (see ILIAS DTD)
ilPCMediaObjectGUI: ilObjMediaObjectGUI, ilPCImageMapEditorGUI
Definition at line 21 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::centerAlign | ( | ) | 
align media object to center
Definition at line 1075 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::changeObjectReference | ( | ) | 
Change object reference.
Definition at line 196 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\displayValidationError(), getTabs(), insertFromPool(), poolSelection(), and selectPool().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::checkStyleSelection | ( | ) | 
Checks whether style selection shoudl be available or not.
Definition at line 1135 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\getCharacteristics().
Referenced by getTabs().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::copyToClipboard | ( | ) | 
copy media object to clipboard
Definition at line 1064 of file class.ilPCMediaObjectGUI.php.
References ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| & 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 417 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_POST, ilPageContentGUI\$content_obj, $ilCtrl, ilPageContentGUI\$lng, insert(), ilMediaPoolItem\lookupForeignId(), ilUtil\sendSuccess(), ilPageContentGUI\setHierId(), and ilObjMediaObjectGUI\setObjectPerCreationForm().
Referenced by createNewObjectReference().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 384 of file class.ilPCMediaObjectGUI.php.
References create().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::editAlias | ( | ) | 
edit properties form
Definition at line 494 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::editStyle | ( | ) | 
Edit Style.
Definition at line 1151 of file class.ilPCMediaObjectGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, $ret, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), and ilPageContentGUI\getCharacteristics().
Referenced by saveStyle().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| & ilPCMediaObjectGUI::executeCommand | ( | ) | 
execute command
Definition at line 72 of file class.ilPCMediaObjectGUI.php.
References $cmd, ilPageContentGUI\$lng, $ret, ilPageContentGUI\$tpl, ilPageContentGUI\getCharacteristicsOfCurrentStyle(), getEnabledMapAreas(), ilUtil\getImagePath(), getTabs(), and ilObjMediaObjectGUI\setBackTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::getAliasValues | ( | ) | 
Put alias values into form.
Definition at line 741 of file class.ilPCMediaObjectGUI.php.
References ilPageContentGUI\$lng, ilObjMediaObject\_useAutoStartParameterOnly(), ilMediaAliasItem\getCaption(), ilMediaAliasItem\getHeight(), ilPageContentGUI\getHierId(), ilMediaAliasItem\getParameterString(), ilMediaAliasItem\getTextRepresentation(), and ilMediaAliasItem\getWidth().
Referenced by editAlias().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::getEnabledMapAreas | ( | ) | 
Get Enable map areas.
Definition at line 64 of file class.ilPCMediaObjectGUI.php.
Referenced by executeCommand(), and getTabs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::getHeader | ( | ) | 
Definition at line 44 of file class.ilPCMediaObjectGUI.php.
References $header.
| 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 1227 of file class.ilPCMediaObjectGUI.php.
References $cmd, $ilCtrl, checkStyleSelection(), and getEnabledMapAreas().
Referenced by changeObjectReference(), executeCommand(), insert(), insertFromPool(), and poolSelection().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::ilPCMediaObjectGUI | ( | & | $a_pg_obj, | 
| & | $a_content_obj, | ||
| $a_hier_id = 0, | |||
| $a_pc_id = "" | |||
| ) | 
Definition at line 26 of file class.ilPCMediaObjectGUI.php.
References $ilCtrl, ilPageContentGUI\ilPageContentGUI(), and ilPageContentGUI\setCharacteristics().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::initAliasForm | ( | ) | 
Init alias form.
Definition at line 506 of file class.ilPCMediaObjectGUI.php.
References $ilCtrl, ilPageContentGUI\$lng, $title, ilObjMediaObject\_getSimpleMimeTypes(), ilObjMediaObject\_useAutoStartParameterOnly(), ilSubEnabledFormPropertyGUI\addSubItem(), ilRadioOption\addSubItem(), ilMediaAliasItem\getHeight(), ilPageContentGUI\getHierId(), ilMediaAliasItem\getParameters(), and ilWidthHeightInputGUI\setConstrainProportions().
Referenced by editAlias().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::insert | ( | $a_post_cmd = "edpost", | |
| $a_submit_cmd = "create_mob" | |||
| ) | 
Insert new media object form.
Definition at line 138 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilPageContentGUI\displayValidationError(), getTabs(), insertFromPool(), poolSelection(), and selectPool().
Referenced by create().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 251 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, $ilCtrl, ilPageContentGUI\$lng, ilPageContentGUI\$tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::leftAlign | ( | ) | 
align media object to left
Definition at line 1087 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::leftFloatAlign | ( | ) | 
align media object to left, floating text
Definition at line 1111 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::poolSelection | ( | $a_change_obj_ref = false | ) | 
Pool Selection.
Definition at line 323 of file class.ilPCMediaObjectGUI.php.
References $_GET, $ilCtrl, ilPageContentGUI\$tpl, getTabs(), and IL_FM_POSITIVE.
Referenced by changeObjectReference(), insert(), and insertFromPool().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPCMediaObjectGUI::rightAlign | ( | ) | 
align media object to right
Definition at line 1099 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::rightFloatAlign | ( | ) | 
align media object to right, floating text
Definition at line 1123 of file class.ilPCMediaObjectGUI.php.
References $_SESSION, ilPageContentGUI\getHierId(), and ilMediaAliasItem\setHorizontalAlign().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::saveAliasProperties | ( | ) | 
save table properties in db and return to page edit screen
Definition at line 910 of file class.ilPCMediaObjectGUI.php.
References $_POST, ilObjMediaObject\_useAutoStartParameterOnly(), ilMediaAliasItem\delete(), ilMediaAliasItem\deriveCaption(), ilMediaAliasItem\deriveParameters(), ilMediaAliasItem\deriveSize(), ilMediaAliasItem\deriveTextRepresentation(), editAlias(), ilMediaAliasItem\exists(), ilUtil\extractParameterString(), ilPageContentGUI\getHierId(), ilMediaAliasItem\insert(), ilMediaAliasItem\setCaption(), ilMediaAliasItem\setHeight(), ilMediaAliasItem\setParameters(), ilMediaAliasItem\setTextRepresentation(), ilMediaAliasItem\setWidth(), and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::saveStyle | ( | ) | 
Save Style.
Definition at line 1206 of file class.ilPCMediaObjectGUI.php.
References $_POST, and editStyle().
 Here is the call graph for this function:
 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 393 of file class.ilPCMediaObjectGUI.php.
References $_POST, $ilCtrl, ilPageContentGUI\$lng, ilMediaPoolItem\lookupForeignId(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPCMediaObjectGUI::selectPool | ( | $a_change_obj_ref = false | ) | 
Select concrete pool.
Definition at line 304 of file class.ilPCMediaObjectGUI.php.
References $_GET, $_SESSION, and $ilCtrl.
Referenced by changeObjectReference(), and insert().
 Here is the caller graph for this function:
 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 54 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::setHeader | ( | $a_title = "" | ) | 
Definition at line 39 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::$ctrl | 
Definition at line 24 of file class.ilPCMediaObjectGUI.php.
| ilPCMediaObjectGUI::$header | 
Definition at line 23 of file class.ilPCMediaObjectGUI.php.
Referenced by getHeader().