ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
New implementation of ilObjectGUI. More...
Public Member Functions | |
__construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
Constructor. More... | |
executeCommand () | |
execute command More... | |
delete () | |
Display delete confirmation form (repository/workspace switch) More... | |
confirmedDelete () | |
Delete objects (repository/workspace switch) More... | |
getHTML () | |
withReferences () | |
Final/Private declaration of unchanged parent methods. More... | |
setCreationMode ($a_mode=true) | |
getCreationMode () | |
prepareOutput ($a_show_subobjects=true) | |
isVisible ($a_ref_id, $a_type) | |
trash () | |
undelete () | |
cancelDelete () | |
removeFromSystem () | |
cloneAll () | |
view () | |
view object content (repository/workspace switch) More... | |
getType () | |
Functions that must be overwritten. More... | |
create () | |
Deleted in ilObject. More... | |
save () | |
edit () | |
update () | |
cancel () | |
importFile () | |
Import. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
Public Member Functions inherited from ilObjectGUI | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
Static Public Member Functions | |
static | handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id) |
After creation callback. More... | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Data Fields | |
$tree | |
const | OBJECT_ID = 0 |
const | REPOSITORY_NODE_ID = 1 |
const | WORKSPACE_NODE_ID = 2 |
const | REPOSITORY_OBJECT_ID = 3 |
const | WORKSPACE_OBJECT_ID = 4 |
const | PORTFOLIO_OBJECT_ID = 5 |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Member Functions | |
afterConstructor () | |
Do anything that should be done after constructor in here. More... | |
assignObject () | |
create object instance as internal property (repository/workspace switch) More... | |
getAccessHandler () | |
Get access handler. More... | |
setLocator () | |
set Locator More... | |
deleteConfirmation () | |
Display delete confirmation form (workspace specific) More... | |
deleteConfirmedObjects () | |
Delete objects (workspace specific) More... | |
setTitleAndDescription () | |
showUpperIcon () | |
omitLocator ($a_omit=true) | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
setTargetFrame ($a_cmd, $a_target_frame) | |
getCenterColumnHTML () | |
getRightColumnHTML () | |
setColumnSettings (ilColumnGUI $column_gui) | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
showPossibleSubObjects () | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
searchCloneSource () | |
buildCloneSelect ($existing_objs) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
setTabs () | |
create tabs (repository/workspace switch) More... | |
getReturnLocation ($a_cmd, $a_location="") | |
Deprecated functions. More... | |
setReturnLocation ($a_cmd, $a_location) | |
showActions () | |
getTabs () | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
addLocatorItems () | |
Functions to be overwritten. More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
Check permission. More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
redrawHeaderAction () | |
Updating icons after ajax call. More... | |
getPermanentLinkWidget ($a_append=null, $a_center=false) | |
handleAutoRating (ilObject $a_new_obj) | |
Protected Member Functions inherited from ilObjectGUI | |
getObjectService () | |
Get object service. More... | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table More... | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More... | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Protected Attributes | |
$object_id | |
$node_id | |
$creation_forms = array() | |
$id_type = array() | |
$parent_id | |
$access_handler | |
Protected Attributes inherited from ilObjectGUI | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
Private Member Functions | |
displayList () | |
New implementation of ilObjectGUI.
(beta)
Differences to the ilObject implementation:
All new modules should derive from this class.
Definition at line 27 of file class.ilObject2GUI.php.
ilObject2GUI::__construct | ( | $a_id = 0 , |
|
$a_id_type = self::REPOSITORY_NODE_ID , |
|||
$a_parent_node_id = 0 |
|||
) |
Constructor.
int | $a_id | |
int | $a_id_type | |
int | $a_parent_node_id |
Definition at line 51 of file class.ilObject2GUI.php.
References $DIC, $ilCtrl, ilObjectGUI\$ilErr, $ilUser, ilObjectGUI\$lng, $node_id, ilObjectGUI\$objDefinition, $object_id, PHPMailer\PHPMailer\$params, ilObjectGUI\$tpl, $tree, ilObject\_lookupObjectId(), afterConstructor(), assignObject(), getType(), html(), ilWorkspaceTree\lookupObjectId(), PEAR_ERROR_CALLBACK, and user().
|
finalprotected |
Definition at line 668 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 672 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 660 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 573 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\executeCommand().
|
protected |
Functions to be overwritten.
Definition at line 680 of file class.ilObject2GUI.php.
References getType().
Referenced by setLocator().
|
protected |
Do anything that should be done after constructor in here.
Definition at line 178 of file class.ilObject2GUI.php.
Referenced by __construct().
|
finalprotected |
create object instance as internal property (repository/workspace switch)
Definition at line 217 of file class.ilObject2GUI.php.
References ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
Referenced by ilObjMainMenuGUI\__construct(), __construct(), and ilObjWorkflowEngineGUI\__construct().
|
finalprotected |
Definition at line 561 of file class.ilObject2GUI.php.
ilObject2GUI::cancel | ( | ) |
Definition at line 722 of file class.ilObject2GUI.php.
|
final |
Definition at line 531 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 511 of file class.ilObject2GUI.php.
References $a_type.
Referenced by ilObjHelpSettingsGUI\activateModule(), ilObjLinkResourceGUI\addLink(), ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\bulkUpload(), ilObjLinkResourceGUI\confirmDeleteLink(), ilObjHelpSettingsGUI\confirmHelpModulesDeletion(), ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), ilObjMediaPoolGUI\createFolderForm(), ilObjMediaPoolGUI\createMediaFromUploadDir(), ilObjMediaPoolGUI\createMediaPoolPage(), ilObjLinkResourceGUI\deactivateLink(), ilObjHelpSettingsGUI\deactivateModule(), ilObjHelpSettingsGUI\deleteHelpModules(), ilObjLinkResourceGUI\deleteLinks(), ilObjLinkResourceGUI\deleteParameter(), ilObjLinkResourceGUI\deleteParameterForm(), ilObjMediaPoolGUI\editFolder(), ilObjLinkResourceGUI\editLink(), ilObjMediaPoolGUI\editMediaPoolPage(), ilObjContentPageGUI\editStyleProperties(), ilObjPortfolioBaseGUI\editStyleProperties(), ilObjBlogGUI\editStyleProperties(), ilObjMediaPoolGUI\editTitlesAndDescriptions(), ilObjLinkResourceGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjPortfolioGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjContentPageGUI\executeCommand(), ilObjLinkResourceGUI\history(), ilObjectPluginGUI\infoScreen(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), ilObjLinkResourceGUI\infoScreenForward(), ilObjMediaPoolGUI\insertFromClipboard(), ilObjLinkResourceGUI\linkChecker(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjLinkResourceGUI\manage(), ilObjMediaPoolGUI\openClipboard(), ilObjMediaPoolGUI\performBulkUpload(), ilObjMediaPoolGUI\remove(), ilObjLinkResourceGUI\saveAddLink(), ilObjContactAdministrationGUI\saveConfigurationForm(), ilObjMediaPoolGUI\saveFolder(), ilObjItemGroupGUI\saveItemAssignment(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjLinkResourceGUI\saveSettings(), ilObjLinkResourceGUI\saveSorting(), ilObjContentPageGUI\saveStyleSettings(), ilObjMediaPoolGUI\saveTitlesAndDescriptions(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilObjHelpSettingsGUI\setMode(), ilObjLinkResourceGUI\settings(), ilObjContactAdministrationGUI\showConfigurationForm(), ilObjLinkResourceGUI\showLinks(), ilObjMediaPoolGUI\showMedia(), ilObjMediaPoolGUI\showMediaPoolPageUsages(), ilObjMediaPoolGUI\showPreview(), ilObjLinkResourceGUI\sort(), ilObjMediaPoolGUI\updateFolder(), ilObjLinkResourceGUI\updateLinks(), ilObjMediaPoolGUI\updateMediaPoolPage(), ilObjContentPageGUI\view(), and ilObjLinkResourceGUI\view().
|
protected |
Check permission.
string | $a_perm | |
string | $a_cmd | |
string | $a_type | |
int | $a_node_id |
Definition at line 863 of file class.ilObject2GUI.php.
References $a_type, $DIC, $ilUser, $node_id, $parent_id, and getAccessHandler().
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjBlogGUI\addContributor(), ilObjContentPageGUI\addToNavigationHistory(), ilObjCloudGUI\asyncGetActionListContent(), ilObjCloudGUI\asyncGetBlock(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjBlogGUI\contributors(), ilObjWorkspaceFolderGUI\cut(), ilObjBlogGUI\deactivateAdmin(), ilObjPollGUI\deleteAllVotes(), deleteConfirmation(), ilObjPortfolioBaseGUI\deletePortfolioPages(), ilObjPortfolioBaseGUI\determinePageCall(), ilObjMediaPoolGUI\edit(), ilObjFileGUI\edit(), ilRemoteObjectBaseGUI\editObject(), ilObjWikiSettingsGUI\editSettings(), ilObjHelpSettingsGUI\editSettings(), ilObjFileGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjContentPageGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjContactAdministrationGUI\getAdminTabs(), ilObjHelpSettingsGUI\getAdminTabs(), ilObjWikiSettingsGUI\getAdminTabs(), ilObjPDFGenerationGUI\getAdminTabs(), ilObjContactAdministrationGUI\getConfigurationForm(), ilObjContentPageGUI\getContent(), ilObjCloudGUI\getFile(), ilObjPDFGenerationGUI\hasWritePermission(), ilRemoteObjectBaseGUI\infoScreen(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjCloudGUI\infoScreenForward(), ilObjDataCollectionGUI\infoScreenForward(), ilObjContentPageGUI\infoScreenForward(), ilObjFileGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), ilObjLinkResourceGUI\infoScreenForward(), ilObjWikiSettingsGUI\initForm(), ilObjBlogGUI\isAdmin(), ilObjBlogGUI\mayContribute(), ilObjBlogGUI\mayEditPosting(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjPortfolioTemplateGUI\preview(), ilObjPortfolioBaseGUI\preview(), ilObjBlogGUI\preview(), ilObjPollGUI\render(), ilObjCloudGUI\render(), ilObjBlogGUI\render(), ilObjContentPageGUI\renderHeaderActions(), ilObjFileGUI\save(), ilObjPortfolioTemplateGUI\saveBlog(), ilObjPortfolioBaseGUI\savePage(), ilObjPortfolioBaseGUI\savePortfolioPagesOrdering(), ilObjPDFGenerationGUI\saveSettings(), ilObjFileGUI\saveUnzip(), ilObjFileGUI\sendFile(), ilObjContentPageGUI\setContentSubTabs(), ilObjHelpSettingsGUI\setMode(), ilObjContentPageGUI\setSettingsSubTabs(), ilObjWorkspaceFolderGUI\setTabs(), ilRemoteObjectBaseGUI\setTabs(), ilObjContentPageGUI\setTabs(), ilObjPortfolioTemplateGUI\setTabs(), ilObjPollGUI\setTabs(), ilObjBlogGUI\setTabs(), setTabs(), ilObjFileGUI\setTabs(), ilObjLinkResourceGUI\setTabs(), ilObjPollGUI\showParticipants(), ilObjPollGUI\showParticipantVotes(), ilObjLinkResourceGUI\showToolbar(), ilRemoteObjectBaseGUI\updateObject(), ilObjFileGUI\uploadFiles(), ilObjHelpSettingsGUI\uploadHelpFile(), and ilObjPortfolioBaseGUI\view().
|
final |
Definition at line 557 of file class.ilObject2GUI.php.
ilObject2GUI::confirmedDelete | ( | ) |
Delete objects (repository/workspace switch)
Definition at line 388 of file class.ilObject2GUI.php.
References deleteConfirmedObjects().
ilObject2GUI::create | ( | ) |
Deleted in ilObject.
CRUD
Definition at line 706 of file class.ilObject2GUI.php.
Referenced by ilObjTaxonomyGUI\createAssignedTaxonomy().
ilObject2GUI::delete | ( | ) |
Display delete confirmation form (repository/workspace switch)
Definition at line 308 of file class.ilObject2GUI.php.
References deleteConfirmation().
|
protected |
Display delete confirmation form (workspace specific)
This should probably be moved elsewhere as done with RepUtil
Definition at line 331 of file class.ilObject2GUI.php.
References $DIC, ilObjectGUI\$lng, $node_id, ilObjectGUI\$obj_id, $title, ilObjectGUI\$tpl, $type, ilObject\_lookupType(), checkPermissionBool(), ilObjectFactory\getClassByType(), and ilUtil\sendFailure().
Referenced by delete().
|
protected |
Delete objects (workspace specific)
This should probably be moved elsewhere as done with RepUtil
Definition at line 411 of file class.ilObject2GUI.php.
References $_POST, $DIC, ilObjectGUI\$lng, $node_id, ilObjectGUI\$object, getAccessHandler(), ilObjectFactory\getInstanceByObjId(), and ilUtil\sendFailure().
Referenced by confirmedDelete().
|
finalprivate |
Definition at line 567 of file class.ilObject2GUI.php.
ilObject2GUI::edit | ( | ) |
Definition at line 714 of file class.ilObject2GUI.php.
ilObject2GUI::executeCommand | ( | ) |
execute command
Definition at line 185 of file class.ilObject2GUI.php.
References getAccessHandler(), and prepareOutput().
Referenced by ilObjPortfolioTemplateGUI\executeCommand().
|
finalprotected |
|
finalprotected |
Definition at line 545 of file class.ilObject2GUI.php.
References $a_type.
Referenced by ilObjFileGUI\initCreationForms(), and ilObjectPluginGUI\initCreationForms().
|
protected |
Get access handler.
Definition at line 245 of file class.ilObject2GUI.php.
References $access_handler.
Referenced by ilObjWorkspaceFolderGUI\applyShareFilter(), checkPermissionBool(), ilObjWorkspaceFolderGUI\copyShared(), deleteConfirmedObjects(), ilObjFileGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), initHeaderAction(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjWorkspaceFolderGUI\listSharedResourcesOfOtherUser(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), putObjectInTree(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjBlogGUI\renderList(), ilObjWorkspaceFolderGUI\resetShareFilter(), ilObjFileGUI\saveUnzip(), ilObjWorkspaceFolderGUI\setTabs(), ilObjWorkspaceFolderGUI\share(), and ilObjFileGUI\uploadFiles().
|
finalprotected |
Definition at line 499 of file class.ilObject2GUI.php.
|
final |
Definition at line 466 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\addLocatorItems(), ilObjMediaPoolGUI\addLocatorItems(), ilObjContentPageGUI\addToNavigationHistory(), ilObjLinkResourceGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjContentPageGUI\renderHeaderActions(), ilOrgUnitExtensionGUI\setLocator(), and ilObjLinkResourceGUI\setTabs().
ilObject2GUI::getHTML | ( | ) |
Definition at line 450 of file class.ilObject2GUI.php.
|
protected |
Definition at line 951 of file class.ilObject2GUI.php.
References getType().
Referenced by ilObjFileGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), and ilObjLinkResourceGUI\infoScreenForward().
|
finalprotected |
Deprecated functions.
Definition at line 644 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 503 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 656 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 487 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\initMultiUploadForm(), ilObjFileGUI\initSingleUploadForm(), and ilObjFileGUI\initZipUploadForm().
|
abstract |
Functions that must be overwritten.
Referenced by __construct(), addLocatorItems(), ilRemoteObjectBaseGUI\callObject(), ilObjectPluginGUI\executeCommand(), ilObjectPluginGUI\getCreationFormTitle(), getPermanentLinkWidget(), ilOrgUnitExtensionGUI\getPlugin(), ilObjectPluginGUI\getPlugin(), ilObjPortfolioBaseGUI\handlePageCall(), ilRemoteObjectBaseGUI\infoScreen(), ilRemoteObjectBaseGUI\initEditForm(), initHeaderAction(), ilObjPortfolioBaseGUI\preview(), ilObjPortfolioBaseGUI\setSettingsSubTabs(), ilRemoteObjectBaseGUI\updateObject(), and ilObjPortfolioBaseGUI\view().
|
static |
After creation callback.
ilObject | $a_obj | |
int | $a_callback_ref_id |
Definition at line 832 of file class.ilObject2GUI.php.
References $DIC, $location, ilObjectGUI\$objDefinition, and ilObject\_lookupType().
Referenced by ilObjFileGUI\uploadFiles().
|
protected |
\ilObject | $a_new_obj |
Definition at line 968 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\save(), and ilObjFileGUI\uploadFiles().
|
finalprotected |
Definition at line 664 of file class.ilObject2GUI.php.
ilObject2GUI::importFile | ( | ) |
|
protected |
Init creation froms.
this will create the default creation forms: new, import, clone
string | $a_new_type |
Definition at line 735 of file class.ilObject2GUI.php.
|
protected |
Add header action menu.
string | $a_sub_type | |
int | $a_sub_id |
Definition at line 900 of file class.ilObject2GUI.php.
References $lg, getAccessHandler(), getType(), and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
Referenced by ilObjCloudGUI\addHeaderAction().
|
final |
|
finalprotected |
Definition at line 483 of file class.ilObject2GUI.php.
|
final |
Definition at line 470 of file class.ilObject2GUI.php.
Referenced by ilRemoteObjectBaseGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjTermsOfServiceGUI\executeCommand(), ilObjContactAdministrationGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjMainMenuGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjPDFGenerationGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjHelpSettingsGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjDataCollectionGUI\executeCommand(), executeCommand(), ilObjContentPageGUI\executeCommand(), ilObjPollGUI\executeCommand(), and ilObjBlogGUI\executeCommand().
ilObject2GUI::putObjectInTree | ( | ilObject | $a_obj, |
$a_parent_node_id = null |
|||
) |
Add object to tree at given position.
ilObject | $a_obj | |
int | $a_parent_node_id |
Definition at line 763 of file class.ilObject2GUI.php.
References $DIC, $ilUser, $parent_id, ilObjectGUI\$rbacreview, ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), ilRbacLog\CREATE_OBJECT, ilObject\createReference(), ilRbacLog\gatherFaPa(), getAccessHandler(), ilObject\getId(), ilObject\getRefId(), ilObject\putInTree(), and ilObject\setPermissions().
Referenced by ilObjExerciseVerificationGUI\save(), ilObjTestVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjFileGUI\save(), and ilObjFileGUI\uploadFiles().
|
finalprotected |
Definition at line 539 of file class.ilObject2GUI.php.
|
protected |
Updating icons after ajax call.
Definition at line 946 of file class.ilObject2GUI.php.
|
final |
Definition at line 535 of file class.ilObject2GUI.php.
ilObject2GUI::save | ( | ) |
Definition at line 710 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 553 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 507 of file class.ilObject2GUI.php.
|
final |
Definition at line 462 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\executeCommand().
|
protected |
set Locator
Definition at line 253 of file class.ilObject2GUI.php.
References $_GET, $DIC, $parent_id, ilObjectGUI\$ref_id, ilObjectGUI\$tpl, and addLocatorItems().
Referenced by ilObjectPluginGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjContentPageGUI\executeCommand(), and ilObjBlogGUI\executeCommand().
|
finalprotected |
Definition at line 648 of file class.ilObject2GUI.php.
|
protected |
create tabs (repository/workspace switch)
this had to be moved here because of the context-specific permission tab
Definition at line 604 of file class.ilObject2GUI.php.
References $DIC, ilObjectGUI\$lng, $node_id, and checkPermissionBool().
Referenced by ilObjTaxonomyGUI\createTaxNode(), ilObjTaxonomyGUI\deleteItems(), ilObjTaxonomyGUI\editSettings(), ilObjectPluginGUI\executeCommand(), ilObjTaxonomyGUI\listAssignedItems(), ilObjTaxonomyGUI\listNodes(), ilObjTaxonomyGUI\moveItems(), ilObjBibliographicGUI\save(), and ilObjPortfolioTemplateGUI\setTabs().
|
finalprotected |
Definition at line 491 of file class.ilObject2GUI.php.
|
protected |
Definition at line 474 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 652 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 517 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 478 of file class.ilObject2GUI.php.
|
final |
Definition at line 522 of file class.ilObject2GUI.php.
|
final |
Definition at line 527 of file class.ilObject2GUI.php.
ilObject2GUI::update | ( | ) |
Definition at line 718 of file class.ilObject2GUI.php.
ilObject2GUI::view | ( | ) |
view object content (repository/workspace switch)
Definition at line 581 of file class.ilObject2GUI.php.
|
final |
Final/Private declaration of unchanged parent methods.
Definition at line 458 of file class.ilObject2GUI.php.
|
protected |
Definition at line 35 of file class.ilObject2GUI.php.
Referenced by ilObjPortfolioGUI\executeCommand(), getAccessHandler(), ilObjFileGUI\infoScreenForward(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjPortfolioGUI\saveBlog(), ilObjFileGUI\saveUnzip(), and ilObjFileGUI\uploadFiles().
|
protected |
Definition at line 31 of file class.ilObject2GUI.php.
|
protected |
Definition at line 32 of file class.ilObject2GUI.php.
|
protected |
Definition at line 30 of file class.ilObject2GUI.php.
Referenced by __construct(), ilObjBibliographicGUI\addLocatorItems(), ilObjDataCollectionGUI\addLocatorItems(), ilObjCloudGUI\addLocatorItems(), ilObjPollGUI\addLocatorItems(), ilObjFileGUI\addLocatorItems(), ilObjBlogGUI\addLocatorItems(), ilObjWorkspaceFolderGUI\checkPassword(), checkPermissionBool(), ilObjBlogGUI\contributors(), ilObjWorkspaceFolderGUI\copy(), ilObjWorkspaceFolderGUI\cut(), deleteConfirmation(), deleteConfirmedObjects(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjBlogGUI\renderFullScreen(), ilObjBlogGUI\renderFullscreenHeader(), ilObjBlogGUI\renderNavigation(), ilObjTestVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjPortfolioGUI\saveBlog(), and setTabs().
|
protected |
Definition at line 29 of file class.ilObject2GUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilObject2GUI.php.
Referenced by checkPermissionBool(), ilObjTaxonomyGUI\pasteItems(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjPortfolioBaseGUI\preview(), putObjectInTree(), ilObjBlogGUI\renderFullScreen(), ilObjTestVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilOrgUnitExtensionGUI\setLocator(), and setLocator().
ilObject2GUI::$tree |
Definition at line 34 of file class.ilObject2GUI.php.
Referenced by __construct(), ilObjItemGroupGUI\_goto(), ilObjPollGUI\_goto(), ilObjMediaPoolGUI\addLocatorItems(), ilObjMediaPoolGUI\createMediaFromUploadDir(), ilObjMediaPoolGUI\executeCommand(), ilObjPortfolioGUI\getCreateInfoMessage(), ilObjItemGroupGUI\gotoParent(), ilObjPortfolioGUI\initBlogForm(), ilObjPortfolioGUI\initCreateForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilObjItemGroupGUI\listMaterials(), ilObjTaxonomyGUI\pasteItems(), ilObjMediaPoolGUI\performBulkUpload(), ilObjPortfolioBaseGUI\preview(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjBlogGUI\render(), ilObjBlogGUI\renderFullScreen(), ilObjPortfolioGUI\saveBlog(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjFileGUI\saveUnzip(), ilObjBlogGUI\setSettingsSubTabs(), ilObjItemGroupGUI\setTabs(), ilObjWorkspaceFolderGUI\showMoveIntoObjectTree(), ilOrgUnitExtensionGUI\showTree(), ilObjPollGUI\subscribe(), ilObjPollGUI\unsubscribe(), ilObjFileGUI\uploadFiles(), ilObjPortfolioBaseGUI\view(), and ilObjPollGUI\vote().
const ilObject2GUI::OBJECT_ID = 0 |
Definition at line 37 of file class.ilObject2GUI.php.
Referenced by ilObjTaxonomyGUI\__construct().
const ilObject2GUI::PORTFOLIO_OBJECT_ID = 5 |
Definition at line 42 of file class.ilObject2GUI.php.
Referenced by ilSharedResourceGUI\executeCommand().
const ilObject2GUI::REPOSITORY_NODE_ID = 1 |
Definition at line 38 of file class.ilObject2GUI.php.
Referenced by ilLinkResourceHandlerGUI\executeCommand(), ilAdministrationGUI\executeCommand(), ilRepositoryGUI\executeCommand(), and ilAdministrationSettingsFormHandler\getSettingsGUIInstance().
const ilObject2GUI::REPOSITORY_OBJECT_ID = 3 |
Definition at line 40 of file class.ilObject2GUI.php.
const ilObject2GUI::WORKSPACE_NODE_ID = 2 |
Definition at line 39 of file class.ilObject2GUI.php.
Referenced by ilSharedResourceGUI\executeCommand(), ilPortfolioPageGUI\executeCommand(), ilPersonalWorkspaceGUI\executeCommand(), and ilExSubmissionObjectGUI\submitBlog().
const ilObject2GUI::WORKSPACE_OBJECT_ID = 4 |
Definition at line 41 of file class.ilObject2GUI.php.
Referenced by ilPortfolioPageGUI\dlcrsv(), ilPortfolioPageGUI\dlexcv(), ilPortfolioPageGUI\dlscov(), ilPortfolioPageGUI\dltstv(), ilPortfolioHTMLExport\exportHTMLPages(), ilPortfolioPageGUI\renderBlog(), and ilPortfolioPageGUI\renderVerification().