|
ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilObjExerciseGUI. More...
Inheritance diagram for ilObjExerciseGUI:
Collaboration diagram for ilObjExerciseGUI:Public Member Functions | |
| ilObjExerciseGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
| Constructor public. | |
| getFiles () | |
| setFiles ($a_files) | |
| createObject ($a_reload=false) | |
| viewObject () | |
| list childs of current object | |
| downloadObject () | |
| desc | |
| deleteDeliveredObject () | |
| Delete delivered file. | |
| deliverObject () | |
| Displays a form which allows members to deliver their solutions. | |
| initUploadForm () | |
| Init upload form form. | |
| initZipUploadForm () | |
| Init upload form form. | |
| deliverFileObject () | |
| Upload files. | |
| deliverUnzipObject () | |
| Upload zip file. | |
| downloadFileObject () | |
| Download files. | |
| saveObject () | |
| save object public | |
| editObject () | |
| edit object | |
| initPropertiesForm ($a_mode="create") | |
| Init properties form. | |
| getPropertiesValues () | |
| Get values for properties form. | |
| updateObject () | |
| Update exercise from values from form. | |
| cancelEditObject () | |
| uploadZipObject () | |
| uploadFileObject () | |
| updateMembersObject () | |
| update data of members table | |
| downloadReturnedObject () | |
| Download submitted files of user. | |
| downloadNewReturnedObject () | |
| Download newly submitted files of user. | |
| addMembersObject () | |
| membersObject () | |
| redirectFeedbackMailObject () | |
| set feedback status for member and redirect to mail screen | |
| downloadAllObject () | |
| Download all submitted files (of all members). | |
| __getMembersOfObject ($a_result, $a_type) | |
| __showObjectSelect ($a_result, $a_type) | |
| sendMembersObject () | |
| Send exercise to members. | |
| deassignMembersObject () | |
| Deassign members from exercise. | |
| saveCommentsObject () | |
| getComments ($member_id) | |
| saveStatusObject () | |
| Save status of selecte members. | |
| __getDateSelect ($a_type, $a_selected) | |
| __filterAssignedUsers ($a_result) | |
| getTabs (&$tabs_gui) | |
| adds tabs to tab gui object | |
| & | executeCommand () |
| execute command | |
| infoScreenObject () | |
| this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed | |
| infoScreen () | |
| show information screen | |
| _goto ($a_target) | |
| redirect script | |
| addLocatorItems () | |
| Add locator item. | |
Public Member Functions inherited from ilObjectGUI | |
| ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
| Constructor public. | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) | |
| 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 | |
| getAdminTabs (&$tabs_gui) | |
| administration tabs show only permissions and trash folder | |
| getHTML () | |
| 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 | |
| createObject () | |
| create new object form | |
| cancelObject ($in_rep=false) | |
| cancel action and go back to previous page public | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. | |
| isVisible ($a_ref_id, $a_type) | |
| 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. | |
| copyWizardHasOptions ($a_mode) | |
| Check if there is any modules specific option. | |
Additional Inherited Members | |
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 | |
Protected Member Functions inherited from ilObjectGUI | |
| assignObject () | |
| prepareOutput () | |
| prepare output | |
| setTitleAndDescription () | |
| called by prepare output | |
| showUpperIcon () | |
| setTabs () | |
| set admin tabs public | |
| setAdminTabs () | |
| set admin tabs public | |
| setLocator () | |
| set Locator | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) | |
| displayEditForm ($fields) | |
| display edit form (usually called by editObject) | |
| afterUpdate () | |
| 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 | |
| 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 | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) | |
| getTitlesByRefId ($a_ref_ids) | |
| get Titles of objects this method is used for error messages in methods cut/copy/paste | |
| __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 | |
| __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 | |
| 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) | |
| Add an object search in case the number of existing objects is too big to offer a selection list. | |
| searchCloneSourceObject () | |
| Search clone source by title. | |
| buildCloneSelect ($existing_objs) | |
| Build a select box for clonable objects (permission write) | |
| getCenterColumnHTML () | |
| Get center column. | |
| getRightColumnHTML () | |
| Display right column. | |
| setColumnSettings ($column_gui) | |
| May be overwritten in subclasses. | |
| checkPermission ($a_perm, $a_cmd="") | |
Class ilObjExerciseGUI.
ilObjExerciseGUI: ilPermissionGUI, ilLearningProgressGUI, ilInfoScreenGUI, ilRepositorySearchGUI ilObjExerciseGUI: ilObjectCopyGUI
Definition at line 18 of file class.ilObjExerciseGUI.php.
| ilObjExerciseGUI::__filterAssignedUsers | ( | $a_result | ) |
Definition at line 1026 of file class.ilObjExerciseGUI.php.
References $user.
| ilObjExerciseGUI::__getDateSelect | ( | $a_type, | |
| $a_selected | |||
| ) |
Definition at line 985 of file class.ilObjExerciseGUI.php.
References formSelect().
Here is the call graph for this function:| ilObjExerciseGUI::__getMembersOfObject | ( | $a_result, | |
| $a_type | |||
| ) |
Definition at line 817 of file class.ilObjExerciseGUI.php.
References $result, and ilObjectFactory\getInstanceByRefId().
Here is the call graph for this function:| ilObjExerciseGUI::__showObjectSelect | ( | $a_result, | |
| $a_type | |||
| ) |
Definition at line 846 of file class.ilObjExerciseGUI.php.
References ilObjectFactory\getInstanceByRefId().
Here is the call graph for this function:| ilObjExerciseGUI::_goto | ( | $a_target | ) |
redirect script
| string | $a_target |
Definition at line 1347 of file class.ilObjExerciseGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjExerciseGUI::addLocatorItems | ( | ) |
Add locator item.
Reimplemented from ilObjectGUI.
Definition at line 1376 of file class.ilObjExerciseGUI.php.
References $_GET.
| ilObjExerciseGUI::addMembersObject | ( | ) |
Definition at line 683 of file class.ilObjExerciseGUI.php.
References $_POST, $ilErr, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjExerciseGUI::cancelEditObject | ( | ) |
Definition at line 585 of file class.ilObjExerciseGUI.php.
| ilObjExerciseGUI::createObject | ( | $a_reload = false | ) |
Definition at line 45 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\fillCloneTemplate(), ilObjectGUI\getTemplateFile(), and initPropertiesForm().
Here is the call graph for this function:| ilObjExerciseGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 892 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, $usr_id, ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
Referenced by updateMembersObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::deleteDeliveredObject | ( | ) |
Delete delivered file.
| @return |
Definition at line 168 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjExerciseGUI::deliverFileObject | ( | ) |
Upload files.
Definition at line 274 of file class.ilObjExerciseGUI.php.
References $file, $ilCtrl, ilObjectGUI\$lng, and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjExerciseGUI::deliverObject | ( | ) |
Displays a form which allows members to deliver their solutions.
public
Definition at line 196 of file class.ilObjExerciseGUI.php.
References $tab, ilObjectGUI\checkPermission(), ilObjectGUI\getTemplateFile(), initUploadForm(), initZipUploadForm(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjExerciseGUI::deliverUnzipObject | ( | ) |
Upload zip file.
Definition at line 299 of file class.ilObjExerciseGUI.php.
References $ilCtrl, and ilObjectGUI\checkPermission().
Here is the call graph for this function:| ilObjExerciseGUI::downloadAllObject | ( | ) |
Download all submitted files (of all members).
Definition at line 793 of file class.ilObjExerciseGUI.php.
References ilObject\_exists(), ilObjectGUI\checkPermission(), and ilObjectFactory\getInstanceByObjId().
Here is the call graph for this function:| ilObjExerciseGUI::downloadFileObject | ( | ) |
Download files.
Definition at line 317 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $file, $files, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), exit, and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjExerciseGUI::downloadNewReturnedObject | ( | ) |
Download newly submitted files of user.
Definition at line 672 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), and exit.
Here is the call graph for this function:| ilObjExerciseGUI::downloadObject | ( | ) |
desc
| @return |
Definition at line 145 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\checkPermission(), exit, and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjExerciseGUI::downloadReturnedObject | ( | ) |
Download submitted files of user.
Definition at line 658 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), and exit.
Here is the call graph for this function:| ilObjExerciseGUI::editObject | ( | ) |
edit object
public
Reimplemented from ilObjectGUI.
Definition at line 395 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), getPropertiesValues(), ilObjectGUI\getTemplateFile(), and initPropertiesForm().
Here is the call graph for this function:| & ilObjExerciseGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 1112 of file class.ilObjExerciseGUI.php.
References $_GET, $cmd, $ilCtrl, $ret, infoScreen(), LP_MODE_REPOSITORY, and ilObjectGUI\prepareOutput().
Here is the call graph for this function:| ilObjExerciseGUI::getComments | ( | $member_id | ) |
Definition at line 928 of file class.ilObjExerciseGUI.php.
| ilObjExerciseGUI::getFiles | ( | ) |
Definition at line 35 of file class.ilObjExerciseGUI.php.
| ilObjExerciseGUI::getPropertiesValues | ( | ) |
Get values for properties form.
Definition at line 511 of file class.ilObjExerciseGUI.php.
References IL_CAL_UNIX, and ilDateTime\setDate().
Referenced by editObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
| object | $tabs_gui | ilTabsGUI object |
Reimplemented from ilObjectGUI.
Definition at line 1044 of file class.ilObjExerciseGUI.php.
References $_GET, and ilLearningProgressAccess\checkAccess().
Here is the call graph for this function:| ilObjExerciseGUI::ilObjExerciseGUI | ( | $a_data, | |
| $a_id, | |||
| $a_call_by_reference, | |||
$a_prepare_output = true |
|||
| ) |
Constructor public.
Definition at line 24 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
Here is the call graph for this function:| ilObjExerciseGUI::infoScreen | ( | ) |
show information screen
Definition at line 1197 of file class.ilObjExerciseGUI.php.
References $_GET, $file, $files, ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilExerciseMembers\_lookupStatus(), ilObjectGUI\checkPermission(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, IL_CAL_UNIX, ilUtil\int2array(), and ilUtil\timearray2string().
Referenced by executeCommand(), and infoScreenObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 1187 of file class.ilObjExerciseGUI.php.
References infoScreen().
Referenced by viewObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::initPropertiesForm | ( | $a_mode = "create" | ) |
Init properties form.
| int | $a_mode | "create"/"edit" |
Definition at line 423 of file class.ilObjExerciseGUI.php.
References $file, $files, $ilCtrl, ilObjectGUI\$lng, ilUtil\getImagePath(), ilCheckboxInputGUI\setOptionTitle(), ilFormPropertyGUI\setRequired(), and ilDateTimeInputGUI\setShowTime().
Referenced by createObject(), editObject(), saveObject(), and updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::initUploadForm | ( | ) |
Init upload form form.
Definition at line 229 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileWizardInputGUI\setFilenames().
Referenced by deliverObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::initZipUploadForm | ( | ) |
Init upload form form.
Definition at line 252 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by deliverObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::membersObject | ( | ) |
Definition at line 708 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\$tpl, ilObjectGUI\$tree, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), and ilObjectGUI\checkPermission().
Referenced by saveCommentsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::redirectFeedbackMailObject | ( | ) |
set feedback status for member and redirect to mail screen
Definition at line 763 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $login, ilObjUser\_lookupLogin(), ilObjectGUI\checkPermission(), ilUtil\redirect(), and ilUtil\sendFailure().
Referenced by updateMembersObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::saveCommentsObject | ( | ) |
Definition at line 913 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjExerciseGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 358 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\createObject(), IL_CAL_UNIX, initPropertiesForm(), ilUtil\redirect(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilObjExerciseGUI::saveStatusObject | ( | ) |
Save status of selecte members.
Definition at line 936 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, $key, ilLPMarks\_lookupMark(), ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilUtil\sendSuccess(), ilLPMarks\setMark(), and ilUtil\stripSlashes().
Referenced by updateMembersObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::sendMembersObject | ( | ) |
Send exercise to members.
Definition at line 873 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by updateMembersObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjExerciseGUI::setFiles | ( | $a_files | ) |
Definition at line 40 of file class.ilObjExerciseGUI.php.
| ilObjExerciseGUI::updateMembersObject | ( | ) |
update data of members table
Definition at line 621 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), deassignMembersObject(), exit, redirectFeedbackMailObject(), saveStatusObject(), and sendMembersObject().
Here is the call graph for this function:| ilObjExerciseGUI::updateObject | ( | ) |
Update exercise from values from form.
Reimplemented from ilObjectGUI.
Definition at line 527 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), IL_CAL_UNIX, initPropertiesForm(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjExerciseGUI::uploadFileObject | ( | ) |
Definition at line 604 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjExerciseGUI::uploadZipObject | ( | ) |
Definition at line 590 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjExerciseGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 60 of file class.ilObjExerciseGUI.php.
References $_GET, $file, ilLearningProgress\_tracProgress(), ilUtil\formRadioButton(), ilUtil\getImagePath(), ilObjectGUI\getTemplateFile(), infoScreenObject(), ilUtil\int2array(), and ilUtil\timearray2string().
Here is the call graph for this function: