ILIAS
Release_5_0_x_branch Revision 61816
|
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. | |
& | executeCommand () |
execute command | |
delete () | |
Display delete confirmation form (repository/workspace switch) | |
confirmedDelete () | |
Delete objects (repository/workspace switch) | |
getHTML () | |
withReferences () | |
Final/Private declaration of unchanged parent methods. | |
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 | |
getCreationMode () | |
get creation mode | |
isVisible () | |
trash () | |
undelete () | |
cancelDelete () | |
removeFromSystem () | |
cloneAll () | |
view () | |
view object content (repository/workspace switch) | |
getType () | |
Functions that must be overwritten. | |
create () | |
Deleted in ilObject. | |
save () | |
edit () | |
update () | |
cancel () | |
importFile () | |
Import. | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
createObject () | |
create new object form | |
cancelCreation () | |
cancel create action and go back to repository parent | |
saveObject () | |
save object | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
Static Public Member Functions | |
static | handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id) |
After creation callback. | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. |
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. | |
assignObject () | |
create object instance as internal property (repository/workspace switch) | |
getAccessHandler () | |
Get access handler. | |
setLocator () | |
set Locator | |
deleteConfirmation () | |
Display delete confirmation form (workspace specific) | |
deleteConfirmedObjects () | |
Delete objects (workspace specific) | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
omitLocator ($a_omit=true) | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
redirectToRefId () | |
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. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
searchCloneSource () | |
buildCloneSelect ($existing_objs) | |
addAdminLocatorItems () | |
setTabs () | |
create tabs (repository/workspace switch) | |
getReturnLocation () | |
Deprecated functions. | |
setReturnLocation () | |
showActions () | |
getTitlesByRefId () | |
getTabs () | |
__showButton () | |
hitsperpageObject () | |
__initTableGUI () | |
__setTableGUIBasicData () | |
addLocatorItems () | |
Functions to be overwritten. | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
Check permission. | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
redrawHeaderAction () | |
Updating icons after ajax call. | |
getPermanentLinkWidget ($a_append=null, $a_center=false) | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. | |
Protected Member Functions inherited from ilObjectGUI | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showMountWebfolderIcon () | |
setAdminTabs () | |
set admin tabs public | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. | |
initEditForm () | |
Init object edit form. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormValues () | |
Get values for edit form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
afterUpdate () | |
Post (successful) object update hook. | |
initImportForm ($a_new_type) | |
Init object import form. | |
importFileObject ($parent_id=null) | |
Import. | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
getTabs (&$tabs_gui) | |
get tabs abstract method. | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
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 | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. |
Protected Attributes | |
$object_id | |
$node_id | |
$creation_forms = array() | |
$id_type = array() | |
$parent_id | |
$access_handler |
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 |
Reimplemented in ilObjBibliographicGUI, ilObjCloudGUI, ilObjBlogGUI, ilObjPortfolioBaseGUI, ilObjPollGUI, ilObjRemoteCategoryGUI, ilObjRemoteFileGUI, ilObjRemoteGlossaryGUI, ilObjRemoteLearningModuleGUI, ilObjRemoteWikiGUI, ilObjRemoteCourseGUI, ilObjRemoteGroupGUI, ilObjRemoteTestGUI, ilObjectPluginGUI, and ilRemoteObjectBaseGUI.
Definition at line 52 of file class.ilObject2GUI.php.
References $ilCtrl, $ilErr, $ilUser, ilObjectGUI\$lng, $node_id, ilObjectGUI\$objDefinition, $object_id, ilObjectGUI\$tpl, $tree, ilObject\_lookupObjectId(), afterConstructor(), assignObject(), getType(), ilWorkspaceTree\lookupObjectId(), and PEAR_ERROR_CALLBACK.
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 549 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 550 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 547 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 478 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\executeCommand().
|
protected |
Functions to be overwritten.
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI, ilObjLinkResourceGUI, ilObjFileGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjCloudGUI, ilObjDataCollectionGUI, ilObjBibliographicGUI, ilObjectPluginGUI, ilObjItemGroupGUI, and ilObjPortfolioBaseGUI.
Definition at line 555 of file class.ilObject2GUI.php.
Referenced by setLocator().
|
protected |
Do anything that should be done after constructor in here.
Reimplemented in ilObjMediaPoolGUI, and ilObjItemGroupGUI.
Definition at line 168 of file class.ilObject2GUI.php.
Referenced by __construct().
|
finalprotected |
create object instance as internal property (repository/workspace switch)
Reimplemented from ilObjectGUI.
Definition at line 211 of file class.ilObject2GUI.php.
References ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
Referenced by __construct().
|
finalprotected |
Definition at line 472 of file class.ilObject2GUI.php.
ilObject2GUI::cancel | ( | ) |
Reimplemented in ilObjTaxonomyGUI.
Definition at line 583 of file class.ilObject2GUI.php.
References ilObjectGUI\cancelObject().
|
final |
Definition at line 463 of file class.ilObject2GUI.php.
References ilObjectGUI\cancelDeleteObject().
|
finalprotected |
Definition at line 455 of file class.ilObject2GUI.php.
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(), ilObjCloudGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjLinkResourceGUI\history(), ilObjectPluginGUI\infoScreen(), ilObjLinkResourceGUI\infoScreenForward(), ilObjMediaPoolGUI\insertFromClipboard(), ilObjLinkResourceGUI\linkChecker(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjLinkResourceGUI\manage(), ilObjMediaPoolGUI\openClipboard(), ilObjMediaPoolGUI\remove(), ilObjLinkResourceGUI\saveAddLink(), ilObjMediaPoolGUI\saveFolder(), ilObjItemGroupGUI\saveItemAssignment(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjLinkResourceGUI\saveSettings(), ilObjLinkResourceGUI\saveSorting(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilObjLinkResourceGUI\settings(), 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 |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjTaxonomyGUI, and ilObjPortfolioGUI.
Definition at line 724 of file class.ilObject2GUI.php.
References $ilUser, $node_id, $parent_id, and getAccessHandler().
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjBlogGUI\addContributor(), ilObjBlogGUI\approve(), 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(), ilObjHelpSettingsGUI\getAdminTabs(), ilObjWikiSettingsGUI\getAdminTabs(), ilObjCloudGUI\getFile(), ilObjFileGUI\handleFileUpload(), ilRemoteObjectBaseGUI\infoScreen(), ilObjBibliographicGUI\infoScreenForward(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjCloudGUI\infoScreenForward(), ilObjDataCollectionGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), ilObjFileGUI\infoScreenForward(), ilObjWikiSettingsGUI\initForm(), ilObjBlogGUI\mayContribute(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjPortfolioTemplateGUI\preview(), ilObjPortfolioBaseGUI\preview(), ilObjBlogGUI\preview(), ilObjPollGUI\render(), ilObjCloudGUI\render(), ilObjBlogGUI\render(), ilObjBlogGUI\renderList(), 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 471 of file class.ilObject2GUI.php.
References ilObjectGUI\cloneAllObject().
ilObject2GUI::confirmedDelete | ( | ) |
Delete objects (repository/workspace switch)
Reimplemented in ilObjTaxonomyGUI.
Definition at line 377 of file class.ilObject2GUI.php.
References ilObjectGUI\confirmedDeleteObject(), and deleteConfirmedObjects().
ilObject2GUI::create | ( | ) |
Deleted in ilObject.
CRUD
Reimplemented in ilObjCourseVerificationGUI, ilObjExerciseVerificationGUI, ilObjSCORMVerificationGUI, and ilObjTestVerificationGUI.
Definition at line 579 of file class.ilObject2GUI.php.
References ilObjectGUI\createObject().
Referenced by ilObjTaxonomyGUI\createAssignedTaxonomy().
ilObject2GUI::delete | ( | ) |
Display delete confirmation form (repository/workspace switch)
Definition at line 299 of file class.ilObject2GUI.php.
References deleteConfirmation(), and ilObjectGUI\deleteObject().
|
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 $_REQUEST, ilObjectGUI\$lng, $node_id, ilObjectGUI\$obj_id, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, ilObject\_getIcon(), 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 401 of file class.ilObject2GUI.php.
References $_POST, ilObjectGUI\$lng, $node_id, ilObjectGUI\$objDefinition, ilObjectGUI\$object, getAccessHandler(), ilObjectFactory\getInstanceByObjId(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by confirmedDelete().
|
finalprivate |
Definition at line 475 of file class.ilObject2GUI.php.
ilObject2GUI::edit | ( | ) |
Reimplemented in ilObjFileGUI, and ilObjWorkspaceFolderGUI.
Definition at line 581 of file class.ilObject2GUI.php.
References ilObjectGUI\editObject().
& ilObject2GUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI, ilObjPollGUI, ilObjTaxonomyGUI, ilObjTermsOfServiceGUI, ilObjBibliographicGUI, ilObjWorkspaceFolderGUI, ilObjMediaPoolGUI, ilObjCloudGUI, ilObjItemGroupGUI, ilObjPortfolioGUI, ilObjWikiSettingsGUI, ilObjLinkResourceGUI, ilObjectPluginGUI, ilObjFileGUI, ilObjHelpSettingsGUI, ilObjPortfolioTemplateGUI, and ilRemoteObjectBaseGUI.
Definition at line 175 of file class.ilObject2GUI.php.
References $cmd, getAccessHandler(), and prepareOutput().
|
finalprotected |
Definition at line 469 of file class.ilObject2GUI.php.
|
finalprotected |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning.
public
string | template variable name that will be filled |
string | type of new object |
Reimplemented from ilObjectGUI.
Definition at line 468 of file class.ilObject2GUI.php.
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\performPasteIntoMultipleObjects(), putObjectInTree(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjBlogGUI\renderList(), ilObjWorkspaceFolderGUI\resetShareFilter(), ilObjFileGUI\saveUnzip(), ilObjWorkspaceFolderGUI\setTabs(), and ilObjWorkspaceFolderGUI\share().
|
finalprotected |
Get center column.
Reimplemented from ilObjectGUI.
Definition at line 452 of file class.ilObject2GUI.php.
|
final |
get creation mode
Reimplemented from ilObjectGUI.
Definition at line 443 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\addLocatorItems(), ilObjMediaPoolGUI\addLocatorItems(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), and ilObjLinkResourceGUI\setTabs().
ilObject2GUI::getHTML | ( | ) |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI, and ilObjPollGUI.
Definition at line 436 of file class.ilObject2GUI.php.
|
protected |
Definition at line 819 of file class.ilObject2GUI.php.
References getType().
Referenced by ilObjBlogGUI\infoScreenForward(), ilObjFileGUI\infoScreenForward(), and ilObjLinkResourceGUI\infoScreenForward().
|
finalprotected |
Deprecated functions.
Definition at line 542 of file class.ilObject2GUI.php.
|
finalprotected |
Display right column.
Reimplemented from ilObjectGUI.
Definition at line 453 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 546 of file class.ilObject2GUI.php.
|
finalprotected |
get target frame for command (command is method name without "Object", e.g.
"perm")
string | $a_cmd | command |
string | $a_target_frame | default target frame (is returned, if no special target frame was set) public |
Reimplemented from ilObjectGUI.
Definition at line 449 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\initMultiUploadForm(), ilObjFileGUI\initSingleUploadForm(), and ilObjFileGUI\initZipUploadForm().
|
finalprotected |
Definition at line 545 of file class.ilObject2GUI.php.
|
abstract |
Functions that must be overwritten.
Reimplemented in ilObjDataCollectionGUI, ilObjTermsOfServiceGUI, ilObjBibliographicGUI, ilObjBlogGUI, ilObjMediaPoolGUI, ilObjCloudGUI, ilObjTaxonomyGUI, ilObjItemGroupGUI, ilObjLinkResourceGUI, ilObjPollGUI, ilObjRemoteCategoryGUI, ilObjRemoteFileGUI, ilObjRemoteGlossaryGUI, ilObjRemoteLearningModuleGUI, ilObjRemoteWikiGUI, ilObjRemoteCourseGUI, ilObjRemoteGroupGUI, ilObjRemoteTestGUI, ilObjPortfolioGUI, ilObjWikiSettingsGUI, ilObjFileGUI, ilObjHelpSettingsGUI, ilObjPortfolioTemplateGUI, ilObjCourseVerificationGUI, ilObjExerciseVerificationGUI, ilObjSCORMVerificationGUI, ilObjWorkspaceFolderGUI, ilObjWorkspaceRootFolderGUI, and ilObjTestVerificationGUI.
Referenced by ilObjectPluginGUI\__construct(), __construct(), ilRemoteObjectBaseGUI\callObject(), ilObjectPluginGUI\executeCommand(), ilObjectPluginGUI\getCreationFormTitle(), getPermanentLinkWidget(), ilObjPortfolioBaseGUI\handlePageCall(), ilRemoteObjectBaseGUI\infoScreen(), ilRemoteObjectBaseGUI\initEditForm(), initHeaderAction(), ilObjPortfolioBaseGUI\preview(), and ilRemoteObjectBaseGUI\updateObject().
|
static |
After creation callback.
ilObject | $a_obj | |
int | $a_callback_ref_id |
Definition at line 692 of file class.ilObject2GUI.php.
References $location, ilObjectGUI\$objDefinition, and ilObject\_lookupType().
Referenced by putObjectInTree(), and ilObjFileGUI\uploadFiles().
|
protected |
Activate rating automatically if parent container setting.
ilObject | $a_new_obj |
Reimplemented from ilObjectGUI.
Definition at line 834 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\handleFileUpload(), and ilObjFileGUI\save().
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 548 of file class.ilObject2GUI.php.
ilObject2GUI::importFile | ( | ) |
Import.
public
Definition at line 611 of file class.ilObject2GUI.php.
References ilObjectGUI\importFileObject().
|
protected |
Init creation froms.
this will create the default creation forms: new, import, clone
string | $a_new_type |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjDataCollectionGUI, ilObjMediaPoolGUI, ilObjCloudGUI, ilObjectPluginGUI, ilObjPortfolioGUI, ilObjBibliographicGUI, ilObjWorkspaceFolderGUI, ilObjItemGroupGUI, and ilObjBlogGUI.
Definition at line 593 of file class.ilObject2GUI.php.
|
protected |
Add header action menu.
string | $a_sub_type | |
int | $a_sub_id |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjFileGUI.
Definition at line 767 of file class.ilObject2GUI.php.
References getAccessHandler(), getType(), and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
Referenced by ilObjCloudGUI\addHeaderAction().
|
final |
Definition at line 451 of file class.ilObject2GUI.php.
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 448 of file class.ilObject2GUI.php.
|
finalprotected |
prepare output
Reimplemented from ilObjectGUI.
Definition at line 444 of file class.ilObject2GUI.php.
Referenced by ilRemoteObjectBaseGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjHelpSettingsGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjTermsOfServiceGUI\executeCommand(), executeCommand(), ilObjPollGUI\executeCommand(), and ilObjBlogGUI\executeCommand().
|
protected |
Add object to tree at given position.
ilObject | $a_obj | |
int | $a_parent_node_id |
Reimplemented from ilObjectGUI.
Definition at line 622 of file class.ilObject2GUI.php.
References $_REQUEST, $ilUser, ilObjectGUI\$objDefinition, $parent_id, ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), ilRbacLog\CREATE_OBJECT, ilObject\createReference(), ilRbacLog\gatherFaPa(), getAccessHandler(), ilObject\getId(), ilObject\getRefId(), handleAfterSaveCallback(), ilObject\putInTree(), and ilObject\setPermissions().
Referenced by ilObjFileGUI\handleFileUpload(), ilObjTestVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjCourseVerificationGUI\save(), and ilObjFileGUI\save().
|
finalprotected |
Definition at line 465 of file class.ilObject2GUI.php.
Referenced by ilObjCloudGUI\afterSave(), ilObjCloudGUI\afterServiceAuth(), ilObjCloudGUI\executeCommand(), and ilObjCloudGUI\serviceAuth().
|
protected |
Updating icons after ajax call.
Definition at line 814 of file class.ilObject2GUI.php.
References ilObjectGUI\redrawHeaderActionObject().
|
final |
Definition at line 464 of file class.ilObject2GUI.php.
ilObject2GUI::save | ( | ) |
Reimplemented in ilObjPortfolioGUI, ilObjTaxonomyGUI, ilObjFileGUI, ilObjBibliographicGUI, ilObjLinkResourceGUI, ilObjCourseVerificationGUI, ilObjExerciseVerificationGUI, ilObjSCORMVerificationGUI, and ilObjTestVerificationGUI.
Definition at line 580 of file class.ilObject2GUI.php.
References ilObjectGUI\saveObject().
|
finalprotected |
Definition at line 470 of file class.ilObject2GUI.php.
|
finalprotected |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 454 of file class.ilObject2GUI.php.
|
final |
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
Reimplemented from ilObjectGUI.
Definition at line 442 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\executeCommand().
|
finalprotected |
set Locator
Reimplemented from ilObjectGUI.
Definition at line 249 of file class.ilObject2GUI.php.
References $_GET, $parent_id, ilObjectGUI\$ref_id, ilObjectGUI\$tpl, and addLocatorItems().
Referenced by ilObjFileGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), and ilObjBlogGUI\executeCommand().
|
finalprotected |
Definition at line 543 of file class.ilObject2GUI.php.
|
protected |
create tabs (repository/workspace switch)
this had to be moved here because of the context-specific permission tab
Reimplemented from ilObjectGUI.
Reimplemented in ilObjLinkResourceGUI, ilObjMediaPoolGUI, ilObjFileGUI, ilObjDataCollectionGUI, ilObjBlogGUI, ilObjCloudGUI, ilObjPollGUI, ilObjItemGroupGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilRemoteObjectBaseGUI, and ilObjWorkspaceRootFolderGUI.
Definition at line 507 of file class.ilObject2GUI.php.
References ilObjectGUI\$lng, $node_id, and checkPermissionBool().
Referenced by ilObjTaxonomyGUI\createTaxNode(), ilObjTaxonomyGUI\deleteItems(), ilObjTaxonomyGUI\editSettings(), ilObjectPluginGUI\executeCommand(), ilObjTaxonomyGUI\listAssignedItems(), ilObjTaxonomyGUI\listNodes(), and ilObjTaxonomyGUI\moveItems().
|
finalprotected |
set specific target frame for command
string | $a_cmd | command |
string | $a_target_frame | default target frame (is returned, if no special target frame was set) public |
Reimplemented from ilObjectGUI.
Definition at line 450 of file class.ilObject2GUI.php.
|
protected |
called by prepare output
Reimplemented from ilObjectGUI.
Reimplemented in ilObjPortfolioGUI, and ilObjWorkspaceRootFolderGUI.
Definition at line 445 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 544 of file class.ilObject2GUI.php.
|
finalprotected |
show possible subobjects (pulldown menu)
public
Reimplemented from ilObjectGUI.
Definition at line 458 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 446 of file class.ilObject2GUI.php.
|
final |
Definition at line 460 of file class.ilObject2GUI.php.
|
final |
Definition at line 462 of file class.ilObject2GUI.php.
ilObject2GUI::update | ( | ) |
Reimplemented in ilObjFileGUI, and ilObjWorkspaceFolderGUI.
Definition at line 582 of file class.ilObject2GUI.php.
References ilObjectGUI\updateObject().
ilObject2GUI::view | ( | ) |
view object content (repository/workspace switch)
Reimplemented in ilObjLinkResourceGUI, ilObjBibliographicGUI, and ilObjPortfolioBaseGUI.
Definition at line 483 of file class.ilObject2GUI.php.
References ilObjectGUI\viewObject().
|
final |
Final/Private declaration of unchanged parent methods.
Reimplemented from ilObjectGUI.
Definition at line 441 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\render(), 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(), 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(), ilObjHelpSettingsGUI\getAdminTabs(), ilObjWikiSettingsGUI\getAdminTabs(), 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(), 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 ilObjExerciseGUI\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().