ILIAS
Release_4_2_x_branch Revision 61807
|
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. | |
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 () | |
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 | |
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. | |
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. |
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) | |
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. | |
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) | |
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) | |
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 | |
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 1426 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::__getDateSelect | ( | $a_type, | |
$a_selected | |||
) |
Definition at line 1385 of file class.ilObjExerciseGUI.php.
References formSelect().
ilObjExerciseGUI::__getMembersOfObject | ( | $a_result, | |
$a_type | |||
) |
Definition at line 1151 of file class.ilObjExerciseGUI.php.
References $result, and ilObjectFactory\getInstanceByRefId().
ilObjExerciseGUI::__showObjectSelect | ( | $a_result, | |
$a_type | |||
) |
Definition at line 1180 of file class.ilObjExerciseGUI.php.
References ilObjectFactory\getInstanceByRefId().
ilObjExerciseGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 1699 of file class.ilObjExerciseGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::addAssignmentObject | ( | ) |
Create assignment.
Definition at line 1773 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 1462 of file class.ilObjExerciseGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by addAssignmentObject(), askDirectionSubmissionObject(), confirmAssignmentsDeletionObject(), confirmDeleteDeliveredObject(), createBlogObject(), listAssignmentsObject(), listPublicSubmissionsObject(), saveAssignmentObject(), selectBlogObject(), selectPortfolioObject(), showOverviewObject(), submissionScreenObject(), and updateAssignmentObject().
ilObjExerciseGUI::addLocatorItems | ( | ) |
Add locator item.
Reimplemented from ilObjectGUI.
Definition at line 1736 of file class.ilObjExerciseGUI.php.
References $_GET.
ilObjExerciseGUI::addMembersObject | ( | $a_user_ids = array() | ) |
Add new partipant.
Definition at line 839 of file class.ilObjExerciseGUI.php.
References $ilErr, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by addUserFromAutoCompleteObject().
ilObjExerciseGUI::addSubmissionSubTabs | ( | $a_activate | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Definition at line 1444 of file class.ilObjExerciseGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by membersObject(), showGradesOverviewObject(), and showParticipantObject().
ilObjExerciseGUI::addUserFromAutoCompleteObject | ( | ) |
Add user as member.
Definition at line 805 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjUser\_lookupId(), addMembersObject(), membersObject(), and ilUtil\sendFailure().
|
protected |
Post (successful) object creation hook.
ilObject | $a_new_object |
Reimplemented from ilObjectGUI.
Definition at line 595 of file class.ilObjExerciseGUI.php.
References ilObject\getRefId(), ilUtil\redirect(), and ilUtil\sendSuccess().
|
protected |
Definition at line 2479 of file class.ilObjExerciseGUI.php.
References $_REQUEST, ilObjectGUI\$tpl, and addContentSubTabs().
ilObjExerciseGUI::cancelEditObject | ( | ) |
Definition at line 691 of file class.ilObjExerciseGUI.php.
ilObjExerciseGUI::certificateObject | ( | ) |
Definition at line 2738 of file class.ilObjExerciseGUI.php.
References setSettingsSubTabs().
ilObjExerciseGUI::confirmAssignmentsDeletionObject | ( | ) |
Confirm assignments deletion.
Definition at line 2101 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 1229 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilUserUtil\getNamePresentation(), and ilUtil\sendFailure().
ilObjExerciseGUI::confirmDeleteDeliveredObject | ( | ) |
Confirm deletion of delivered files.
Definition at line 256 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $files, $ilCtrl, ilObjectGUI\$lng, $title, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\getDeliveredFiles(), and ilUtil\sendFailure().
|
protected |
Definition at line 2343 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), renderWorkspaceExplorer(), and ilUtil\sendInfo().
Referenced by saveBlogObject().
|
protected |
Definition at line 2664 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendSuccess().
ilObjExerciseGUI::deassignMembersObject | ( | ) |
Deassign members from exercise.
Definition at line 1264 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 2138 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, $ilDB, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::deleteDeliveredObject | ( | ) |
Delete file(s) submitted by user.
@return |
Definition at line 312 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjExerciseGUI::deliverFileObject | ( | ) |
Upload files.
Definition at line 424 of file class.ilObjExerciseGUI.php.
References $_GET, $file, $ilCtrl, ilObjectGUI\$lng, $success, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and sendNotifications().
ilObjExerciseGUI::deliverUnzipObject | ( | ) |
Upload zip file.
Definition at line 461 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\checkPermission(), and sendNotifications().
|
protected |
Definition at line 2509 of file class.ilObjExerciseGUI.php.
References $_REQUEST, $success, ilUtil\sendFailure(), ilUtil\sendSuccess(), submitBlog(), and submitPortfolio().
ilObjExerciseGUI::downloadAllObject | ( | ) |
Download all submitted files (of all members).
Definition at line 1124 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 483 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $file, $files, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::downloadFileObject | ( | ) |
Download assignment file.
Definition at line 540 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $file, $files, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), exit, getFiles(), and ilUtil\sendFailure().
ilObjExerciseGUI::downloadNewReturnedObject | ( | ) |
Download newly submitted files of user.
Definition at line 790 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), ilExAssignment\deliverReturnedFiles(), and exit.
ilObjExerciseGUI::downloadObject | ( | ) |
User downloads (own) submitted files.
@return |
Definition at line 231 of file class.ilObjExerciseGUI.php.
References $_GET, $_REQUEST, $ilCtrl, ilObjectGUI\checkPermission(), ilExAssignment\downloadSelectedFiles(), exit, and ilUtil\sendFailure().
ilObjExerciseGUI::downloadReturnedObject | ( | ) |
Download submitted files of user.
Definition at line 764 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\checkPermission(), ilExAssignment\deliverReturnedFiles(), and exit.
ilObjExerciseGUI::editAssignmentObject | ( | ) |
Edit assignment.
Definition at line 1969 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 1672 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, $cmd, $ilCtrl, ilObjectGUI\$lng, $ret, ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilUserUtil\getNamePresentation(), infoScreen(), ilExAssignment\lookupTitle(), LP_MODE_REPOSITORY, ilObjectGUI\prepareOutput(), setAssignmentHeader(), setSettingsSubTabs(), and ilFileSystemGUI\setTableId().
ilObjExerciseGUI::exportExcelObject | ( | ) |
Export as excel.
Definition at line 2294 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and exit.
ilObjExerciseGUI::getAssignmentValues | ( | ) |
Get current values for assignment from.
Definition at line 1987 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 653 of file class.ilObjExerciseGUI.php.
References 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 1482 of file class.ilObjExerciseGUI.php.
References $_GET, 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 1568 of file class.ilObjExerciseGUI.php.
References $_GET, $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 1558 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 1791 of file class.ilObjExerciseGUI.php.
References $files, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilFormPropertyGUI\setInfo(), ilTextInputGUI\setMaxLength(), ilSelectInputGUI\setOptions(), ilTextAreaInputGUI\setRows(), ilDateTimeInputGUI\setShowTime(), ilExAssignment\TYPE_BLOG, ilExAssignment\TYPE_PORTFOLIO, and ilExAssignment\TYPE_UPLOAD.
Referenced by addAssignmentObject(), editAssignmentObject(), saveAssignmentObject(), and updateAssignmentObject().
|
protected |
Init properties form.
Reimplemented from ilObjectGUI.
Definition at line 606 of file class.ilObjExerciseGUI.php.
References ilPropertyFormGUI\addItem(), ilExAssignment\countMandatory(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setSize(), and ilPropertyFormGUI\setTitle().
ilObjExerciseGUI::initUploadForm | ( | ) |
Init upload form form.
Definition at line 379 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileWizardInputGUI\setFilenames().
Referenced by submissionScreenObject().
ilObjExerciseGUI::initZipUploadForm | ( | ) |
Init upload form form.
Definition at line 402 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilFileInputGUI\setSuffixes().
Referenced by submissionScreenObject().
ilObjExerciseGUI::listAssignmentsObject | ( | ) |
List assignments.
Definition at line 1753 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, $t, ilObjectGUI\$tpl, addContentSubTabs(), and ilObjectGUI\checkPermission().
ilObjExerciseGUI::listPublicSubmissionsObject | ( | ) |
List all submissions.
Definition at line 2276 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 868 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObject\_lookupObjId(), ilObject\_lookupType(), addSubmissionSubTabs(), ilObjectGUI\checkPermission(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilExAssignment\getAssignmentDataOfExercise(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
Referenced by addUserFromAutoCompleteObject(), saveCommentsObject(), and selectAssignmentObject().
ilObjExerciseGUI::orderAssignmentsByDeadlineObject | ( | ) |
Order by deadline.
Definition at line 2182 of file class.ilObjExerciseGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilExAssignment\orderAssByDeadline(), and ilUtil\sendSuccess().
ilObjExerciseGUI::outCertificateObject | ( | ) |
Definition at line 2750 of file class.ilObjExerciseGUI.php.
References ilUtil\sendFailure(), and showOverviewObject().
ilObjExerciseGUI::redirectFeedbackMailObject | ( | ) |
set feedback status for member and redirect to mail screen
Definition at line 1090 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilMailFormCall\_getRedirectTarget(), ilObjUser\_lookupLogin(), ilObjectGUI\checkPermission(), ilUtil\redirect(), ilUtil\sendFailure(), and ilExAssignment\updateStatusFeedbackForUser().
Referenced by updateMembersObject().
ilObjExerciseGUI::removeExistingSubmissions | ( | ) |
remove existing files/submissions for assignment
Definition at line 2463 of file class.ilObjExerciseGUI.php.
References $files, ilExAssignment\deleteDeliveredFiles(), and ilExAssignment\getDeliveredFiles().
Referenced by setSelectedBlogObject(), setSelectedPortfolioObject(), submitBlog(), and submitPortfolio().
|
protected |
Definition at line 2699 of file class.ilObjExerciseGUI.php.
References $_GET, ilObjectGUI\$tree, and ilWorkspaceExplorer\SEL_TYPE_RADIO.
Referenced by createBlogObject(), and selectBlogObject().
ilObjExerciseGUI::saveAssignmentObject | ( | ) |
Save assignment.
Definition at line 1891 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 2166 of file class.ilObjExerciseGUI.php.
References $_POST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\checkPermission(), ilExAssignment\saveAssOrderOfExercise(), and ilUtil\sendSuccess().
|
protected |
Definition at line 2403 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\$tree, createBlogObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjExerciseGUI::saveCommentsObject | ( | ) |
Definition at line 1286 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjExerciseGUI::saveGradesObject | ( | ) |
Save grades.
Definition at line 2304 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 1314 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilExAssignment\lookupMarkOfUser(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), 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 1305 of file class.ilObjExerciseGUI.php.
References saveStatusObject().
ilObjExerciseGUI::selectAssignmentObject | ( | ) |
Select assignment.
Definition at line 962 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, membersObject(), and ilUtil\stripSlashes().
|
protected |
Definition at line 2373 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), renderWorkspaceExplorer(), and ilUtil\sendInfo().
ilObjExerciseGUI::selectParticipantObject | ( | ) |
Select participant.
Definition at line 1049 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, showParticipantObject(), and ilUtil\stripSlashes().
|
protected |
Definition at line 2621 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), ilObjPortfolio\getPortfoliosOfUser(), and ilUtil\sendInfo().
Referenced by setSelectedBlogObject(), and setSelectedPortfolioObject().
ilObjExerciseGUI::sendMembersObject | ( | ) |
Send assignment per mail to participants.
Definition at line 1207 of file class.ilObjExerciseGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by updateMembersObject().
|
protected |
Send submission notifications.
int | $assignment_id |
Definition at line 2329 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 2198 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 2436 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\$tree, removeExistingSubmissions(), selectPortfolioObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 2681 of file class.ilObjExerciseGUI.php.
References $_POST, removeExistingSubmissions(), selectPortfolioObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Definition at line 1679 of file class.ilObjExerciseGUI.php.
References ilRPCServerSettings\getInstance().
Referenced by certificateObject(), editObject(), and executeCommand().
ilObjExerciseGUI::showGradesOverviewObject | ( | ) |
Show grades overview.
Definition at line 1062 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 2229 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\$tpl, ilCertificate\_isComplete(), ilLearningProgress\_tracProgress(), addContentSubTabs(), ilObjectGUI\checkPermission(), and ilExAssignment\getAssignmentDataOfExercise().
Referenced by outCertificateObject().
ilObjExerciseGUI::showParticipantObject | ( | ) |
Show Participant.
Definition at line 975 of file class.ilObjExerciseGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjUser\_lookupName(), ilObject\_lookupType(), addSubmissionSubTabs(), ilObjectGUI\checkPermission(), ilExAssignment\getAssignmentDataOfExercise(), ilUtil\sendInfo(), ilSelectInputGUI\setOptions(), and ilUtil\sortArray().
Referenced by selectParticipantObject().
ilObjExerciseGUI::submissionScreenObject | ( | ) |
Displays a form which allows members to deliver their solutions.
public
Definition at line 345 of file class.ilObjExerciseGUI.php.
References $_GET, $tab, addContentSubTabs(), ilObjectGUI\checkPermission(), ilObjectGUI\getTemplateFile(), initUploadForm(), initZipUploadForm(), and ilUtil\sendInfo().
ilObjExerciseGUI::submitBlog | ( | $a_blog_id | ) |
Submit blog for assignment.
int | $a_blog_id |
Definition at line 2545 of file class.ilObjExerciseGUI.php.
References $file, $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 2585 of file class.ilObjExerciseGUI.php.
References $file, $size, removeExistingSubmissions(), and sendNotifications().
Referenced by directSubmitObject().
ilObjExerciseGUI::updateAssignmentObject | ( | ) |
Update assignment.
Definition at line 2026 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 673 of file class.ilObjExerciseGUI.php.
References ilPropertyFormGUI\getInput(), ilNotification\setNotification(), and ilNotification\TYPE_EXERCISE_SUBMISSION.
ilObjExerciseGUI::updateMembersObject | ( | ) |
update data of members table
Definition at line 727 of file class.ilObjExerciseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), deassignMembersObject(), exit, redirectFeedbackMailObject(), saveStatusObject(), and sendMembersObject().
ilObjExerciseGUI::uploadFileObject | ( | ) |
Definition at line 710 of file class.ilObjExerciseGUI.php.
References ilObjectGUI\checkPermission(), and ilUtil\sendFailure().
ilObjExerciseGUI::uploadZipObject | ( | ) |
Definition at line 696 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 220 of file class.ilObjExerciseGUI.php.
References infoScreenObject().