ILIAS
release_4-3 Revision
|
Class ilObjExerciseGUI. More...
Public Member Functions | |
ilObjExerciseGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
Constructor public. | |
getFiles () | |
setFiles ($a_files) | |
executeCommand () | |
execute command | |
viewObject () | |
list childs of current object | |
downloadObject () | |
User downloads (own) submitted files. | |
confirmDeleteDeliveredObject () | |
Confirm deletion of delivered files. | |
deleteDeliveredObject () | |
Delete file(s) submitted by user. | |
submissionScreenObject () | |
Displays a form which allows members to deliver their solutions. | |
uploadFormObject () | |
Display form for single file upload. | |
uploadZipFormObject () | |
Display form for zip file upload. | |
initUploadForm () | |
Init upload form form. | |
initZipUploadForm () | |
Init upload form form. | |
deliverFileObject () | |
Upload files. | |
deliverUnzipObject () | |
Upload zip file. | |
downloadFeedbackFileObject () | |
Download feedback file. | |
downloadFileObject () | |
Download assignment file. | |
cancelEditObject () | |
uploadZipObject () | |
uploadFileObject () | |
updateMembersObject () | |
update data of members table | |
downloadReturnedObject () | |
Download submitted files of user. | |
downloadNewReturnedObject () | |
Download newly submitted files of user. | |
addUserFromAutoCompleteObject () | |
Add user as member. | |
addMembersObject ($a_user_ids=array()) | |
Add new partipant. | |
membersObject () | |
All participants and submission of one assignment. | |
selectAssignmentObject () | |
Select assignment. | |
showParticipantObject () | |
Show Participant. | |
selectParticipantObject () | |
Select participant. | |
showGradesOverviewObject () | |
Show grades overview. | |
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 assignment per mail to participants. | |
confirmDeassignMembersObject () | |
Confirm deassigning members. | |
deassignMembersObject () | |
Deassign members from exercise. | |
saveCommentsObject () | |
saveStatusParticipantObject () | |
Save assignment status (participant view) | |
saveStatusObject ($a_part_view=false) | |
Save status of selecte members. | |
__getDateSelect ($a_type, $a_selected) | |
__filterAssignedUsers ($a_result) | |
addSubmissionSubTabs ($a_activate) | |
adds tabs to tab gui object | |
addContentSubTabs ($a_activate) | |
Add subtabs of content view. | |
getTabs ($tabs_gui) | |
adds tabs to tab gui object | |
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 | |
editObject () | |
edit object | |
_goto ($a_target) | |
redirect script | |
addLocatorItems () | |
Add locator item. | |
listAssignmentsObject () | |
List assignments. | |
addAssignmentObject () | |
Create assignment. | |
initAssignmentForm ($a_mode="create") | |
Init assignment form. | |
saveAssignmentObject () | |
Save assignment. | |
editAssignmentObject () | |
Edit assignment. | |
getAssignmentValues () | |
Get current values for assignment from. | |
updateAssignmentObject () | |
Update assignment. | |
confirmAssignmentsDeletionObject () | |
Confirm assignments deletion. | |
deleteAssignmentsObject () | |
Delete assignments. | |
saveAssignmentOrderObject () | |
Save assignments order. | |
orderAssignmentsByDeadlineObject () | |
Order by deadline. | |
setAssignmentHeader () | |
Set assignment header. | |
showOverviewObject () | |
Show overview of assignments. | |
listPublicSubmissionsObject () | |
List all submissions. | |
exportExcelObject () | |
Export as excel. | |
saveGradesObject () | |
Save grades. | |
removeExistingSubmissions () | |
remove existing files/submissions for assignment | |
submitBlog ($a_blog_id) | |
Submit blog for assignment. | |
submitPortfolio ($a_portfolio_id) | |
Submit portfolio for assignment. | |
certificateObject () | |
outCertificateObject () | |
submissionScreenTeamObject () | |
Displays a form which allows members to manage team uploads. | |
addTeamMemberContainerObject () | |
addTeamMemberContainerActionObject () | |
addTeamMemberActionObject ($a_user_ids=array()) | |
confirmRemoveTeamMemberObject () | |
removeTeamMemberObject () | |
submissionScreenTeamLogObject () | |
createSingleMemberTeamObject () | |
showTeamLogObject () | |
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 () | |
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 | |
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) | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
Protected Member Functions | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Init properties form. | |
getEditFormCustomValues (array &$a_values) | |
Get values for properties form. | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
setSettingsSubTabs () | |
sendNotifications ($assignment_id) | |
Send submission notifications. | |
createBlogObject () | |
selectBlogObject () | |
saveBlogObject () | |
setSelectedBlogObject () | |
askDirectionSubmissionObject () | |
directSubmitObject () | |
selectPortfolioObject () | |
createPortfolioObject () | |
setSelectedPortfolioObject () | |
renderWorkspaceExplorer ($a_cmd) | |
initTeamSubmission ($a_back_cmd, $a_mandatory_team=true) | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
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) | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
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. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
initEditForm () | |
Init object edit form. | |
getEditFormValues () | |
Get values for edit form. | |
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 | |
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) | |
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= '') | |
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. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. |
Additional Inherited Members | |
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 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 |
Class ilObjExerciseGUI.
ilObjExerciseGUI: ilPermissionGUI, ilLearningProgressGUI, ilInfoScreenGUI ilObjExerciseGUI: ilObjectCopyGUI, ilFileSystemGUI, ilExportGUI, ilShopPurchaseGUI ilObjExerciseGUI: ilRepositorySearchGUI, ilCommonActionDispatcherGUI ilObjExerciseGUI: ilCertificateGUI
Definition at line 22 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::__filterAssignedUsers | ( | $a_result | ) |
Definition at line 1623 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::__getDateSelect | ( | $a_type, | |
$a_selected | |||
) |
Definition at line 1582 of file class.ilObjExerciseGUI.php.
References ilUtil\formSelect().
ilObjExerciseGUI::__getMembersOfObject | ( | $a_result, | |
$a_type | |||
) |
Definition at line 1284 of file class.ilObjExerciseGUI.php.
References $result, and ilObjectFactory\getInstanceByRefId().
ilObjExerciseGUI::__showObjectSelect | ( | $a_result, | |
$a_type | |||
) |
Definition at line 1313 of file class.ilObjExerciseGUI.php.
References ilObjectFactory\getInstanceByRefId().
ilObjExerciseGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 1898 of file class.ilObjExerciseGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::addAssignmentObject | ( | ) |
Create assignment.
Definition at line 1968 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), and initAssignmentForm().
ilObjExerciseGUI::addContentSubTabs | ( | $a_activate | ) |
Add subtabs of content view.
object | $tabs_gui | ilTabsGUI object |
Definition at line 1659 of file class.ilObjExerciseGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by addAssignmentObject(), askDirectionSubmissionObject(), confirmAssignmentsDeletionObject(), createBlogObject(), listAssignmentsObject(), listPublicSubmissionsObject(), saveAssignmentObject(), showOverviewObject(), and updateAssignmentObject().
ilObjExerciseGUI::addLocatorItems | ( | ) |
Add locator item.
Reimplemented from ilObjectGUI.
Definition at line 1931 of file class.ilObjExerciseGUI.php.
References $_GET.
ilObjExerciseGUI::addMembersObject | ( | $a_user_ids = array() | ) |
Add new partipant.
Definition at line 939 of file class.ilObjExerciseGUI.php.
References $ilErr, ilObjectGUI\checkPermission(), ilExAssignment\getAssignmentDataOfExercise(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by addUserFromAutoCompleteObject().
ilObjExerciseGUI::addSubmissionSubTabs | ( | $a_activate | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1641 of file class.ilObjExerciseGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by membersObject(), showGradesOverviewObject(), showParticipantObject(), and showTeamLogObject().
ilObjExerciseGUI::addTeamMemberActionObject | ( | $a_user_ids = array() | ) |
Definition at line 3173 of file class.ilObjExerciseGUI.php.
References $ilUser, ilExerciseMembers\_writeReturned(), ilObjectGUI\checkPermission(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilExAssignment\updateStatusReturnedForUser().
Referenced by addUserFromAutoCompleteObject().
ilObjExerciseGUI::addTeamMemberContainerActionObject | ( | ) |
Definition at line 3134 of file class.ilObjExerciseGUI.php.
References $_POST, $ilUser, ilExerciseMembers\_writeReturned(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilExAssignment\updateStatusReturnedForUser().
ilObjExerciseGUI::addTeamMemberContainerObject | ( | ) |
Definition at line 3117 of file class.ilObjExerciseGUI.php.
References initTeamSubmission(), and ilExAssignmentTeamTableGUI\MODE_ADD.
ilObjExerciseGUI::addUserFromAutoCompleteObject | ( | ) |
Add user as member.
Definition at line 890 of file class.ilObjExerciseGUI.php.
References $_POST, $_REQUEST, ilObjUser\_lookupId(), addMembersObject(), addTeamMemberActionObject(), membersObject(), ilUtil\sendFailure(), and submissionScreenTeamObject().
|
protected |
Post (successful) object creation hook.
ilObject | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 680 of file class.ilObjExerciseGUI.php.
References ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
|
protected |
Definition at line 2711 of file class.ilObjExerciseGUI.php.
References $_REQUEST, ilObjectGUI\$tpl, and addContentSubTabs().
ilObjExerciseGUI::cancelEditObject | ( | ) |
Definition at line 776 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::certificateObject | ( | ) |
Definition at line 2971 of file class.ilObjExerciseGUI.php.
References setSettingsSubTabs().
ilObjExerciseGUI::confirmAssignmentsDeletionObject | ( | ) |
Confirm assignments deletion.
Definition at line 2322 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\lookupTitle(), and ilUtil\sendInfo().
ilObjExerciseGUI::confirmDeassignMembersObject | ( | ) |
Confirm deassigning members.
Definition at line 1381 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilUserUtil\getNamePresentation(), ilExAssignment\getTeamMembersByAssignmentId(), ilUtil\sendFailure(), and ilExAssignment\TYPE_UPLOAD_TEAM.
ilObjExerciseGUI::confirmDeleteDeliveredObject | ( | ) |
Confirm deletion of delivered files.
Definition at line 291 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, ilObjectGUI\$lng, $title, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilExAssignment\getDeliveredFiles(), and ilUtil\sendFailure().
ilObjExerciseGUI::confirmRemoveTeamMemberObject | ( | ) |
Definition at line 3221 of file class.ilObjExerciseGUI.php.
References $_POST, $file, $ilUser, ilObjectGUI\$tpl, ilExAssignment\getDeliveredFiles(), ilUserUtil\getNamePresentation(), initTeamSubmission(), removeTeamMemberObject(), and ilUtil\sendFailure().
|
protected |
Definition at line 2574 of file class.ilObjExerciseGUI.php.
References $ilUser, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), renderWorkspaceExplorer(), and ilUtil\sendInfo().
Referenced by saveBlogObject().
|
protected |
Definition at line 2897 of file class.ilObjExerciseGUI.php.
References $ilUser, ilObjectGUI\checkPermission(), and ilUtil\sendSuccess().
ilObjExerciseGUI::createSingleMemberTeamObject | ( | ) |
Definition at line 3351 of file class.ilObjExerciseGUI.php.
References $_GET, $cmd, and ilUtil\sendSuccess().
ilObjExerciseGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 1434 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, $usr_id, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by updateMembersObject().
ilObjExerciseGUI::deleteAssignmentsObject | ( | ) |
Delete assignments.
Definition at line 2359 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::deleteDeliveredObject | ( | ) |
Delete file(s) submitted by user.
@return |
Definition at line 351 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, $ilUser, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjExerciseGUI::deliverFileObject | ( | ) |
Upload files.
Definition at line 503 of file class.ilObjExerciseGUI.php.
References $_GET, $file, $ilCtrl, $ilUser, ilObjectGUI\$lng, $success, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and sendNotifications().
ilObjExerciseGUI::deliverUnzipObject | ( | ) |
Upload zip file.
Definition at line 540 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\checkPermission(), and sendNotifications().
|
protected |
Definition at line 2741 of file class.ilObjExerciseGUI.php.
References $_REQUEST, $ilUser, $success, ilUtil\sendFailure(), ilUtil\sendSuccess(), submitBlog(), and submitPortfolio().
ilObjExerciseGUI::downloadAllObject | ( | ) |
Download all submitted files (of all members).
Definition at line 1257 of file class.ilObjExerciseGUI.php.
References $_GET, ilObject\_exists(), ilObjectGUI\checkPermission(), ilExAssignment\downloadAllDeliveredFiles(), exit, ilObjectFactory\getInstanceByObjId(), and ilExAssignment\updateTutorDownloadTime().
ilObjExerciseGUI::downloadFeedbackFileObject | ( | ) |
Download feedback file.
Definition at line 562 of file class.ilObjExerciseGUI.php.
References $_GET, $_REQUEST, $file, $ilUser, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), exit, ilUtil\sendFailure(), and ilExAssignment\TYPE_UPLOAD_TEAM.
ilObjExerciseGUI::downloadFileObject | ( | ) |
Download assignment file.
Definition at line 627 of file class.ilObjExerciseGUI.php.
References $_GET, $_REQUEST, $file, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), exit, getFiles(), and ilUtil\sendFailure().
ilObjExerciseGUI::downloadNewReturnedObject | ( | ) |
Download newly submitted files of user.
Definition at line 875 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), ilExAssignment\deliverReturnedFiles(), and exit.
ilObjExerciseGUI::downloadObject | ( | ) |
User downloads (own) submitted files.
@return |
Definition at line 266 of file class.ilObjExerciseGUI.php.
References $_GET, $_REQUEST, $ilCtrl, $ilUser, ilObjectGUI\checkPermission(), ilExAssignment\downloadSelectedFiles(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::downloadReturnedObject | ( | ) |
Download submitted files of user.
Definition at line 849 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), ilExAssignment\deliverReturnedFiles(), and exit.
ilObjExerciseGUI::editAssignmentObject | ( | ) |
Edit assignment.
Definition at line 2177 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), getAssignmentValues(), initAssignmentForm(), and setAssignmentHeader().
ilObjExerciseGUI::editObject | ( | ) |
edit object
public
Reimplemented from ilObjectGUI.
Definition at line 1871 of file class.ilObjExerciseGUI.php.
References setSettingsSubTabs().
ilObjExerciseGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 57 of file class.ilObjExerciseGUI.php.
References $_GET, $_REQUEST, $cmd, $ilCtrl, $ilUser, ilObjectGUI\$lng, $ret, ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilUserUtil\getNamePresentation(), infoScreen(), initTeamSubmission(), ilExAssignment\lookupTitle(), LP_MODE_REPOSITORY, ilObjectGUI\prepareOutput(), setAssignmentHeader(), setSettingsSubTabs(), ilFileSystemGUI\setTableId(), and ilExAssignment\TYPE_UPLOAD_TEAM.
ilObjExerciseGUI::exportExcelObject | ( | ) |
Export as excel.
Definition at line 2525 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and exit.
ilObjExerciseGUI::getAssignmentValues | ( | ) |
Get current values for assignment from.
Definition at line 2195 of file class.ilObjExerciseGUI.php.
References $_GET, ilExAssignment\getAllDeliveredFiles(), IL_CAL_UNIX, and ilDateTime\setDate().
Referenced by editAssignmentObject().
|
protected |
Get values for properties form.
Reimplemented from ilObjectGUI.
Definition at line 738 of file class.ilObjExerciseGUI.php.
References $ilUser, ilNotification\hasNotification(), and ilNotification\TYPE_EXERCISE_SUBMISSION.
ilObjExerciseGUI::getFiles | ( | ) |
Definition at line 47 of file class.ilObjExerciseGUI.php.
Referenced by downloadFileObject().
ilObjExerciseGUI::getTabs | ( | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1679 of file class.ilObjExerciseGUI.php.
References $_GET, $ilUser, ilObjectGUI\$lng, and ilLearningProgressAccess\checkAccess().
ilObjExerciseGUI::ilObjExerciseGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Constructor public.
Definition at line 28 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjExerciseGUI::infoScreen | ( | ) |
show information screen
Definition at line 1767 of file class.ilObjExerciseGUI.php.
References $_GET, $ilUser, $img, ilObjectGUI\$lng, ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilObjectGUI\checkPermission(), and ilExAssignment\getAssignmentDataOfExercise().
Referenced by executeCommand(), and infoScreenObject().
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 1757 of file class.ilObjExerciseGUI.php.
References infoScreen().
Referenced by viewObject().
ilObjExerciseGUI::initAssignmentForm | ( | $a_mode = "create" | ) |
Init assignment form.
int | $a_mode | "create"/"edit" |
Definition at line 1986 of file class.ilObjExerciseGUI.php.
References $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilCheckboxInputGUI\setChecked(), ilFileWizardInputGUI\setFilenames(), ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), ilSelectInputGUI\setOptions(), ilTextAreaInputGUI\setRows(), ilDateTimeInputGUI\setShowTime(), ilExAssignment\TYPE_BLOG, ilExAssignment\TYPE_PORTFOLIO, ilExAssignment\TYPE_UPLOAD, and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by addAssignmentObject(), editAssignmentObject(), saveAssignmentObject(), and updateAssignmentObject().
|
protected |
Init properties form.
Reimplemented from ilObjectGUI.
Definition at line 691 of file class.ilObjExerciseGUI.php.
References ilPropertyFormGUI\addItem(), ilExAssignment\countMandatory(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setSize(), and ilPropertyFormGUI\setTitle().
|
protected |
Definition at line 2999 of file class.ilObjExerciseGUI.php.
References $ilUser, ilObjectGUI\checkPermission(), and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by addTeamMemberContainerObject(), confirmRemoveTeamMemberObject(), executeCommand(), submissionScreenObject(), submissionScreenTeamLogObject(), and submissionScreenTeamObject().
ilObjExerciseGUI::initUploadForm | ( | ) |
Init upload form form.
Definition at line 456 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileWizardInputGUI\setFilenames().
Referenced by uploadFormObject().
ilObjExerciseGUI::initZipUploadForm | ( | ) |
Init upload form form.
Definition at line 480 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by uploadZipFormObject().
ilObjExerciseGUI::listAssignmentsObject | ( | ) |
List assignments.
Definition at line 1948 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, addContentSubTabs(), and ilObjectGUI\checkPermission().
ilObjExerciseGUI::listPublicSubmissionsObject | ( | ) |
List all submissions.
Definition at line 2507 of file class.ilObjExerciseGUI.php.
References $_GET, $tab, ilObjectGUI\$tpl, addContentSubTabs(), and ilObjectGUI\checkPermission().
ilObjExerciseGUI::membersObject | ( | ) |
All participants and submission of one assignment.
Definition at line 981 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $si, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObject\_lookupObjId(), ilObject\_lookupType(), addSubmissionSubTabs(), ilObjectGUI\checkPermission(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilExAssignment\getAssignmentDataOfExercise(), and ilUtil\sendInfo().
Referenced by addUserFromAutoCompleteObject(), saveCommentsObject(), and selectAssignmentObject().
ilObjExerciseGUI::orderAssignmentsByDeadlineObject | ( | ) |
Order by deadline.
Definition at line 2403 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilExAssignment\orderAssByDeadline(), and ilUtil\sendSuccess().
ilObjExerciseGUI::outCertificateObject | ( | ) |
Definition at line 2983 of file class.ilObjExerciseGUI.php.
References $ilUser, ilUtil\sendFailure(), and showOverviewObject().
ilObjExerciseGUI::redirectFeedbackMailObject | ( | ) |
set feedback status for member and redirect to mail screen
Definition at line 1203 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilObjUser\_lookupLogin(), ilObjectGUI\checkPermission(), ilMailFormCall\getRedirectTarget(), ilExAssignment\getTeamMembersByAssignmentId(), ilUtil\redirect(), ilUtil\sendFailure(), ilExAssignment\TYPE_UPLOAD_TEAM, and ilExAssignment\updateStatusFeedbackForUser().
Referenced by updateMembersObject().
ilObjExerciseGUI::removeExistingSubmissions | ( | ) |
remove existing files/submissions for assignment
Definition at line 2695 of file class.ilObjExerciseGUI.php.
References $ilUser, ilExAssignment\deleteDeliveredFiles(), and ilExAssignment\getDeliveredFiles().
Referenced by setSelectedBlogObject(), setSelectedPortfolioObject(), submitBlog(), and submitPortfolio().
ilObjExerciseGUI::removeTeamMemberObject | ( | ) |
Definition at line 3288 of file class.ilObjExerciseGUI.php.
References $_POST, $ilUser, ilExerciseMembers\_writeReturned(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilExAssignment\updateStatusReturnedForUser().
Referenced by confirmRemoveTeamMemberObject().
|
protected |
Definition at line 2932 of file class.ilObjExerciseGUI.php.
References $_GET, $ilUser, ilObjectGUI\$tree, and ilWorkspaceExplorer\SEL_TYPE_RADIO.
Referenced by createBlogObject(), and selectBlogObject().
ilObjExerciseGUI::saveAssignmentObject | ( | ) |
Save assignment.
Definition at line 2092 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), IL_CAL_UNIX, initAssignmentForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjExerciseGUI::saveAssignmentOrderObject | ( | ) |
Save assignments order.
Definition at line 2387 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilExAssignment\saveAssOrderOfExercise(), and ilUtil\sendSuccess().
|
protected |
Definition at line 2635 of file class.ilObjExerciseGUI.php.
References $_POST, $ilUser, ilObjectGUI\$tree, createBlogObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjExerciseGUI::saveCommentsObject | ( | ) |
Definition at line 1456 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::saveGradesObject | ( | ) |
Save grades.
Definition at line 2535 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::saveStatusObject | ( | $a_part_view = false | ) |
Save status of selecte members.
Definition at line 1484 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilExAssignment\lookupMarkOfUser(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), ilExAssignment\TYPE_UPLOAD_TEAM, ilExAssignment\updateCommentForUser(), ilExAssignment\updateMarkOfUser(), ilExAssignment\updateNoticeForUser(), ilExAssignment\updateStatusOfUser(), and ilExAssignment\updateStatusTimeOfUser().
Referenced by saveStatusParticipantObject(), and updateMembersObject().
ilObjExerciseGUI::saveStatusParticipantObject | ( | ) |
Save assignment status (participant view)
Definition at line 1475 of file class.ilObjExerciseGUI.php.
References saveStatusObject().
ilObjExerciseGUI::selectAssignmentObject | ( | ) |
Select assignment.
Definition at line 1075 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
|
protected |
Definition at line 2604 of file class.ilObjExerciseGUI.php.
References $ilUser, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), renderWorkspaceExplorer(), and ilUtil\sendInfo().
ilObjExerciseGUI::selectParticipantObject | ( | ) |
Select participant.
Definition at line 1162 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, showParticipantObject(), and ilUtil\stripSlashes().
|
protected |
Definition at line 2853 of file class.ilObjExerciseGUI.php.
References $ilUser, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilObjPortfolio\getPortfoliosOfUser(), and ilUtil\sendInfo().
Referenced by setSelectedBlogObject(), and setSelectedPortfolioObject().
ilObjExerciseGUI::sendMembersObject | ( | ) |
Send assignment per mail to participants.
Definition at line 1340 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\checkPermission(), ilExAssignment\getTeamMembersByAssignmentId(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilExAssignment\TYPE_UPLOAD_TEAM.
Referenced by updateMembersObject().
|
protected |
Send submission notifications.
int | $assignment_id |
Definition at line 2560 of file class.ilObjExerciseGUI.php.
References ilNotification\getNotificationsForObject(), ilNotification\TYPE_EXERCISE_SUBMISSION, and ilExerciseMailNotification\TYPE_SUBMISSION_UPLOAD.
Referenced by deliverFileObject(), deliverUnzipObject(), submitBlog(), and submitPortfolio().
ilObjExerciseGUI::setAssignmentHeader | ( | ) |
Set assignment header.
Definition at line 2419 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilExAssignment\lookupTitle().
Referenced by editAssignmentObject(), and executeCommand().
ilObjExerciseGUI::setFiles | ( | $a_files | ) |
Definition at line 52 of file class.ilObjExerciseGUI.php.
|
protected |
Definition at line 2668 of file class.ilObjExerciseGUI.php.
References $_POST, $ilUser, ilObjectGUI\$tree, removeExistingSubmissions(), selectPortfolioObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 2914 of file class.ilObjExerciseGUI.php.
References $_POST, $ilUser, removeExistingSubmissions(), selectPortfolioObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 1878 of file class.ilObjExerciseGUI.php.
References ilCertificate\isActive().
Referenced by certificateObject(), editObject(), and executeCommand().
ilObjExerciseGUI::showGradesOverviewObject | ( | ) |
Show grades overview.
Definition at line 1175 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, addSubmissionSubTabs(), and ilObjectGUI\checkPermission().
ilObjExerciseGUI::showOverviewObject | ( | ) |
Show overview of assignments.
Definition at line 2451 of file class.ilObjExerciseGUI.php.
References $ilUser, ilObjectGUI\$tpl, ilCertificate\_isComplete(), ilLearningProgress\_tracProgress(), addContentSubTabs(), ilObjectGUI\checkPermission(), and ilExAssignment\getAssignmentDataOfExercise().
Referenced by outCertificateObject().
ilObjExerciseGUI::showParticipantObject | ( | ) |
Show Participant.
Definition at line 1088 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, $si, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjUser\_lookupName(), ilObject\_lookupType(), addSubmissionSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\getAssignmentDataOfExercise(), ilUtil\sendInfo(), and ilUtil\sortArray().
Referenced by selectParticipantObject().
ilObjExerciseGUI::showTeamLogObject | ( | ) |
Definition at line 3371 of file class.ilObjExerciseGUI.php.
References $_GET, addSubmissionSubTabs(), ilObjectGUI\checkPermission(), and ilExAssignment\getTeamIdByAssignment().
ilObjExerciseGUI::submissionScreenObject | ( | ) |
Displays a form which allows members to deliver their solutions.
public
Definition at line 385 of file class.ilObjExerciseGUI.php.
References $_GET, $tab, initTeamSubmission(), and ilUtil\sendInfo().
ilObjExerciseGUI::submissionScreenTeamLogObject | ( | ) |
Definition at line 3339 of file class.ilObjExerciseGUI.php.
References initTeamSubmission().
ilObjExerciseGUI::submissionScreenTeamObject | ( | ) |
Displays a form which allows members to manage team uploads.
public
Definition at line 3054 of file class.ilObjExerciseGUI.php.
References ilRepositorySearchGUI\fillAutoCompleteToolbar(), initTeamSubmission(), ilExAssignmentTeamTableGUI\MODE_EDIT, and ilUtil\sendInfo().
Referenced by addUserFromAutoCompleteObject().
ilObjExerciseGUI::submitBlog | ( | $a_blog_id | ) |
Submit blog for assignment.
int | $a_blog_id |
Definition at line 2777 of file class.ilObjExerciseGUI.php.
References $file, $ilUser, $size, removeExistingSubmissions(), sendNotifications(), and ilObject2GUI\WORKSPACE_NODE_ID.
Referenced by directSubmitObject().
ilObjExerciseGUI::submitPortfolio | ( | $a_portfolio_id | ) |
Submit portfolio for assignment.
int | $a_portfolio_id |
Definition at line 2817 of file class.ilObjExerciseGUI.php.
References $file, $ilUser, $size, removeExistingSubmissions(), and sendNotifications().
Referenced by directSubmitObject().
ilObjExerciseGUI::updateAssignmentObject | ( | ) |
Update assignment.
Definition at line 2240 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), IL_CAL_UNIX, initAssignmentForm(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Insert custom update form values into object.
ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 758 of file class.ilObjExerciseGUI.php.
References $ilUser, ilPropertyFormGUI\getInput(), ilNotification\setNotification(), and ilNotification\TYPE_EXERCISE_SUBMISSION.
ilObjExerciseGUI::updateMembersObject | ( | ) |
update data of members table
Definition at line 812 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), deassignMembersObject(), exit, redirectFeedbackMailObject(), saveStatusObject(), and sendMembersObject().
ilObjExerciseGUI::uploadFileObject | ( | ) |
Definition at line 795 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
ilObjExerciseGUI::uploadFormObject | ( | ) |
Display form for single file upload.
Definition at line 416 of file class.ilObjExerciseGUI.php.
References initUploadForm().
ilObjExerciseGUI::uploadZipFormObject | ( | ) |
Display form for zip file upload.
Definition at line 436 of file class.ilObjExerciseGUI.php.
References initZipUploadForm().
ilObjExerciseGUI::uploadZipObject | ( | ) |
Definition at line 781 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
ilObjExerciseGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 255 of file class.ilObjExerciseGUI.php.
References infoScreenObject().