ILIAS
Release_4_2_x_branch Revision 61807
|
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 () | |
getAdminTabs ($a) | |
view () | |
view object content (repository/workspace switch) | |
getTemplateFile () | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. | |
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 | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
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. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
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 |
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 () | |
should be overwritten to add object specific items (repository items are preloaded) | |
setTabs () | |
create tabs (repository/workspace switch) | |
getReturnLocation () | |
Deprecated functions. | |
setReturnLocation () | |
showActions () | |
getTitlesByRefId () | |
getTabs () | |
__showButton () | |
hitsperpageObject () | |
__initTableGUI () | |
__setTableGUIBasicData () | |
__showClipboardTable () | |
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) | |
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. | |
setAdminTabs () | |
set admin tabs public | |
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. | |
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 | |
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 | |
__showClipboardTable ($a_result_set, $a_from="") | |
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. |
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 ilObjBlogGUI, and ilObjectPluginGUI.
Definition at line 51 of file class.ilObject2GUI.php.
References $ilCtrl, $ilErr, 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 536 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 537 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 534 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 538 of file class.ilObject2GUI.php.
|
finalprotected |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 465 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\executeCommand().
|
protected |
Functions to be overwritten.
Reimplemented from ilObjectGUI.
Reimplemented in ilObjMediaPoolGUI, ilObjFileGUI, and ilObjectPluginGUI.
Definition at line 543 of file class.ilObject2GUI.php.
Referenced by setLocator().
|
protected |
Do anything that should be done after constructor in here.
Reimplemented in ilObjMediaPoolGUI.
Definition at line 160 of file class.ilObject2GUI.php.
Referenced by __construct().
|
finalprotected |
create object instance as internal property (repository/workspace switch)
Reimplemented from ilObjectGUI.
Definition at line 201 of file class.ilObject2GUI.php.
References ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().
Referenced by __construct().
|
finalprotected |
Definition at line 459 of file class.ilObject2GUI.php.
ilObject2GUI::cancel | ( | ) |
Definition at line 572 of file class.ilObject2GUI.php.
References ilObjectGUI\cancelObject().
|
final |
Definition at line 450 of file class.ilObject2GUI.php.
References ilObjectGUI\cancelDeleteObject().
|
finalprotected |
Definition at line 442 of file class.ilObject2GUI.php.
Referenced by ilObjLinkResourceGUI\addLink(), ilObjLinkResourceGUI\confirmDeleteLink(), ilObjMediaPoolGUI\copyToClipboard(), ilObjLinkResourceGUI\deactivateLink(), ilObjLinkResourceGUI\deleteLinks(), ilObjLinkResourceGUI\deleteParameter(), ilObjLinkResourceGUI\deleteParameterForm(), ilObjLinkResourceGUI\editLink(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\history(), ilObjectPluginGUI\infoScreen(), ilObjLinkResourceGUI\infoScreenForward(), ilObjLinkResourceGUI\linkChecker(), ilObjLinkResourceGUI\manage(), ilObjLinkResourceGUI\saveAddLink(), ilObjLinkResourceGUI\saveSettings(), ilObjLinkResourceGUI\saveSorting(), ilObjLinkResourceGUI\settings(), ilObjLinkResourceGUI\showLinks(), ilObjLinkResourceGUI\sort(), ilObjLinkResourceGUI\updateLinks(), and ilObjLinkResourceGUI\view().
|
protected |
Check permission.
string | $a_perm | |
string | $a_cmd | |
string | $a_type | |
int | $a_node_id |
Reimplemented from ilObjectGUI.
Definition at line 674 of file class.ilObject2GUI.php.
References $node_id, $parent_id, and getAccessHandler().
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjWorkspaceFolderGUI\cut(), deleteConfirmation(), ilObjFileGUI\edit(), ilObjFileGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjBlogGUI\infoScreenForward(), ilObjFileGUI\infoScreenForward(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjBlogGUI\preview(), ilObjBlogGUI\render(), ilObjBlogGUI\renderList(), ilObjFileGUI\save(), ilObjFileGUI\saveUnzip(), ilObjFileGUI\sendFile(), ilObjWorkspaceFolderGUI\setTabs(), ilObjBlogGUI\setTabs(), setTabs(), ilObjFileGUI\setTabs(), ilObjLinkResourceGUI\setTabs(), ilObjLinkResourceGUI\showToolbar(), and ilObjFileGUI\versions().
|
final |
Definition at line 458 of file class.ilObject2GUI.php.
References ilObjectGUI\cloneAllObject().
ilObject2GUI::confirmedDelete | ( | ) |
Delete objects (repository/workspace switch)
Definition at line 365 of file class.ilObject2GUI.php.
References ilObjectGUI\confirmedDeleteObject(), and deleteConfirmedObjects().
ilObject2GUI::copyWizardHasOptions | ( | $a_mode | ) |
Check if there is any modules specific option.
public
int | wizard mode COPY_WIZARD_GENERAL,COPY_WIZARD_NEEDS_PAGE, COPY_WIZARD_OBJ_SPECIFIC |
Reimplemented from ilObjectGUI.
Definition at line 544 of file class.ilObject2GUI.php.
ilObject2GUI::create | ( | ) |
Deleted in ilObject.
CRUD
Reimplemented in ilObjExerciseVerificationGUI, and ilObjTestVerificationGUI.
Definition at line 568 of file class.ilObject2GUI.php.
References ilObjectGUI\createObject().
ilObject2GUI::delete | ( | ) |
Display delete confirmation form (repository/workspace switch)
Definition at line 288 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 311 of file class.ilObject2GUI.php.
References $_REQUEST, ilObjectGUI\$lng, $node_id, ilObjectGUI\$obj_id, ilObjectGUI\$objDefinition, $title, 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 388 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 462 of file class.ilObject2GUI.php.
ilObject2GUI::edit | ( | ) |
Reimplemented in ilObjFileGUI, and ilObjWorkspaceFolderGUI.
Definition at line 570 of file class.ilObject2GUI.php.
References ilObjectGUI\editObject().
& ilObject2GUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI, ilObjMediaPoolGUI, ilObjWorkspaceFolderGUI, ilObjLinkResourceGUI, ilObjectPluginGUI, and ilObjFileGUI.
Definition at line 167 of file class.ilObject2GUI.php.
References $cmd, getAccessHandler(), and prepareOutput().
|
finalprotected |
Definition at line 456 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 455 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\initCreationForms(), and ilObjectPluginGUI\initCreationForms().
|
protected |
Get access handler.
Definition at line 230 of file class.ilObject2GUI.php.
References $access_handler.
Referenced by ilObjWorkspaceFolderGUI\applyShareFilter(), checkPermissionBool(), ilObjWorkspaceFolderGUI\copy(), deleteConfirmedObjects(), ilObjFileGUI\executeCommand(), executeCommand(), ilObjBlogGUI\executeCommand(), initHeaderAction(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), putObjectInTree(), ilObjExerciseVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjBlogGUI\renderList(), ilObjWorkspaceFolderGUI\resetShareFilter(), ilObjFileGUI\saveUnzip(), and ilObjWorkspaceFolderGUI\share().
|
final |
Definition at line 464 of file class.ilObject2GUI.php.
|
finalprotected |
Get center column.
Reimplemented from ilObjectGUI.
Definition at line 439 of file class.ilObject2GUI.php.
|
final |
get creation mode
Reimplemented from ilObjectGUI.
Definition at line 430 of file class.ilObject2GUI.php.
Referenced by ilObjectPluginGUI\addLocatorItems(), ilObjMediaPoolGUI\addLocatorItems(), ilObjFileGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), and ilObjLinkResourceGUI\setTabs().
ilObject2GUI::getHTML | ( | ) |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjBlogGUI.
Definition at line 423 of file class.ilObject2GUI.php.
|
protected |
Definition at line 769 of file class.ilObject2GUI.php.
References getType().
Referenced by ilObjBlogGUI\infoScreenForward(), ilObjFileGUI\infoScreenForward(), ilObjLinkResourceGUI\infoScreenForward(), and ilObjBlogGUI\renderList().
|
finalprotected |
Deprecated functions.
Definition at line 528 of file class.ilObject2GUI.php.
|
finalprotected |
Display right column.
Reimplemented from ilObjectGUI.
Definition at line 440 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 533 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 436 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\initSingleUploadForm(), and ilObjFileGUI\initZipUploadForm().
|
final |
Definition at line 531 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 532 of file class.ilObject2GUI.php.
|
abstract |
Functions that must be overwritten.
Reimplemented in ilObjMediaPoolGUI, ilObjBlogGUI, ilObjLinkResourceGUI, ilObjFileGUI, ilObjExerciseVerificationGUI, ilObjTestVerificationGUI, ilObjWorkspaceFolderGUI, and ilObjWorkspaceRootFolderGUI.
Referenced by ilObjectPluginGUI\__construct(), __construct(), ilObjectPluginGUI\executeCommand(), ilObjectPluginGUI\getCreationFormTitle(), getPermanentLinkWidget(), and initHeaderAction().
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 535 of file class.ilObject2GUI.php.
ilObject2GUI::importFile | ( | ) |
Import.
public
Definition at line 600 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 ilObjMediaPoolGUI, ilObjectPluginGUI, ilObjWorkspaceFolderGUI, and ilObjBlogGUI.
Definition at line 582 of file class.ilObject2GUI.php.
|
protected |
Add header action menu.
string | $a_sub_type | |
int | $a_sub_id |
Reimplemented from ilObjectGUI.
Definition at line 717 of file class.ilObject2GUI.php.
References getAccessHandler(), getType(), and ilCommonActionDispatcherGUI\TYPE_WORKSPACE.
|
final |
Definition at line 438 of file class.ilObject2GUI.php.
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 435 of file class.ilObject2GUI.php.
|
finalprotected |
prepare output
Reimplemented from ilObjectGUI.
Definition at line 431 of file class.ilObject2GUI.php.
Referenced by ilObjFileGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), 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 611 of file class.ilObject2GUI.php.
References $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 ilObjExerciseVerificationGUI\save(), ilObjTestVerificationGUI\save(), and ilObjFileGUI\save().
|
finalprotected |
Definition at line 452 of file class.ilObject2GUI.php.
|
protected |
Updating icons after ajax call.
Definition at line 764 of file class.ilObject2GUI.php.
References ilObjectGUI\redrawHeaderActionObject().
|
final |
Definition at line 451 of file class.ilObject2GUI.php.
References ilObjectGUI\removeFromSystemObject().
ilObject2GUI::save | ( | ) |
Reimplemented in ilObjFileGUI, ilObjLinkResourceGUI, ilObjExerciseVerificationGUI, and ilObjTestVerificationGUI.
Definition at line 569 of file class.ilObject2GUI.php.
References ilObjectGUI\saveObject().
|
finalprotected |
Definition at line 457 of file class.ilObject2GUI.php.
|
finalprotected |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 441 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 429 of file class.ilObject2GUI.php.
Referenced by ilObjMediaPoolGUI\executeCommand().
|
finalprotected |
set Locator
Reimplemented from ilObjectGUI.
Definition at line 238 of file class.ilObject2GUI.php.
References $_GET, $parent_id, ilObjectGUI\$ref_id, ilObjectGUI\$tpl, and addLocatorItems().
Referenced by ilObjFileGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), and ilObjMediaPoolGUI\executeCommand().
|
finalprotected |
Definition at line 529 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 ilObjMediaPoolGUI, ilObjLinkResourceGUI, ilObjFileGUI, ilObjBlogGUI, and ilObjWorkspaceRootFolderGUI.
Definition at line 493 of file class.ilObject2GUI.php.
References ilObjectGUI\$lng, $node_id, and checkPermissionBool().
Referenced by ilObjectPluginGUI\executeCommand().
|
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 437 of file class.ilObject2GUI.php.
|
protected |
called by prepare output
Reimplemented from ilObjectGUI.
Reimplemented in ilObjWorkspaceRootFolderGUI.
Definition at line 432 of file class.ilObject2GUI.php.
|
finalprotected |
Definition at line 530 of file class.ilObject2GUI.php.
|
finalprotected |
show possible subobjects (pulldown menu)
public
Reimplemented from ilObjectGUI.
Definition at line 445 of file class.ilObject2GUI.php.
|
finalprotected |
Reimplemented from ilObjectGUI.
Definition at line 433 of file class.ilObject2GUI.php.
|
final |
Definition at line 447 of file class.ilObject2GUI.php.
References ilObjectGUI\trashObject().
|
final |
Definition at line 449 of file class.ilObject2GUI.php.
References ilObjectGUI\undeleteObject().
ilObject2GUI::update | ( | ) |
Reimplemented in ilObjFileGUI, and ilObjWorkspaceFolderGUI.
Definition at line 571 of file class.ilObject2GUI.php.
References ilObjectGUI\updateObject().
ilObject2GUI::view | ( | ) |
view object content (repository/workspace switch)
Reimplemented in ilObjLinkResourceGUI.
Definition at line 470 of file class.ilObject2GUI.php.
References ilObjectGUI\viewObject().
|
final |
Final/Private declaration of unchanged parent methods.
Reimplemented from ilObjectGUI.
Definition at line 428 of file class.ilObject2GUI.php.
|
protected |
Definition at line 36 of file class.ilObject2GUI.php.
Referenced by getAccessHandler(), 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(), ilObjFileGUI\addLocatorItems(), checkPermissionBool(), ilObjWorkspaceFolderGUI\copy(), ilObjWorkspaceFolderGUI\cut(), deleteConfirmation(), deleteConfirmedObjects(), ilObjBlogGUI\initHeaderAction(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjBlogGUI\render(), ilObjExerciseVerificationGUI\save(), ilObjTestVerificationGUI\save(), ilObjBlogGUI\setNotification(), 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(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), putObjectInTree(), ilObjTestVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), and setLocator().
ilObject2GUI::$tree |
Definition at line 35 of file class.ilObject2GUI.php.
Referenced by __construct(), ilObjLinkResourceGUI\__setLocator(), ilObjMediaPoolGUI\addLocatorItems(), ilObjMediaPoolGUI\allMedia(), ilObjMediaPoolGUI\createMediaFromUploadDir(), ilObjMediaPoolGUI\executeCommand(), ilObjMediaPoolGUI\listMedia(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjExerciseVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjBlogGUI\render(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjFileGUI\saveUnzip(), and ilObjWorkspaceFolderGUI\showMoveIntoObjectTree().
const ilObject2GUI::OBJECT_ID = 0 |
Definition at line 38 of file class.ilObject2GUI.php.
const ilObject2GUI::REPOSITORY_NODE_ID = 1 |
Definition at line 39 of file class.ilObject2GUI.php.
Referenced by ilLinkResourceHandlerGUI\executeCommand(), and ilRepositoryGUI\executeCommand().
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(), and ilObjExerciseGUI\submitBlog().
const ilObject2GUI::WORKSPACE_OBJECT_ID = 4 |
Definition at line 42 of file class.ilObject2GUI.php.
Referenced by ilPortfolioPageGUI\executeCommand(), ilPortfolioHTMLExport\exportHTMLPages(), ilPortfolioPageGUI\renderBlog(), and ilPortfolioPageGUI\renderVerification().