ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
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... | |
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... | |
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 |
$ilias | |
$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... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. 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 | |
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... | |
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... | |
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 | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
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 28 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 52 of file class.ilObject2GUI.php.
References $ilCtrl, $ilErr, $ilUser, ilObjectGUI\$lng, $node_id, ilObjectGUI\$objDefinition, $object_id, $params, ilObjectGUI\$tpl, $tree, ilObject\_lookupObjectId(), afterConstructor(), array, assignObject(), getType(), ilWorkspaceTree\lookupObjectId(), object, and PEAR_ERROR_CALLBACK.
|
finalprotected |
Definition at line 556 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 557 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 554 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 486 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\executeCommand().
|
protected |
Functions to be overwritten.
Definition at line 562 of file class.ilObject2GUI.php.
References getType().
Referenced by setLocator().
|
protected |
Do anything that should be done after constructor in here.
Definition at line 168 of file class.ilObject2GUI.php.
Referenced by __construct().
|
finalprotected |
create object instance as internal property (repository/workspace switch)
Definition at line 211 of file class.ilObject2GUI.php.
References ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
Referenced by ilObjWorkflowEngineGUI\__construct(), and __construct().
|
finalprotected |
Definition at line 480 of file class.ilObject2GUI.php.
ilObject2GUI::cancel | ( | ) |
Definition at line 590 of file class.ilObject2GUI.php.
|
final |
Definition at line 471 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 463 of file class.ilObject2GUI.php.
References $a_type.
Referenced by ilObjLinkResourceGUI\addLink(), ilObjMediaPoolGUI\allMedia(), ilObjLinkResourceGUI\confirmDeleteLink(), ilObjMediaPoolGUI\confirmRemove(), ilObjMediaPoolGUI\copyToClipboard(), ilObjMediaPoolGUI\createFolderForm(), ilObjMediaPoolGUI\createMediaFromUploadDir(), ilObjMediaPoolGUI\createMediaPoolPage(), ilObjLinkResourceGUI\deactivateLink(), ilObjLinkResourceGUI\deleteLinks(), ilObjLinkResourceGUI\deleteParameter(), ilObjLinkResourceGUI\deleteParameterForm(), ilObjMediaPoolGUI\editFolder(), ilObjLinkResourceGUI\editLink(), ilObjMediaPoolGUI\editMediaPoolPage(), ilObjPortfolioBaseGUI\editStyleProperties(), ilObjBlogGUI\editStyleProperties(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjPortfolioGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjLinkResourceGUI\history(), ilObjectPluginGUI\infoScreen(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), ilObjLinkResourceGUI\infoScreenForward(), ilObjMediaPoolGUI\insertFromClipboard(), ilObjLinkResourceGUI\linkChecker(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjLinkResourceGUI\manage(), ilObjMediaPoolGUI\openClipboard(), ilObjMediaPoolGUI\remove(), ilObjLinkResourceGUI\saveAddLink(), ilObjContactAdministrationGUI\saveConfigurationForm(), ilObjMediaPoolGUI\saveFolder(), ilObjItemGroupGUI\saveItemAssignment(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjLinkResourceGUI\saveSettings(), ilObjLinkResourceGUI\saveSorting(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilObjLinkResourceGUI\settings(), ilObjContactAdministrationGUI\showConfigurationForm(), ilObjLinkResourceGUI\showLinks(), ilObjMediaPoolGUI\showMedia(), ilObjMediaPoolGUI\showMediaPoolPageUsages(), ilObjMediaPoolGUI\showPreview(), ilObjLinkResourceGUI\sort(), ilObjMediaPoolGUI\updateFolder(), ilObjLinkResourceGUI\updateLinks(), ilObjMediaPoolGUI\updateMediaPoolPage(), and ilObjLinkResourceGUI\view().
|
protected |
Check permission.
string | $a_perm | |
string | $a_cmd | |
string | $a_type | |
int | $a_node_id |
Definition at line 731 of file class.ilObject2GUI.php.
References $a_type, $ilUser, $node_id, $parent_id, getAccessHandler(), and object.
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjBlogGUI\addContributor(), ilObjCloudGUI\asyncGetActionListContent(), ilObjCloudGUI\asyncGetBlock(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjFileGUI\confirmDeleteFile(), ilObjFileGUI\confirmDeleteVersions(), ilObjBlogGUI\contributors(), ilObjWorkspaceFolderGUI\cut(), ilObjBlogGUI\deactivateAdmin(), ilObjPollGUI\deleteAllVotes(), deleteConfirmation(), ilObjPortfolioBaseGUI\deletePortfolioPages(), ilObjPortfolioBaseGUI\determinePageCall(), ilObjFileGUI\edit(), ilRemoteObjectBaseGUI\editObject(), ilObjHelpSettingsGUI\editSettings(), ilObjWikiSettingsGUI\editSettings(), ilObjFileGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjContactAdministrationGUI\getAdminTabs(), ilObjHelpSettingsGUI\getAdminTabs(), ilObjWikiSettingsGUI\getAdminTabs(), ilObjContactAdministrationGUI\getConfigurationForm(), ilObjCloudGUI\getFile(), ilObjDataCollectionGUI\getType(), ilObjFileGUI\handleFileUpload(), ilRemoteObjectBaseGUI\infoScreen(), ilObjBibliographicGUI\infoScreenForward(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjCloudGUI\infoScreenForward(), ilObjDataCollectionGUI\infoScreenForward(), ilObjFileGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), ilObjWikiSettingsGUI\initForm(), ilObjBlogGUI\isAdmin(), ilObjBlogGUI\mayContribute(), ilObjBlogGUI\mayEditPosting(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjPortfolioTemplateGUI\preview(), ilObjPortfolioBaseGUI\preview(), ilObjBlogGUI\preview(), ilObjPollGUI\render(), ilObjCloudGUI\render(), ilObjBlogGUI\render(), ilObjFileGUI\rollbackVersion(), ilObjFileGUI\save(), ilObjPortfolioTemplateGUI\saveBlog(), ilObjPortfolioBaseGUI\savePage(), ilObjPortfolioBaseGUI\savePortfolioPagesOrdering(), ilObjFileGUI\saveUnzip(), ilObjFileGUI\sendFile(), ilObjHelpSettingsGUI\setMode(), ilObjWorkspaceFolderGUI\setTabs(), ilRemoteObjectBaseGUI\setTabs(), ilObjPortfolioTemplateGUI\setTabs(), ilObjPollGUI\setTabs(), ilObjBlogGUI\setTabs(), setTabs(), ilObjFileGUI\setTabs(), ilObjLinkResourceGUI\setTabs(), ilObjPollGUI\showParticipants(), ilObjPollGUI\showParticipantVotes(), ilObjLinkResourceGUI\showToolbar(), ilRemoteObjectBaseGUI\updateObject(), ilObjFileGUI\uploadFiles(), ilObjHelpSettingsGUI\uploadHelpFile(), ilObjFileGUI\versions(), and ilObjPortfolioBaseGUI\view().
|
final |
Definition at line 479 of file class.ilObject2GUI.php.
ilObject2GUI::confirmedDelete | ( | ) |
Delete objects (repository/workspace switch)
Definition at line 377 of file class.ilObject2GUI.php.
References deleteConfirmedObjects().
ilObject2GUI::create | ( | ) |
Deleted in ilObject.
CRUD
Definition at line 586 of file class.ilObject2GUI.php.
Referenced by ilObjTaxonomyGUI\createAssignedTaxonomy().
ilObject2GUI::delete | ( | ) |
Display delete confirmation form (repository/workspace switch)
Definition at line 299 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 323 of file class.ilObject2GUI.php.
References ilObjectGUI\$lng, $node_id, ilObjectGUI\$obj_id, ilObjectGUI\$objDefinition, $title, ilObjectGUI\$tpl, ilObject\_getIcon(), ilObject\_lookupType(), array, 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 401 of file class.ilObject2GUI.php.
References $_POST, ilObjectGUI\$lng, $node_id, ilObjectGUI\$objDefinition, ilObjectGUI\$object, array, getAccessHandler(), ilObjectFactory\getInstanceByObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by confirmedDelete().
|
finalprivate |
Definition at line 483 of file class.ilObject2GUI.php.
ilObject2GUI::edit | ( | ) |
Definition at line 588 of file class.ilObject2GUI.php.
ilObject2GUI::executeCommand | ( | ) |
execute command
Definition at line 175 of file class.ilObject2GUI.php.
References $cmd, getAccessHandler(), and prepareOutput().
Referenced by ilObjPortfolioTemplateGUI\executeCommand(), and ilObjDataCollectionGUI\getType().
|
finalprotected |
|
finalprotected |
Definition at line 476 of file class.ilObject2GUI.php.
References $a_type.
Referenced by ilObjFileGUI\initCreationForms(), and ilObjectPluginGUI\initCreationForms().
|
protected |
Get access handler.
Definition at line 241 of file class.ilObject2GUI.php.
References $access_handler.
Referenced by ilObjWorkspaceFolderGUI\applyShareFilter(), checkPermissionBool(), ilObjWorkspaceFolderGUI\copyShared(), deleteConfirmedObjects(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjFileGUI\executeCommand(), executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjFileGUI\handleFileUpload(), initHeaderAction(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjWorkspaceFolderGUI\listSharedResourcesOfOtherUser(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), putObjectInTree(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjBlogGUI\renderList(), ilObjWorkspaceFolderGUI\resetShareFilter(), ilObjFileGUI\saveUnzip(), ilObjWorkspaceFolderGUI\setTabs(), and ilObjWorkspaceFolderGUI\share().
|
finalprotected |
Definition at line 460 of file class.ilObject2GUI.php.
|
final |
Definition at line 451 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\addLocatorItems(), ilObjMediaPoolGUI\addLocatorItems(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjDataCollectionGUI\getType(), ilOrgUnitExtensionGUI\setLocator(), and ilObjLinkResourceGUI\setTabs().
ilObject2GUI::getHTML | ( | ) |
Definition at line 444 of file class.ilObject2GUI.php.
|
protected |
Definition at line 826 of file class.ilObject2GUI.php.
References getType().
Referenced by ilObjFileGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), and ilObjLinkResourceGUI\infoScreenForward().
|
finalprotected |
Deprecated functions.
Definition at line 550 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 461 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 553 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 457 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 699 of file class.ilObject2GUI.php.
References $location, ilObjectGUI\$objDefinition, ilObject\_lookupType(), and array.
Referenced by ilObjFileGUI\uploadFiles().
|
protected |
Definition at line 841 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\handleFileUpload(), and ilObjFileGUI\save().
|
finalprotected |
Definition at line 555 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 600 of file class.ilObject2GUI.php.
|
protected |
Add header action menu.
string | $a_sub_type | |
int | $a_sub_id |
Definition at line 774 of file class.ilObject2GUI.php.
References $lg, array, getAccessHandler(), getType(), and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
Referenced by ilObjCloudGUI\addHeaderAction().
|
final |
|
finalprotected |
Definition at line 456 of file class.ilObject2GUI.php.
|
final |
Definition at line 452 of file class.ilObject2GUI.php.
Referenced by ilRemoteObjectBaseGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjHelpSettingsGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjContactAdministrationGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjTermsOfServiceGUI\executeCommand(), executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), and ilObjDataCollectionGUI\getType().
|
protected |
Add object to tree at given position.
ilObject | $a_obj | |
int | $a_parent_node_id |
Definition at line 629 of file class.ilObject2GUI.php.
References $ilUser, ilObjectGUI\$objDefinition, $parent_id, ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), ilRbacLog\CREATE_OBJECT, ilObject\createReference(), ilRbacLog\gatherFaPa(), getAccessHandler(), ilObject\getId(), ilObject\getRefId(), ilObject\putInTree(), and ilObject\setPermissions().
Referenced by ilObjFileGUI\handleFileUpload(), ilObjTestVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjCourseVerificationGUI\save(), and ilObjFileGUI\save().
|
finalprotected |
Definition at line 473 of file class.ilObject2GUI.php.
|
protected |
Updating icons after ajax call.
Definition at line 821 of file class.ilObject2GUI.php.
|
final |
Definition at line 472 of file class.ilObject2GUI.php.
ilObject2GUI::save | ( | ) |
Definition at line 587 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 478 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 462 of file class.ilObject2GUI.php.
|
final |
Definition at line 450 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\executeCommand().
|
protected |
set Locator
Definition at line 249 of file class.ilObject2GUI.php.
References $_GET, $parent_id, ilObjectGUI\$ref_id, ilObjectGUI\$tpl, addLocatorItems(), and array.
Referenced by ilObjectPluginGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), and ilObjBlogGUI\executeCommand().
|
finalprotected |
Definition at line 551 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 515 of file class.ilObject2GUI.php.
References ilObjectGUI\$lng, $node_id, array, 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 458 of file class.ilObject2GUI.php.
|
protected |
Definition at line 453 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 552 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 466 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 454 of file class.ilObject2GUI.php.
|
final |
Definition at line 468 of file class.ilObject2GUI.php.
|
final |
Definition at line 470 of file class.ilObject2GUI.php.
ilObject2GUI::update | ( | ) |
Definition at line 589 of file class.ilObject2GUI.php.
ilObject2GUI::view | ( | ) |
view object content (repository/workspace switch)
Definition at line 491 of file class.ilObject2GUI.php.
|
final |
Final/Private declaration of unchanged parent methods.
Definition at line 449 of file class.ilObject2GUI.php.
|
protected |
Definition at line 36 of file class.ilObject2GUI.php.
Referenced by ilObjPortfolioGUI\executeCommand(), getAccessHandler(), ilObjFileGUI\handleFileUpload(), ilObjFileGUI\infoScreenForward(), ilObjTestVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), and ilObjFileGUI\saveUnzip().
|
protected |
Definition at line 32 of file class.ilObject2GUI.php.
|
protected |
Definition at line 33 of file class.ilObject2GUI.php.
|
protected |
Definition at line 31 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\renderFullscreenHeader(), ilObjBlogGUI\renderNavigation(), ilObjTestVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), and setTabs().
|
protected |
Definition at line 30 of file class.ilObject2GUI.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilObject2GUI.php.
Referenced by checkPermissionBool(), ilObjTaxonomyGUI\pasteItems(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjPortfolioBaseGUI\preview(), putObjectInTree(), ilObjBlogGUI\renderFullScreen(), ilObjTestVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilOrgUnitExtensionGUI\setLocator(), and setLocator().
ilObject2GUI::$tree |
Definition at line 35 of file class.ilObject2GUI.php.
Referenced by __construct(), ilObjItemGroupGUI\_goto(), ilObjPollGUI\_goto(), ilObjMediaPoolGUI\addLocatorItems(), ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\createMediaFromUploadDir(), ilObjMediaPoolGUI\executeCommand(), ilObjItemGroupGUI\gotoParent(), ilObjFileGUI\handleFileUpload(), ilObjPortfolioGUI\initBlogForm(), ilObjPortfolioGUI\initCreateForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjTaxonomyGUI\pasteItems(), ilObjPortfolioBaseGUI\preview(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjBlogGUI\render(), ilObjBlogGUI\renderFullScreen(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjFileGUI\saveUnzip(), ilObjItemGroupGUI\setTabs(), ilObjWorkspaceFolderGUI\showMoveIntoObjectTree(), ilOrgUnitExtensionGUI\showTree(), ilObjPollGUI\subscribe(), ilObjPollGUI\unsubscribe(), ilObjPortfolioBaseGUI\view(), and ilObjPollGUI\vote().
const ilObject2GUI::OBJECT_ID = 0 |
Definition at line 38 of file class.ilObject2GUI.php.
Referenced by ilObjTaxonomyGUI\__construct().
const ilObject2GUI::PORTFOLIO_OBJECT_ID = 5 |
Definition at line 43 of file class.ilObject2GUI.php.
Referenced by ilSharedResourceGUI\executeCommand().
const ilObject2GUI::REPOSITORY_NODE_ID = 1 |
Definition at line 39 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 41 of file class.ilObject2GUI.php.
const ilObject2GUI::WORKSPACE_NODE_ID = 2 |
Definition at line 40 of file class.ilObject2GUI.php.
Referenced by ilSharedResourceGUI\executeCommand(), ilPersonalWorkspaceGUI\executeCommand(), ilPortfolioPageGUI\executeCommand(), and ilExSubmissionObjectGUI\submitBlog().
const ilObject2GUI::WORKSPACE_OBJECT_ID = 4 |
Definition at line 42 of file class.ilObject2GUI.php.
Referenced by ilPortfolioPageGUI\dlcrsv(), ilPortfolioPageGUI\dlexcv(), ilPortfolioPageGUI\dlscov(), ilPortfolioPageGUI\dltstv(), ilPortfolioHTMLExport\exportHTMLPages(), ilPortfolioPageGUI\renderBlog(), and ilPortfolioPageGUI\renderVerification().