ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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) | |
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... | |
isVisible () | |
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... | |
![]() | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor @access public. More... | |
& | 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... | |
getAdminTabs (&$tabs_gui) | |
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 ($in_rep=false) | |
cancel action and go back to previous page @access 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 | _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 |
![]() | |
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... | |
prepareOutput () | |
prepare output More... | |
setTitleAndDescription () | |
called by prepare output More... | |
showUpperIcon () | |
omitLocator ($a_omit=true) | |
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... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="") | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
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. More... | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
searchCloneSource () | |
buildCloneSelect ($existing_objs) | |
addAdminLocatorItems () | |
setTabs () | |
create tabs (repository/workspace switch) More... | |
getReturnLocation () | |
Deprecated functions. More... | |
setReturnLocation () | |
showActions () | |
getTitlesByRefId () | |
getTabs () | |
__showButton () | |
hitsperpageObject () | |
__initTableGUI () | |
__setTableGUIBasicData () | |
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) | |
Activate rating automatically if parent container setting. More... | |
![]() | |
assignObject () | |
prepareOutput () | |
prepare output More... | |
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 @access public More... | |
setAdminTabs () | |
set admin tabs @access 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... | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste More... | |
getTabs (&$tabs_gui) | |
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 ($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 | |
![]() | |
$tmp_import_dir | |
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, ilObjBlogGUI, ilObjCloudGUI, ilObjFileGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, ilObjRemoteCategoryGUI, ilObjRemoteCourseGUI, ilObjRemoteFileGUI, ilObjRemoteGlossaryGUI, ilObjRemoteGroupGUI, ilObjRemoteLearningModuleGUI, ilObjRemoteTestGUI, ilObjRemoteWikiGUI, ilObjContactAdministrationGUI, ilRemoteObjectBaseGUI, and ilObjectPluginGUI.
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(), assignObject(), getType(), OBJECT_ID, PEAR_ERROR_CALLBACK, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 557 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 558 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 555 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 486 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\executeCommand().
|
protected |
Functions to be overwritten.
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjCloudGUI, ilObjDataCollectionGUI, ilObjFileGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, ilObjLinkResourceGUI, and ilObjectPluginGUI.
Definition at line 563 of file class.ilObject2GUI.php.
Referenced by setLocator().
|
protected |
Do anything that should be done after constructor in here.
Reimplemented in ilObjItemGroupGUI, and ilObjMediaPoolGUI.
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(), ilObjectFactory\getInstanceByRefId(), OBJECT_ID, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
Referenced by __construct().
|
finalprotected |
Definition at line 480 of file class.ilObject2GUI.php.
ilObject2GUI::cancel | ( | ) |
Reimplemented in ilObjTaxonomyGUI.
Definition at line 591 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.
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(), ilObjBlogGUI\editStyleProperties(), ilObjPortfolioBaseGUI\editStyleProperties(), ilObjCloudGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPortfolioGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\history(), ilObjectPluginGUI\infoScreen(), 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 |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjPortfolioGUI, and ilObjTaxonomyGUI.
Definition at line 732 of file class.ilObject2GUI.php.
References $ilUser, $node_id, $parent_id, and getAccessHandler().
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjBlogGUI\addContributor(), ilObjCloudGUI\asyncGetActionListContent(), 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(), ilObjCloudGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjWikiSettingsGUI\getAdminTabs(), ilObjHelpSettingsGUI\getAdminTabs(), ilObjContactAdministrationGUI\getAdminTabs(), ilObjContactAdministrationGUI\getConfigurationForm(), ilObjCloudGUI\getFile(), ilObjFileGUI\handleFileUpload(), ilObjCloudGUI\infoScreen(), ilRemoteObjectBaseGUI\infoScreen(), ilObjBibliographicGUI\infoScreenForward(), ilObjBlogGUI\infoScreenForward(), ilObjDataCollectionGUI\infoScreenForward(), ilObjFileGUI\infoScreenForward(), ilObjPortfolioTemplateGUI\infoScreenForward(), ilObjWikiSettingsGUI\initForm(), ilObjBlogGUI\isAdmin(), ilObjBlogGUI\mayContribute(), ilObjBlogGUI\mayEditPosting(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjPortfolioBaseGUI\preview(), ilObjPortfolioTemplateGUI\preview(), ilObjBlogGUI\preview(), ilObjPollGUI\render(), ilObjBlogGUI\render(), ilObjCloudGUI\render(), ilObjFileGUI\rollbackVersion(), ilObjFileGUI\save(), ilObjPortfolioBaseGUI\savePortfolioPagesOrdering(), ilObjFileGUI\saveUnzip(), ilObjFileGUI\sendFile(), ilObjHelpSettingsGUI\setMode(), ilObjWorkspaceFolderGUI\setTabs(), ilObjBlogGUI\setTabs(), ilObjFileGUI\setTabs(), ilObjPollGUI\setTabs(), ilObjPortfolioTemplateGUI\setTabs(), ilObjLinkResourceGUI\setTabs(), setTabs(), ilRemoteObjectBaseGUI\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)
Reimplemented in ilObjTaxonomyGUI.
Definition at line 377 of file class.ilObject2GUI.php.
References deleteConfirmedObjects(), OBJECT_ID, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
ilObject2GUI::create | ( | ) |
Deleted in ilObject.
CRUD
Reimplemented in ilObjCourseVerificationGUI, ilObjExerciseVerificationGUI, ilObjSCORMVerificationGUI, and ilObjTestVerificationGUI.
Definition at line 587 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(), OBJECT_ID, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
|
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 483 of file class.ilObject2GUI.php.
ilObject2GUI::edit | ( | ) |
Reimplemented in ilObjFileGUI, ilObjMediaPoolGUI, and ilObjWorkspaceFolderGUI.
Definition at line 589 of file class.ilObject2GUI.php.
& ilObject2GUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjCloudGUI, ilObjFileGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjLinkResourceGUI, ilObjWikiSettingsGUI, ilObjWorkspaceFolderGUI, ilObjContactAdministrationGUI, ilObjHelpSettingsGUI, ilObjectPluginGUI, ilObjTaxonomyGUI, ilObjTermsOfServiceGUI, and ilRemoteObjectBaseGUI.
Definition at line 175 of file class.ilObject2GUI.php.
References $cmd, getAccessHandler(), and prepareOutput().
Referenced by ilObjPortfolioTemplateGUI\executeCommand().
|
finalprotected |
Definition at line 477 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.
@access public
string | template variable name that will be filled |
string | type of new object |
Reimplemented from ilObjectGUI.
Definition at line 476 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\initCreationForms(), and ilObjFileGUI\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(), ilObjBlogGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), executeCommand(), ilObjFileGUI\handleFileUpload(), initHeaderAction(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjWorkspaceFolderGUI\listSharedResourcesOfOtherUser(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), putObjectInTree(), ilObjCourseVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjBlogGUI\renderList(), ilObjWorkspaceFolderGUI\resetShareFilter(), ilObjFileGUI\saveUnzip(), ilObjWorkspaceFolderGUI\setTabs(), and ilObjWorkspaceFolderGUI\share().
|
finalprotected |
Get center column.
Reimplemented from ilObjectGUI.
Definition at line 460 of file class.ilObject2GUI.php.
|
final |
get creation mode
Reimplemented from ilObjectGUI.
Definition at line 451 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\addLocatorItems(), ilObjectPluginGUI\addLocatorItems(), ilObjBlogGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), and ilObjLinkResourceGUI\setTabs().
ilObject2GUI::getHTML | ( | ) |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI, and ilObjPollGUI.
Definition at line 444 of file class.ilObject2GUI.php.
|
protected |
Definition at line 827 of file class.ilObject2GUI.php.
References getType().
|
finalprotected |
Deprecated functions.
Definition at line 550 of file class.ilObject2GUI.php.
|
finalprotected |
Display right column.
Reimplemented from ilObjectGUI.
Definition at line 461 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 554 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) @access public |
Reimplemented from ilObjectGUI.
Definition at line 457 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\initMultiUploadForm(), ilObjFileGUI\initSingleUploadForm(), and ilObjFileGUI\initZipUploadForm().
|
finalprotected |
Definition at line 553 of file class.ilObject2GUI.php.
|
abstract |
Functions that must be overwritten.
Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjCloudGUI, ilObjCourseVerificationGUI, ilObjDataCollectionGUI, ilObjExerciseVerificationGUI, ilObjFileGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjRemoteCategoryGUI, ilObjRemoteCourseGUI, ilObjRemoteFileGUI, ilObjRemoteGlossaryGUI, ilObjRemoteGroupGUI, ilObjRemoteLearningModuleGUI, ilObjRemoteTestGUI, ilObjRemoteWikiGUI, ilObjSCORMVerificationGUI, ilObjTestVerificationGUI, ilObjLinkResourceGUI, ilObjWikiSettingsGUI, ilObjWorkspaceFolderGUI, ilObjWorkspaceRootFolderGUI, ilObjContactAdministrationGUI, ilObjHelpSettingsGUI, ilObjTaxonomyGUI, and ilObjTermsOfServiceGUI.
Referenced by __construct(), ilObjectPluginGUI\__construct(), ilRemoteObjectBaseGUI\callObject(), ilObjectPluginGUI\executeCommand(), ilObjectPluginGUI\getCreationFormTitle(), getPermanentLinkWidget(), 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 700 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 842 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\handleFileUpload(), and ilObjFileGUI\save().
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 556 of file class.ilObject2GUI.php.
ilObject2GUI::importFile | ( | ) |
Import.
@access public
Definition at line 619 of file class.ilObject2GUI.php.
|
protected |
Init creation froms.
this will create the default creation forms: new, import, clone
string | $a_new_type |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjCloudGUI, ilObjDataCollectionGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPortfolioGUI, ilObjWorkspaceFolderGUI, and ilObjectPluginGUI.
Definition at line 601 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 775 of file class.ilObject2GUI.php.
References $lg, getAccessHandler(), getType(), and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
Referenced by ilObjCloudGUI\addHeaderAction().
|
final |
Definition at line 459 of file class.ilObject2GUI.php.
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 456 of file class.ilObject2GUI.php.
|
finalprotected |
prepare output
Reimplemented from ilObjectGUI.
Definition at line 452 of file class.ilObject2GUI.php.
Referenced by ilObjBibliographicGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjContactAdministrationGUI\executeCommand(), ilObjHelpSettingsGUI\executeCommand(), executeCommand(), ilObjTermsOfServiceGUI\executeCommand(), and ilRemoteObjectBaseGUI\executeCommand().
|
protected |
Add object to tree at given position.
ilObject | $a_obj | |
int | $a_parent_node_id |
Reimplemented from ilObjectGUI.
Definition at line 630 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(), OBJECT_ID, PORTFOLIO_OBJECT_ID, ilObject\putInTree(), REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, ilObject\setPermissions(), WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
Referenced by ilObjFileGUI\handleFileUpload(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjFileGUI\save(), ilObjSCORMVerificationGUI\save(), and ilObjTestVerificationGUI\save().
|
finalprotected |
Definition at line 473 of file class.ilObject2GUI.php.
|
protected |
Updating icons after ajax call.
Definition at line 822 of file class.ilObject2GUI.php.
|
final |
Definition at line 472 of file class.ilObject2GUI.php.
ilObject2GUI::save | ( | ) |
Reimplemented in ilObjBibliographicGUI, ilObjCourseVerificationGUI, ilObjExerciseVerificationGUI, ilObjFileGUI, ilObjPortfolioGUI, ilObjSCORMVerificationGUI, ilObjTestVerificationGUI, ilObjLinkResourceGUI, and ilObjTaxonomyGUI.
Definition at line 588 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 478 of file class.ilObject2GUI.php.
|
finalprotected |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 462 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 450 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, addLocatorItems(), REPOSITORY_NODE_ID, and WORKSPACE_NODE_ID.
Referenced by ilObjBlogGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), and ilObjectPluginGUI\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
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI, ilObjCloudGUI, ilObjDataCollectionGUI, ilObjFileGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjLinkResourceGUI, ilObjWorkspaceRootFolderGUI, and ilRemoteObjectBaseGUI.
Definition at line 515 of file class.ilObject2GUI.php.
References ilObjectGUI\$lng, checkPermissionBool(), REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
Referenced by ilObjTaxonomyGUI\createTaxNode(), ilObjTaxonomyGUI\deleteItems(), ilObjTaxonomyGUI\editSettings(), ilObjectPluginGUI\executeCommand(), ilObjTaxonomyGUI\listAssignedItems(), ilObjTaxonomyGUI\listNodes(), ilObjTaxonomyGUI\moveItems(), and ilObjPortfolioTemplateGUI\setTabs().
|
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) @access public |
Reimplemented from ilObjectGUI.
Definition at line 458 of file class.ilObject2GUI.php.
|
protected |
called by prepare output
Reimplemented from ilObjectGUI.
Reimplemented in ilObjPortfolioGUI, and ilObjWorkspaceRootFolderGUI.
Definition at line 453 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 552 of file class.ilObject2GUI.php.
|
finalprotected |
show possible subobjects (pulldown menu)
@access public
Reimplemented from ilObjectGUI.
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 | ( | ) |
Reimplemented in ilObjFileGUI, and ilObjWorkspaceFolderGUI.
Definition at line 590 of file class.ilObject2GUI.php.
ilObject2GUI::view | ( | ) |
view object content (repository/workspace switch)
Reimplemented in ilObjBibliographicGUI, ilObjPortfolioBaseGUI, and ilObjLinkResourceGUI.
Definition at line 491 of file class.ilObject2GUI.php.
References OBJECT_ID, PORTFOLIO_OBJECT_ID, REPOSITORY_NODE_ID, REPOSITORY_OBJECT_ID, WORKSPACE_NODE_ID, and WORKSPACE_OBJECT_ID.
|
final |
Final/Private declaration of unchanged parent methods.
Reimplemented from ilObjectGUI.
Definition at line 449 of file class.ilObject2GUI.php.
|
protected |
Definition at line 36 of file class.ilObject2GUI.php.
Referenced by getAccessHandler(), ilObjFileGUI\handleFileUpload(), ilObjCourseVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\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(), ilObjWorkspaceFolderGUI\checkPassword(), checkPermissionBool(), ilObjWorkspaceFolderGUI\copy(), ilObjWorkspaceFolderGUI\cut(), deleteConfirmation(), deleteConfirmedObjects(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjBlogGUI\renderNavigation(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), and ilObjTestVerificationGUI\save().
|
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(), ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjTestVerificationGUI\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(), ilObjWikiSettingsGUI\getAdminTabs(), ilObjHelpSettingsGUI\getAdminTabs(), ilObjItemGroupGUI\gotoParent(), ilObjFileGUI\handleFileUpload(), ilObjPortfolioGUI\initBlogForm(), ilObjPortfolioGUI\initCreateForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjTaxonomyGUI\pasteItems(), ilObjPortfolioBaseGUI\preview(), ilObjCourseVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\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(), __construct(), assignObject(), confirmedDelete(), delete(), putObjectInTree(), and view().
const ilObject2GUI::PORTFOLIO_OBJECT_ID = 5 |
Definition at line 43 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), ilSharedResourceGUI\executeCommand(), putObjectInTree(), and view().
const ilObject2GUI::REPOSITORY_NODE_ID = 1 |
Definition at line 39 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), ilLinkResourceHandlerGUI\executeCommand(), ilAdministrationGUI\executeCommand(), ilRepositoryGUI\executeCommand(), ilAdministrationSettingsFormHandler\getSettingsGUIInstance(), putObjectInTree(), setLocator(), setTabs(), and view().
const ilObject2GUI::REPOSITORY_OBJECT_ID = 3 |
Definition at line 41 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), putObjectInTree(), setTabs(), and view().
const ilObject2GUI::WORKSPACE_NODE_ID = 2 |
Definition at line 40 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), ilPortfolioPageGUI\executeCommand(), ilPersonalWorkspaceGUI\executeCommand(), ilSharedResourceGUI\executeCommand(), ilObjFileGUI\infoScreenForward(), putObjectInTree(), setLocator(), setTabs(), ilExSubmissionObjectGUI\submitBlog(), and view().
const ilObject2GUI::WORKSPACE_OBJECT_ID = 4 |
Definition at line 42 of file class.ilObject2GUI.php.
Referenced by __construct(), assignObject(), confirmedDelete(), delete(), ilPortfolioPageGUI\dlcrsv(), ilPortfolioPageGUI\dlexcv(), ilPortfolioPageGUI\dlscov(), ilPortfolioPageGUI\dltstv(), ilPortfolioHTMLExport\exportHTMLPages(), ilObjFileGUI\infoScreenForward(), putObjectInTree(), ilPortfolioPageGUI\renderBlog(), ilPortfolioPageGUI\renderVerification(), setTabs(), and view().