ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilObjCourseGUI. More...
Public Member Functions | |
ilObjCourseGUI () | |
Constructor public. | |
gatewayObject () | |
memberGatewayObject () | |
Gateway for member administration commands. | |
sendMailToSelectedUsersObject () | |
cancelMemberObject () | |
canceledObject is called when operation is canceled, method links back public | |
renderObject () | |
render the object | |
viewObject () | |
list childs of current object | |
renderContainer () | |
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 | |
saveNotificationObject () | |
:TEMP: Save notification setting (from infoscreen) | |
editInfoObject (ilPropertyFormGUI $a_form=null) | |
Edit info page informations. | |
confirmDeleteInfoFilesObject () | |
show info file donfimation table | |
deleteInfoFilesObject () | |
Delete info files. | |
initInfoEditor () | |
init info editor | |
updateInfoObject () | |
updateObject () | |
updates object entry in object_data | |
editObject () | |
edit object | |
editCourseIconsObject ($a_form=null) | |
edit container icons | |
initCourseIconsForm () | |
sendFileObject () | |
updateCourseIconsObject () | |
update container icons | |
setSubTabs ($a_tab) | |
set sub tabs | |
showPossibleSubObjects () | |
show possible sub objects selection list | |
removeSmallIconObject () | |
remove small icon | |
removeBigIconObject () | |
remove big icon | |
removeTinyIconObject () | |
remove small icon | |
downloadArchivesObject () | |
setShowHidePrefs () | |
set preferences (show/hide tabel content) | |
readMemberData ($ids, $role= 'admin', $selected_columns=null) | |
updateAdminStatusObject () | |
update admin status | |
updateTutorStatusObject () | |
update tuto status | |
updateMemberStatusObject () | |
updateMemberStatus | |
updateRoleStatusObject () | |
Update status of additional course roles. | |
updateParticipantsStatus ($type, $visible_members, $passed, $notification, $blocked) | |
__showWaitingList () | |
editMemberObject () | |
edit member | |
editMembersObject () | |
edit members | |
updateMembersObject () | |
update members | |
updateMemberObject () | |
assignMembersObject (array $a_usr_ids, $a_type) | |
callback from repository search gui ilRbacSystem $rbacsystem | |
assignFromWaitingListObject () | |
refuseFromListObject () | |
refuse from waiting list | |
performRemoveFromWaitingListObject () | |
assignSubscribersObject () | |
autoFillObject () | |
deleteSubscribers () | |
removeFromWaitingList () | |
leaveObject () | |
unsubscribeObject () | |
DEPRECATED? | |
performUnsubscribeObject () | |
deleteMembersObject () | |
Delete members ilAccessHandler $ilAccess. | |
refuseSubscribersObject () | |
getTabs (&$tabs_gui) | |
Get tabs. | |
fetchPrintSubscriberData ($a_members) | |
fetchPrintMemberData ($a_members) | |
printMembersObject () | |
getAttendanceListUserData ($a_user_id) | |
printMembersOutputObject () | |
membersGalleryObject () | |
__initTableGUI () | |
__setTableGUIBasicData (&$tbl, &$result_set, $from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showRemoveFromWaitingListTable ($a_result_set) | |
__showDeleteSubscriberTable ($a_result_set) | |
__showWaitingListTable ($a_result_set, $a_waiting_list_ids=NULL) | |
__getDateSelect ($a_type, $a_varname, $a_selected) | |
__toUnix ($a_time_arr) | |
__unsetSessionVariables () | |
mailMembersObject () | |
executeCommand () | |
execute command note: this method is overwritten in all container objects | |
_forwards () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
toUnix ($date, $time=array()) | |
__prepareDateSelect ($a_unix_time) | |
__prepareTimeSelect ($a_unix_time) | |
editMapSettingsObject () | |
Edit Map Settings. | |
saveMapSettingsObject () | |
membersMapObject () | |
Members map. | |
modifyItemGUI ($a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container. | |
setContentSubTabs () | |
Set content sub tabs. | |
askResetObject () | |
ask reset test results | |
resetObject () | |
__checkStartObjects () | |
prepareOutput () | |
Handle member view. | |
deliverCertificateObject () | |
saveSortingObject () | |
Save Sorting. | |
confirmRefuseSubscribersObject () | |
confirmAssignSubscribersObject () | |
confirmRefuseFromListObject () | |
confirmAssignFromWaitingListObject () | |
Public Member Functions inherited from ilContainerGUI | |
ilContainerGUI ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
forwardToStyleSheet () | |
Forward to style object. | |
& | forwardToPageObject () |
forward command to page object | |
addPageTabs () | |
Add page tabs. | |
getContainerPageHTML () | |
Get container page HTML. | |
prepareOutput ($a_show_subobjects=true) | |
prepare output | |
showTreeFlatIcon () | |
setTitleAndDescription () | |
called by prepare output | |
getContentGUI () | |
Get content gui object. | |
showAdministrationPanel (&$tpl) | |
show administration panel | |
__showTimingsButton (&$tpl) | |
showPermanentLink (&$tpl) | |
show permanent link | |
switchToStdEditorObject () | |
Switch to standard page editor. | |
switchToOldEditorObject () | |
Switch to old page editor. | |
useNewEditorObject () | |
Use new editor (-> delete xhtml content page) | |
editPageFrameObject () | |
show page editor frameset | |
editPageContentObject () | |
edit page content (for repository root node and categories) | |
savePageContentObject () | |
cancelPageContentObject () | |
showLinkListObject () | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination | |
& | newBlockTemplate () |
determin admin commands | |
addHeaderRow (&$a_tpl, $a_type, $a_show_image=true) | |
adds a header row to a block template | |
addStandardRow (&$a_tpl, $a_html, $a_item_ref_id="", $a_item_obj_id="", $a_image_type="") | |
adds a standard row to a block template | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row | |
resetRowType () | |
setPageEditorTabs () | |
Add page editor tabs. | |
addStandardContainerSubTabs ($a_include_view=true) | |
Add standar container subtabs for view, manage, oderdering and text/media editor link. | |
enableAdministrationPanelObject () | |
enable administration panel | |
disableAdministrationPanelObject () | |
enable administration panel | |
editOrderObject () | |
Edit order. | |
isActiveOrdering () | |
Check if ordering is enabled. | |
isActiveItemOrdering () | |
Check if item ordering is enabled. | |
addToDeskObject () | |
removeFromDeskObject () | |
enableMultiDownloadObject () | |
isMultiDownloadEnabled () | |
lockObject () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. | |
downloadObject () | |
linkObject () | |
create an new reference of an object in tree it's like a hard link of unix | |
clearObject () | |
clear clipboard and go back to last object | |
performPasteIntoMultipleObjectsObject () | |
initAndDisplayLinkIntoMultipleObjectsObject () | |
showPasteTreeObject () | |
Show paste tree. | |
cancelMoveLinkObject () | |
Cancel move|link empty clipboard and return to parent. | |
keepObjectsInClipboardObject () | |
Keep objects in the clipboard. | |
initAndDisplayCopyIntoMultipleObjectsObject () | |
initAndDisplayMoveIntoObjectObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved | |
clipboardObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. | |
showCustomIconsEditing ($a_input_colspan=1, ilPropertyFormGUI $a_form=null, $a_as_section=true) | |
show edit section of custom icons for container | |
isActiveAdministrationPanel () | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
allowBlocksMoving () | |
Standard is to allow blocks moving. | |
allowBlocksConfigure () | |
Standard is to allow blocks configuration. | |
cloneWizardPageTreeObject () | |
public | |
cloneWizardPageListObject () | |
public | |
cloneWizardPageObject ($a_tree_view=true) | |
Show clone wizard page for container objects. | |
cloneAllObject () | |
Clone all object Overwritten method for copying container objects. | |
cloneNodes ($srcRef, $dstRef, &$mapping, $newName=null) | |
Recursively clones all nodes of the RBAC tree. | |
modifyItemGUI (&$a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container. | |
editStylePropertiesObject () | |
Edit style properties. | |
initStylePropertiesForm () | |
Init style properties form. | |
createStyleObject () | |
Create Style. | |
editStyleObject () | |
Edit Style. | |
deleteStyleObject () | |
Delete Style. | |
saveStyleSettingsObject () | |
Save style settings. | |
getAsynchItemListObject () | |
Get item list command drop down asynchronously. | |
redrawListItemObject () | |
Redraw a list item (ajax) | |
showRepTree ($a_initial_call=false) | |
Show tree. | |
trashObject () | |
Show trash content of object. | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
undeleteObject () | |
Get objects back from trash. | |
confirmRemoveFromSystemObject () | |
confirmation screen remove from system | |
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 | |
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. |
Static Public Member Functions | |
static | _goto ($a_target, $a_add="") |
goto target course | |
static | _modifyItemGUI ($a_item_list_gui, $a_cmd_class, $a_item_data, $a_show_path, $a_abo_status, $a_course_ref_id, $a_course_obj_id, $a_parent_ref_id=0) |
We need a static version of this, e.g. | |
Static Public Member Functions inherited from ilContainerGUI | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path | |
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. |
Protected Member Functions | |
afterImport (ilObject $a_new_object) | |
add course admin after import file | |
forwardToTimingsView () | |
confirmLPSync () | |
setLPSyncObject () | |
initEditForm () | |
init form | |
getEditFormValues () | |
Get values for edit form. | |
afterSave (ilObject $a_new_object) | |
save object public | |
membersObject () | |
Member administration. | |
updateLPFromStatus ($a_member_id, $a_has_passed) | |
sync course status and lp status | |
removeMembersObject () | |
Remove members ilRbacReview $rbacreview ilRbacSystem $rbacsystem. | |
getAgreementTabs () | |
Get tabs for member agreement. | |
initAttendanceList () | |
loadDate ($a_field) | |
load date | |
createMailSignature () | |
Create a course mail signature. | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add file manager link. | |
afterSaveCallback () | |
redirectLocToTestObject ($a_force_new_run=NULL) | |
handleActivePass ($a_test_ref_id, $a_objective_id) | |
redirectLocToTestNewRunObject () | |
Start new run. | |
redirectLocToTestContinueObject () | |
redirectLocToTestConfirmation ($a_objective_id, $a_test_id) | |
Show confirmation whether user wants to start a new run or resume a previous run. | |
getLocalRoles () | |
returns all local roles [role_id] => title | |
hasAdminPermission () | |
user has admin permission or "edit permission" permission on this course | |
mailMembersBtnObject () | |
addMailToMemberButton ($ilToolbar, $back_cmd=null, $a_separator=false) | |
add Mail to Member button to toolbar | |
Protected Member Functions inherited from ilContainerGUI | |
afterUpdate () | |
Post (successful) object update hook. | |
showPasswordInstructionObject ($a_init=true) | |
Show webdav password instruction. | |
initFormPasswordInstruction () | |
Init password form. | |
savePasswordObject () | |
Save password. | |
fileManagerLaunchObject () | |
Launch jnlp. | |
initSortingForm (ilPropertyFormGUI $form, array $a_sorting_settings) | |
Append sorting settings to property form. | |
initSortingDirectionForm (ilContainerSortingSettings $sorting_settings, $element, $a_prefix) | |
Add sorting direction. | |
initManualSortingOptionForm (ilContainerSortingSettings $settings, $element, $a_prefix, $a_sorting_settings) | |
Add manual sorting options. | |
saveSortingSettings (ilPropertyFormGUI $form) | |
Save sorting settings. | |
getTreeSelectorGUI ($cmd) | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
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. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
initImportForm ($a_new_type) | |
Init object import form. | |
importFileObject ($parent_id=null) | |
Import. | |
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 | |
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 | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
hitsperpageObject () | |
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. | |
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. | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. |
Private Member Functions | |
checkAgreement () | |
Check agreement and redirect if it is not accepted. | |
checkLicenses ($a_keep=false) | |
Check the remaining licenses of course objects and generate a message if raare. |
Additional Inherited Members | |
Data Fields inherited from ilContainerGUI | |
$bl_cnt = 1 | |
$multi_download_enabled = false |
Class ilObjCourseGUI.
ilObjCourseGUI: ilCourseRegistrationGUI, ilShopPurchaseGUI, ilCourseObjectivesGUI ilObjCourseGUI: ilObjCourseGroupingGUI, ilMDEditorGUI, ilInfoScreenGUI, ilLearningProgressGUI, ilPermissionGUI ilObjCourseGUI: ilRepositorySearchGUI, ilConditionHandlerGUI ilObjCourseGUI: ilCourseContentGUI, ilPublicUserProfileGUI, ilMemberExportGUI ilObjCourseGUI: ilObjectCustomUserFieldsGUI, ilMemberAgreementGUI, ilSessionOverviewGUI ilObjCourseGUI: ilColumnGUI, ilContainerPageGUI ilObjCourseGUI: ilLicenseOverviewGUI, ilObjectCopyGUI, ilObjStyleSheetGUI ilObjCourseGUI: ilCourseParticipantsGroupsGUI, ilExportGUI, ilCommonActionDispatcherGUI ilObjCourseGUI: ilDidacticTemplateGUI, ilCertificateGUI, ilObjectServiceSettingsGUI ilObjCourseGUI: ilContainerStartObjectsGUI, ilContainerStartObjectsPageGUI ilObjCourseGUI: ilLOPageGUI
Definition at line 27 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__checkStartObjects | ( | ) |
Definition at line 5044 of file class.ilObjCourseGUI.php.
References $ilUser.
Referenced by viewObject().
ilObjCourseGUI::__getDateSelect | ( | $a_type, | |
$a_varname, | |||
$a_selected | |||
) |
Definition at line 3965 of file class.ilObjCourseGUI.php.
References ilUtil\formSelect().
ilObjCourseGUI::__initTableGUI | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 3753 of file class.ilObjCourseGUI.php.
Referenced by __showDeleteSubscriberTable(), __showRemoveFromWaitingListTable(), and __showWaitingListTable().
ilObjCourseGUI::__prepareDateSelect | ( | $a_unix_time | ) |
Definition at line 4733 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__prepareTimeSelect | ( | $a_unix_time | ) |
Definition at line 4740 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__setTableGUIBasicData | ( | & | $tbl, |
& | $result_set, | ||
$a_from = "" |
|||
) |
standard implementation for tables use 'from' variable use different initial setting of table
Reimplemented from ilObjectGUI.
Definition at line 3761 of file class.ilObjCourseGUI.php.
References $_GET.
Referenced by __showDeleteSubscriberTable(), __showRemoveFromWaitingListTable(), and __showWaitingListTable().
ilObjCourseGUI::__showDeleteSubscriberTable | ( | $a_result_set | ) |
Definition at line 3857 of file class.ilObjCourseGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), and ilUtil\getImagePath().
Referenced by deleteSubscribers().
ilObjCourseGUI::__showRemoveFromWaitingListTable | ( | $a_result_set | ) |
Definition at line 3811 of file class.ilObjCourseGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), and ilUtil\getImagePath().
Referenced by removeFromWaitingList().
ilObjCourseGUI::__showWaitingList | ( | ) |
Definition at line 2281 of file class.ilObjCourseGUI.php.
References __showWaitingListTable(), ilObjCourseGrouping\_getGroupingCourseIds(), ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupTitle(), ilDatePresentation\formatDate(), ilUtil\formCheckbox(), ilObjectFactory\getInstanceByObjId(), and IL_CAL_UNIX.
ilObjCourseGUI::__showWaitingListTable | ( | $a_result_set, | |
$a_waiting_list_ids = NULL |
|||
) |
Definition at line 3904 of file class.ilObjCourseGUI.php.
References $_GET, ilObjectGUI\$actions, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), ilUtil\formSelect(), and ilUtil\getImagePath().
Referenced by __showWaitingList().
ilObjCourseGUI::__toUnix | ( | $a_time_arr | ) |
Definition at line 4006 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__unsetSessionVariables | ( | ) |
Definition at line 4015 of file class.ilObjCourseGUI.php.
References $_SESSION.
Referenced by cancelMemberObject().
ilObjCourseGUI::_forwards | ( | ) |
Definition at line 4655 of file class.ilObjCourseGUI.php.
|
static |
goto target course
Definition at line 4674 of file class.ilObjCourseGUI.php.
References $_GET, $ilErr, $ilUser, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilMembershipRegistrationCodeUtils\handleCode(), ilUtil\redirect(), and ilUtil\sendFailure().
|
static |
We need a static version of this, e.g.
in folders of the course
Definition at line 4872 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$lng, ilContainerGUI\_buildPath(), ilObjCourse\_lookupViewMode(), and ilContainer\VIEW_OBJECTIVE.
Referenced by ilObjGroupGUI\modifyItemGUI(), ilObjSessionGUI\modifyItemGUI(), ilObjFolderGUI\modifyItemGUI(), and modifyItemGUI().
ilObjCourseGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 4660 of file class.ilObjCourseGUI.php.
|
protected |
add Mail to Member button to toolbar
ilToolbarGUI | $ilToolbar | |
string | $back_cmd | |
bool | $a_separator |
Definition at line 5532 of file class.ilObjCourseGUI.php.
References $ilUser, and ilCourseConstants\MAIL_ALLOWED_ALL.
Referenced by executeCommand(), mailMembersBtnObject(), membersGalleryObject(), and membersObject().
|
protected |
add course admin after import file
Reimplemented from ilObjectGUI.
Definition at line 157 of file class.ilObjCourseGUI.php.
References $ilUser, ilCourseParticipants\_getInstanceByObjId(), ilCourseConstants\CRS_ADMIN, and ilObject\getId().
|
protected |
save object public
Reimplemented from ilObjectGUI.
Definition at line 1615 of file class.ilObjCourseGUI.php.
References $ilUser, ilChangeEvent\_recordWriteEvent(), ilObject\getId(), ilObject\getRefId(), ilObjectGUI\getReturnLocation(), IL_CRS_ADMIN, ilUtil\redirect(), ilUtil\sendSuccess(), and ilObject\update().
|
protected |
Definition at line 5188 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::askResetObject | ( | ) |
ask reset test results
public
@return |
Definition at line 5002 of file class.ilObjCourseGUI.php.
References $GLOBALS, and ilUtil\sendQuestion().
ilObjCourseGUI::assignFromWaitingListObject | ( | ) |
Definition at line 2612 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), ilObjectFactory\getInstanceByObjId(), IL_CRS_MEMBER, membersObject(), ilWaitingList\removeFromList(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::assignMembersObject | ( | array | $a_usr_ids, |
$a_type | |||
) |
callback from repository search gui ilRbacSystem $rbacsystem
int | $a_type | role_id |
array | $a_usr_ids |
Definition at line 2551 of file class.ilObjCourseGUI.php.
References $_SESSION, checkLicenses(), ilObjectGUI\checkPermission(), ilObjectFactory\getInstanceByObjId(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::assignSubscribersObject | ( | ) |
Definition at line 2728 of file class.ilObjCourseGUI.php.
References $_POST, $ilErr, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::autoFillObject | ( | ) |
Definition at line 2764 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::cancelMemberObject | ( | ) |
canceledObject is called when operation is canceled, method links back public
Definition at line 143 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$return_location, __unsetSessionVariables(), and ilUtil\redirect().
|
private |
Check agreement and redirect if it is not accepted.
private
Definition at line 4578 of file class.ilObjCourseGUI.php.
References $GLOBALS, $ilUser, ilCourseUserData\_checkRequired(), ilPrivacySettings\_getInstance(), ilMemberAgreement\_hasAccepted(), ilCourseDefinedFieldDefinition\_hasFields(), and ilMemberViewSettings\getInstance().
Referenced by viewObject().
|
private |
Check the remaining licenses of course objects and generate a message if raare.
private
Definition at line 4627 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$lng, ilLicense\_getLicensedChildObjects(), ilLicenseAccess\_isEnabled(), and ilUtil\sendInfo().
Referenced by assignMembersObject(), and executeCommand().
ilObjCourseGUI::confirmAssignFromWaitingListObject | ( | ) |
Definition at line 5676 of file class.ilObjCourseGUI.php.
References $_POST, ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilUtil\getImagePath(), membersObject(), ilUtil\sendFailure(), and setSubTabs().
ilObjCourseGUI::confirmAssignSubscribersObject | ( | ) |
Definition at line 5599 of file class.ilObjCourseGUI.php.
References $_POST, ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilUtil\getImagePath(), membersObject(), ilUtil\sendFailure(), and setSubTabs().
ilObjCourseGUI::confirmDeleteInfoFilesObject | ( | ) |
show info file donfimation table
public
Definition at line 602 of file class.ilObjCourseGUI.php.
References $_POST, $file, editInfoObject(), ilUtil\sendFailure(), and setSubTabs().
|
protected |
Definition at line 969 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl.
Referenced by updateObject().
ilObjCourseGUI::confirmRefuseFromListObject | ( | ) |
Definition at line 5636 of file class.ilObjCourseGUI.php.
References $_POST, ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilUtil\getImagePath(), membersObject(), ilUtil\sendFailure(), and setSubTabs().
ilObjCourseGUI::confirmRefuseSubscribersObject | ( | ) |
Definition at line 5559 of file class.ilObjCourseGUI.php.
References $_POST, ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilUtil\getImagePath(), membersObject(), ilUtil\sendFailure(), and setSubTabs().
|
protected |
Create a course mail signature.
Definition at line 5089 of file class.ilObjCourseGUI.php.
References ilLink\_getLink().
Referenced by infoScreen(), mailMembersObject(), and sendMailToSelectedUsersObject().
ilObjCourseGUI::deleteInfoFilesObject | ( | ) |
Delete info files.
public
Definition at line 641 of file class.ilObjCourseGUI.php.
References $_POST, $file, editInfoObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::deleteMembersObject | ( | ) |
Delete members ilAccessHandler $ilAccess.
Definition at line 2948 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, ilCourseParticipants\_getInstanceByObjId(), ilCourseParticipant\_getInstanceByObjId(), ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilUtil\getImagePath(), membersObject(), ilUtil\sendFailure(), and setSubTabs().
Referenced by memberGatewayObject().
ilObjCourseGUI::deleteSubscribers | ( | ) |
Definition at line 2792 of file class.ilObjCourseGUI.php.
References $_POST, $_SESSION, __showDeleteSubscriberTable(), ilObjectGUI\checkPermission(), ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByObjId(), IL_CAL_UNIX, membersObject(), ilUtil\sendFailure(), and ilUtil\sendQuestion().
Referenced by gatewayObject().
ilObjCourseGUI::deliverCertificateObject | ( | ) |
Definition at line 5159 of file class.ilObjCourseGUI.php.
References $_REQUEST, $ilUser, ilCourseParticipants\getDateTimeOfPassed(), ilCertificate\isActive(), ilCertificate\isObjectActive(), and ilUtil\sendFailure().
ilObjCourseGUI::downloadArchivesObject | ( | ) |
Definition at line 1637 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), ilUtil\deliverFile(), and ilUtil\sendFailure().
ilObjCourseGUI::editCourseIconsObject | ( | $a_form = null | ) |
edit container icons
Definition at line 1368 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), initCourseIconsForm(), and setSubTabs().
Referenced by updateCourseIconsObject().
ilObjCourseGUI::editInfoObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Edit info page informations.
public
Definition at line 543 of file class.ilObjCourseGUI.php.
References $file, $ilErr, ilCourseFile\_readFilesByCourse(), ilObjectGUI\checkPermission(), initInfoEditor(), and setSubTabs().
Referenced by confirmDeleteInfoFilesObject(), deleteInfoFilesObject(), and updateInfoObject().
ilObjCourseGUI::editMapSettingsObject | ( | ) |
Edit Map Settings.
Definition at line 4752 of file class.ilObjCourseGUI.php.
References $ilCtrl, $ilUser, ilMapUtil\getDefaultSettings(), ilMapUtil\isActivated(), ilLocationInputGUI\setLatitude(), setSubTabs(), and ilCheckboxInputGUI\setValue().
ilObjCourseGUI::editMemberObject | ( | ) |
edit member
public
@return |
Definition at line 2331 of file class.ilObjCourseGUI.php.
References $_GET, $_POST, and editMembersObject().
ilObjCourseGUI::editMembersObject | ( | ) |
edit members
public
Definition at line 2345 of file class.ilObjCourseGUI.php.
References $_POST, ilCourseParticipants\_getInstanceByObjId(), ilObjectGUI\checkPermission(), membersObject(), readMemberData(), ilUtil\sendFailure(), and setSubTabs().
Referenced by editMemberObject(), and updateMembersObject().
ilObjCourseGUI::editObject | ( | ) |
edit object
public
Reimplemented from ilObjectGUI.
Definition at line 1000 of file class.ilObjCourseGUI.php.
References setSubTabs().
Referenced by updateObject().
ilObjCourseGUI::executeCommand | ( | ) |
execute command note: this method is overwritten in all container objects
Reimplemented from ilContainerGUI.
Definition at line 4121 of file class.ilObjCourseGUI.php.
References $_GET, $_REQUEST, $cmd, $GLOBALS, $ilCtrl, $ilErr, $ilUser, $ret, ilCourseParticipant\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilLink\_getLink(), ilObjCourse\_isActivated(), ilParticipants\_isParticipant(), ilObjCourse\_registrationEnabled(), ilPaymentObject\_requiresPurchaseToAccess(), ilObjectGUI\addHeaderAction(), addMailToMemberButton(), ilMDEditorGUI\addObserver(), ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, checkLicenses(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ilCourseConstants\CRS_MEMBER, ilCourseConstants\CRS_TUTOR, ilContainerGUI\forwardToPageObject(), ilContainerGUI\forwardToStyleSheet(), forwardToTimingsView(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getLocalRoles(), infoScreen(), infoScreenObject(), ilLicenseOverviewGUI\LIC_MODE_REPOSITORY, ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, prepareOutput(), setSubTabs(), ilContainerGUI\showRepTree(), and viewObject().
ilObjCourseGUI::fetchPrintMemberData | ( | $a_members | ) |
Definition at line 3360 of file class.ilObjCourseGUI.php.
References $_SESSION, $failed, ilObjectGUI\$lng, ilPrivacySettings\_getInstance(), ilLPStatusWrapper\_lookupCompletedForObject(), ilLPStatusWrapper\_lookupFailedForObject(), ilLPStatusWrapper\_lookupInProgressForObject(), ilLearningProgress\_lookupProgressByObjId(), ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByObjId(), IL_CAL_UNIX, ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, ilDatePresentation\setUseRelativeDates(), and ilUtil\sortArray().
Referenced by printMembersOutputObject().
ilObjCourseGUI::fetchPrintSubscriberData | ( | $a_members | ) |
Definition at line 3330 of file class.ilObjCourseGUI.php.
References $_SESSION, ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByObjId(), IL_CAL_UNIX, and ilUtil\sortArray().
|
protected |
@return |
Definition at line 181 of file class.ilObjCourseGUI.php.
References $_SESSION, and ilContainer\VIEW_TIMING.
Referenced by executeCommand().
ilObjCourseGUI::gatewayObject | ( | ) |
Definition at line 51 of file class.ilObjCourseGUI.php.
References $_POST, deleteSubscribers(), removeFromWaitingList(), and viewObject().
|
protected |
Get tabs for member agreement.
Definition at line 3119 of file class.ilObjCourseGUI.php.
References $GLOBALS.
ilObjCourseGUI::getAttendanceListUserData | ( | $a_user_id | ) |
Definition at line 3555 of file class.ilObjCourseGUI.php.
|
protected |
Get values for edit form.
Reimplemented from ilContainerGUI.
Definition at line 1360 of file class.ilObjCourseGUI.php.
|
protected |
returns all local roles [role_id] => title
Definition at line 5478 of file class.ilObjCourseGUI.php.
References ilObjRole\_getTranslation(), and hasAdminPermission().
Referenced by executeCommand(), and membersObject().
ilObjCourseGUI::getTabs | ( | & | $tabs_gui | ) |
Get tabs.
Reimplemented from ilContainerGUI.
Definition at line 3143 of file class.ilObjCourseGUI.php.
References $_GET, $GLOBALS, $ilUser, ilObjectGUI\$lng, ilCourseObjective\_getCountObjectives(), ilLicenseAccess\_isEnabled(), ilWaitingList\_isOnList(), ilParticipants\_isParticipant(), ilLearningProgressAccess\checkAccess(), IL_CRS_VIEW_OBJECTIVE, and ilCourseConstants\MAIL_ALLOWED_ALL.
|
protected |
type | $a_test_ref_id | |
type | $a_objective_id |
Definition at line 5365 of file class.ilObjCourseGUI.php.
References $GLOBALS, ilObject\_lookupObjId(), ilObjTest\isParticipantsLastPassActive(), ilLOTestRun\lookupObjectives(), and redirectLocToTestConfirmation().
Referenced by redirectLocToTestObject().
|
protected |
user has admin permission or "edit permission" permission on this course
Definition at line 5508 of file class.ilObjCourseGUI.php.
References $ilUser, ilCourseParticipant\_getInstanceByObjId(), and ilObjectGUI\checkPermissionBool().
Referenced by getLocalRoles().
ilObjCourseGUI::ilObjCourseGUI | ( | ) |
Constructor public.
Definition at line 33 of file class.ilObjCourseGUI.php.
References $_GET, $ilCtrl, and ilContainerGUI\ilContainerGUI().
ilObjCourseGUI::infoScreen | ( | ) |
show information screen
Definition at line 295 of file class.ilObjCourseGUI.php.
References $_GET, $file, $ilErr, $ilSetting, $ilUser, ilObjectGUI\$tpl, $txt, ilCourseDefinedFieldDefinition\_fieldsToInfoString(), ilMDUtils\_fillHTMLMetaTags(), ilCourseDefinedFieldDefinition\_getFields(), ilPrivacySettings\_getInstance(), ilExportFieldsInfo\_getInstanceByType(), ilCourseFile\_readFilesByCourse(), ilObjectGUI\checkPermission(), createMailSignature(), ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), ilMailFormCall\getLinkTarget(), IL_CAL_UNIX, IL_CRS_ARCHIVE_NONE, IL_CRS_SUBSCRIPTION_CONFIRMATION, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, IL_CRS_SUBSCRIPTION_PASSWORD, IL_CRS_VIEW_ARCHIVE, ilParticipants\lookupNumberOfMembers(), ilUtil\makeClickable(), ilAdvancedMDRecordGUI\MODE_INFO, and ilAdvancedMDRecordGUI\setInfoObject().
Referenced by executeCommand(), and infoScreenObject().
ilObjCourseGUI::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 285 of file class.ilObjCourseGUI.php.
References infoScreen().
Referenced by executeCommand().
|
protected |
Definition at line 3513 of file class.ilObjCourseGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilPrivacySettings\_getInstance(), ilCourseParticipants\_getInstanceByObjId(), and ilObjectLP\getInstance().
Referenced by printMembersObject(), and printMembersOutputObject().
ilObjCourseGUI::initCourseIconsForm | ( | ) |
Definition at line 1385 of file class.ilObjCourseGUI.php.
References ilContainerGUI\showCustomIconsEditing().
Referenced by editCourseIconsObject(), and updateCourseIconsObject().
|
protected |
init form
protected
@return |
Reimplemented from ilObjectGUI.
Definition at line 1015 of file class.ilObjCourseGUI.php.
References $pass, $section, $sess, ilObjUserTracking\_enabledLearningProgress(), ilLink\_getLink(), ilObjectServiceSettingsGUI\AUTO_RATING_NEW_OBJECTS, ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, ilMembershipRegistrationCodeUtils\generateCode(), ilObjectLP\getInstance(), IL_CAL_UNIX, IL_CRS_ACTIVATION_LIMITED, IL_CRS_SUBSCRIPTION_CONFIRMATION, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, IL_CRS_SUBSCRIPTION_LIMITED, IL_CRS_SUBSCRIPTION_PASSWORD, IL_CRS_VIEW_BY_TYPE, IL_CRS_VIEW_OBJECTIVE, IL_CRS_VIEW_SESSIONS, IL_CRS_VIEW_SIMPLE, IL_CRS_VIEW_TIMING, ilObjectGUI\initDidacticTemplate(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilContainerGUI\initSortingForm(), ilCourseConstants\MAIL_ALLOWED_ALL, ilCourseConstants\MAIL_ALLOWED_TUTORS, ilObjectServiceSettingsGUI\NEWS_VISIBILITY, ilCheckboxInputGUI\setChecked(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMinValue(), ilDateDurationInputGUI\setShowTime(), ilTextInputGUI\setSubmitFormOnEnter(), ilCheckboxInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilRadioOption\setValue(), ilTextAreaInputGUI\setValue(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, ilObjCourse\STATUS_DETERMINATION_LP, ilObjCourse\STATUS_DETERMINATION_MANUAL, ilObjectServiceSettingsGUI\TAG_CLOUD, and ilObject\TITLE_LENGTH.
Referenced by updateObject().
|
protected |
Add file manager link.
<type> | $a_sub_type |
<type> | $a_sub_id |
Reimplemented from ilContainerGUI.
Definition at line 5099 of file class.ilObjCourseGUI.php.
References $ilSetting, $ilUser, ilParticipants\_isParticipant(), ilCourseParticipants\getDateTimeOfPassed(), ilUtil\getImagePath(), ilCertificate\isActive(), and ilCertificate\isObjectActive().
ilObjCourseGUI::initInfoEditor | ( | ) |
init info editor
public
Definition at line 671 of file class.ilObjCourseGUI.php.
References $file, $section, ilAdvancedMDRecordGUI\MODE_EDITOR, ilAdvancedMDRecordGUI\setPropertyForm(), ilTextInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by editInfoObject(), and updateInfoObject().
ilObjCourseGUI::leaveObject | ( | ) |
Definition at line 2895 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and viewObject().
Referenced by unsubscribeObject().
|
protected |
load date
protected
@return |
Definition at line 4964 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, and IL_CAL_FKT_GETDATE.
|
protected |
Definition at line 5515 of file class.ilObjCourseGUI.php.
References addMailToMemberButton(), and ilObjectGUI\checkPermission().
ilObjCourseGUI::mailMembersObject | ( | ) |
Definition at line 4026 of file class.ilObjCourseGUI.php.
References $_GET, $ilErr, ilObjectGUI\$ilias, ilObject\_getIdsForTitle(), ilObjRole\_getTranslation(), ilObject\_lookupTitle(), createMailSignature(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilMailFormCall\getLinkTarget(), ilCourseConstants\MAIL_ALLOWED_ALL, and ilUtil\sendInfo().
ilObjCourseGUI::memberGatewayObject | ( | ) |
Gateway for member administration commands.
public
Definition at line 85 of file class.ilObjCourseGUI.php.
References $_POST, deleteMembersObject(), sendMailToSelectedUsersObject(), and updateMembersObject().
ilObjCourseGUI::membersGalleryObject | ( | ) |
Definition at line 3605 of file class.ilObjCourseGUI.php.
References $file, $ilErr, $ilUser, addMailToMemberButton(), exit, ilObjectFactory\getInstanceByObjId(), ilUtil\getStyleSheetLocation(), setSubTabs(), and ilUtil\sortArray().
ilObjCourseGUI::membersMapObject | ( | ) |
Members map.
Definition at line 4821 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl, ilCourseParticipants\_getInstanceByObjId(), ilMapUtil\getMapGUI(), ilMapUtil\isActivated(), and setSubTabs().
|
protected |
Member administration.
ilRbacReview $rbacreview protected
Definition at line 1810 of file class.ilObjCourseGUI.php.
References $_GET, $_SESSION, $GLOBALS, $ilCtrl, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupTitle(), ilTable2GUI\addHeaderCommand(), addMailToMemberButton(), ilObjectGUI\checkPermission(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilUtil\getImagePath(), ilObjectLP\getInstance(), getLocalRoles(), ilCourseParticipants\getMemberRoles(), ilObjectActivation\hasTimings(), IL_CRS_VIEW_TIMING, ilParticipants\lookupSubscribers(), setShowHidePrefs(), setSubTabs(), and ilObjCourse\STATUS_DETERMINATION_LP.
Referenced by assignFromWaitingListObject(), assignSubscribersObject(), autoFillObject(), confirmAssignFromWaitingListObject(), confirmAssignSubscribersObject(), confirmRefuseFromListObject(), confirmRefuseSubscribersObject(), deleteMembersObject(), deleteSubscribers(), editMembersObject(), performRemoveFromWaitingListObject(), refuseFromListObject(), refuseSubscribersObject(), removeFromWaitingList(), removeMembersObject(), sendMailToSelectedUsersObject(), updateMemberObject(), updateMembersObject(), and updateParticipantsStatus().
ilObjCourseGUI::modifyItemGUI | ( | $a_item_list_gui, | |
$a_item_data, | |||
$a_show_path | |||
) |
Modify Item ListGUI for presentation in container.
Definition at line 4863 of file class.ilObjCourseGUI.php.
References _modifyItemGUI().
ilObjCourseGUI::performRemoveFromWaitingListObject | ( | ) |
Definition at line 2696 of file class.ilObjCourseGUI.php.
References $_SESSION, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::performUnsubscribeObject | ( | ) |
Definition at line 2927 of file class.ilObjCourseGUI.php.
References $ilCtrl, $ilUser, ilObjectGUI\checkPermission(), and ilUtil\sendSuccess().
ilObjCourseGUI::prepareOutput | ( | ) |
Handle member view.
Reimplemented from ilObjectGUI.
Definition at line 5069 of file class.ilObjCourseGUI.php.
References ilObjectGUI\getCreationMode(), and ilMemberViewSettings\getInstance().
Referenced by executeCommand().
ilObjCourseGUI::printMembersObject | ( | ) |
Definition at line 3498 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), and initAttendanceList().
ilObjCourseGUI::printMembersOutputObject | ( | ) |
Definition at line 3560 of file class.ilObjCourseGUI.php.
References exit, fetchPrintMemberData(), and initAttendanceList().
ilObjCourseGUI::readMemberData | ( | $ids, | |
$role = 'admin' , |
|||
$selected_columns = null |
|||
) |
Definition at line 1714 of file class.ilObjCourseGUI.php.
References $failed, ilPrivacySettings\_getInstance(), ilLPStatusWrapper\_lookupCompletedForObject(), ilLPStatusWrapper\_lookupFailedForObject(), ilLPStatusWrapper\_lookupInProgressForObject(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilLearningProgress\_lookupProgressByObjId(), ilDatePresentation\formatDate(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), IL_CAL_UNIX, ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, and ilObjCourse\STATUS_DETERMINATION_LP.
Referenced by editMembersObject().
|
protected |
Show confirmation whether user wants to start a new run or resume a previous run.
type | $a_objective_id | |
type | $a_test_id |
Definition at line 5445 of file class.ilObjCourseGUI.php.
References $GLOBALS, ilObjectGUI\getFormAction(), ilLOSettings\getInstanceByObjId(), and ilUtil\sendQuestion().
Referenced by handleActivePass().
|
protected |
Definition at line 5435 of file class.ilObjCourseGUI.php.
References redirectLocToTestObject().
|
protected |
Start new run.
Definition at line 5430 of file class.ilObjCourseGUI.php.
References redirectLocToTestObject().
|
protected |
Definition at line 5238 of file class.ilObjCourseGUI.php.
References $_COOKIE, $_REQUEST, $GLOBALS, $res, ilCourseObjective\_getObjectiveIds(), ilObject\_lookupObjId(), ilLOTestRun\create(), ilLOTestRun\deleteRun(), ilObjTest\ensureParticipantsLastActivePassFinished(), ilLOSettings\getInstanceByObjId(), ilObjectFactory\getInstanceByObjId(), handleActivePass(), ilObjTest\isParticipantsLastPassActive(), ilLOUserResults\TYPE_INITIAL, and ilLOUserResults\TYPE_QUALIFIED.
Referenced by redirectLocToTestContinueObject(), and redirectLocToTestNewRunObject().
ilObjCourseGUI::refuseFromListObject | ( | ) |
refuse from waiting list
public
Definition at line 2668 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, ilObjectGUI\checkPermission(), membersObject(), ilWaitingList\removeFromList(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::refuseSubscribersObject | ( | ) |
Definition at line 3084 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::removeBigIconObject | ( | ) |
remove big icon
public
Definition at line 1593 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::removeFromWaitingList | ( | ) |
Definition at line 2843 of file class.ilObjCourseGUI.php.
References $_POST, $_SESSION, __showRemoveFromWaitingListTable(), ilObjectGUI\checkPermission(), ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByObjId(), IL_CAL_UNIX, membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by gatewayObject().
|
protected |
Remove members ilRbacReview $rbacreview ilRbacSystem $rbacsystem.
Definition at line 3021 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, ilCourseParticipants\_getInstanceByObjId(), ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::removeSmallIconObject | ( | ) |
remove small icon
public
Definition at line 1582 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::removeTinyIconObject | ( | ) |
remove small icon
public
Definition at line 1605 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::renderContainer | ( | ) |
Definition at line 275 of file class.ilObjCourseGUI.php.
References renderObject().
ilObjCourseGUI::renderObject | ( | ) |
render the object
Reimplemented from ilContainerGUI.
Definition at line 170 of file class.ilObjCourseGUI.php.
References viewObject().
Referenced by renderContainer(), and viewObject().
ilObjCourseGUI::resetObject | ( | ) |
Definition at line 5016 of file class.ilObjCourseGUI.php.
References $GLOBALS, $ilUser, ilObject\_lookupObjId(), ilLOUserResults\delete(), ilLOTestRun\deleteRun(), ilLOSettings\getInstanceByObjId(), ilCourseObjectiveResult\reset(), ilUtil\sendSuccess(), and viewObject().
ilObjCourseGUI::saveMapSettingsObject | ( | ) |
Definition at line 4805 of file class.ilObjCourseGUI.php.
References $_POST, $ilCtrl, $ilUser, and ilUtil\stripSlashes().
ilObjCourseGUI::saveNotificationObject | ( | ) |
:TEMP: Save notification setting (from infoscreen)
Definition at line 526 of file class.ilObjCourseGUI.php.
References $_REQUEST, $ilUser, and ilUtil\sendSuccess().
ilObjCourseGUI::saveSortingObject | ( | ) |
Save Sorting.
public
Reimplemented from ilContainerGUI.
Definition at line 5193 of file class.ilObjCourseGUI.php.
References $_POST.
ilObjCourseGUI::sendFileObject | ( | ) |
Definition at line 1399 of file class.ilObjCourseGUI.php.
References $_GET, $file, and ilUtil\deliverFile().
ilObjCourseGUI::sendMailToSelectedUsersObject | ( | ) |
Definition at line 101 of file class.ilObjCourseGUI.php.
References $_GET, $_POST, ilObjUser\_lookupLogin(), createMailSignature(), ilMailFormCall\getRedirectTarget(), membersObject(), ilUtil\redirect(), and ilUtil\sendFailure().
Referenced by memberGatewayObject().
ilObjCourseGUI::setContentSubTabs | ( | ) |
Set content sub tabs.
Reimplemented from ilContainerGUI.
Definition at line 4907 of file class.ilObjCourseGUI.php.
References $_SESSION, $ilCtrl, ilObjectGUI\$lng, ilContainerGUI\addStandardContainerSubTabs(), IL_CRS_VIEW_TIMING, and ilContainerGUI\isActiveAdministrationPanel().
|
protected |
Definition at line 983 of file class.ilObjCourseGUI.php.
References ilUtil\sendSuccess(), and ilObjCourse\STATUS_DETERMINATION_LP.
ilObjCourseGUI::setShowHidePrefs | ( | ) |
set preferences (show/hide tabel content)
public
Definition at line 1680 of file class.ilObjCourseGUI.php.
References $_GET, $ilUser, and ilCourseParticipants\getMemberRoles().
Referenced by membersObject().
ilObjCourseGUI::setSubTabs | ( | $a_tab | ) |
set sub tabs
Definition at line 1441 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjectGUI\$tree, ilPrivacySettings\_getInstance(), ilCourseDefinedFieldDefinition\_hasFields(), ilMapUtil\isActivated(), and ilCertificate\isActive().
Referenced by confirmAssignFromWaitingListObject(), confirmAssignSubscribersObject(), confirmDeleteInfoFilesObject(), confirmRefuseFromListObject(), confirmRefuseSubscribersObject(), deleteMembersObject(), editCourseIconsObject(), editInfoObject(), editMapSettingsObject(), editMembersObject(), editObject(), executeCommand(), membersGalleryObject(), membersMapObject(), and membersObject().
ilObjCourseGUI::showPossibleSubObjects | ( | ) |
show possible sub objects selection list
Reimplemented from ilContainerGUI.
Definition at line 1567 of file class.ilObjCourseGUI.php.
References ilContainerGUI\isActiveAdministrationPanel(), and ilContainer\VIEW_OBJECTIVE.
ilObjCourseGUI::toUnix | ( | $date, | |
$time = array() |
|||
) |
Definition at line 4728 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::unsubscribeObject | ( | ) |
DEPRECATED?
Definition at line 2922 of file class.ilObjCourseGUI.php.
References leaveObject().
ilObjCourseGUI::updateAdminStatusObject | ( | ) |
update admin status
public
@return |
Definition at line 2137 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), and updateParticipantsStatus().
ilObjCourseGUI::updateCourseIconsObject | ( | ) |
update container icons
Definition at line 1410 of file class.ilObjCourseGUI.php.
References $_POST, $ilSetting, ilObjectGUI\checkPermission(), editCourseIconsObject(), initCourseIconsForm(), and ilUtil\sendSuccess().
ilObjCourseGUI::updateInfoObject | ( | ) |
Definition at line 744 of file class.ilObjCourseGUI.php.
References $_POST, $ilErr, ilObjectGUI\checkPermission(), editInfoObject(), initInfoEditor(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
|
protected |
sync course status and lp status
int | $a_member_id | |
bool | $a_has_passed |
Definition at line 2214 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjUserTracking\_enabledLearningProgress(), ilLPStatusWrapper\_updateStatus(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ilLPMarks\setCompleted(), and ilObjCourse\STATUS_DETERMINATION_LP.
Referenced by updateMemberObject(), updateMembersObject(), and updateParticipantsStatus().
ilObjCourseGUI::updateMemberObject | ( | ) |
Definition at line 2505 of file class.ilObjCourseGUI.php.
References $_GET, $_POST, $ilUser, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendSuccess(), and updateLPFromStatus().
ilObjCourseGUI::updateMembersObject | ( | ) |
update members
public
@return |
Definition at line 2382 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, ilCourseParticipants\_getInstanceByObjId(), ilObjectGUI\checkPermission(), editMembersObject(), membersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and updateLPFromStatus().
Referenced by memberGatewayObject().
ilObjCourseGUI::updateMemberStatusObject | ( | ) |
updateMemberStatus
public
@return |
Definition at line 2173 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), and updateParticipantsStatus().
ilObjCourseGUI::updateObject | ( | ) |
updates object entry in object_data
Reimplemented from ilObjectGUI.
Definition at line 815 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, ilChangeEvent\_catchupWriteEvents(), ilChangeEvent\_recordWriteEvent(), ilContainerGUI\afterUpdate(), ilObjectServiceSettingsGUI\AUTO_RATING_NEW_OBJECTS, ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, confirmLPSync(), editObject(), IL_CAL_UNIX, IL_CRS_ACTIVATION_LIMITED, IL_CRS_ACTIVATION_UNLIMITED, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, IL_CRS_SUBSCRIPTION_LIMITED, IL_CRS_SUBSCRIPTION_UNLIMITED, IL_CRS_VIEW_TIMING, initEditForm(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, ilContainerGUI\saveSortingSettings(), ilUtil\sendFailure(), ilContainer\SORT_ACTIVATION, ilObjCourse\STATUS_DETERMINATION_LP, ilUtil\stripSlashes(), ilObjectServiceSettingsGUI\TAG_CLOUD, and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
ilObjCourseGUI::updateParticipantsStatus | ( | $type, | |
$visible_members, | |||
$passed, | |||
$notification, | |||
$blocked | |||
) |
Definition at line 2242 of file class.ilObjCourseGUI.php.
References $ilErr, $ilUser, membersObject(), ilUtil\sendSuccess(), and updateLPFromStatus().
Referenced by updateAdminStatusObject(), updateMemberStatusObject(), updateRoleStatusObject(), and updateTutorStatusObject().
ilObjCourseGUI::updateRoleStatusObject | ( | ) |
Update status of additional course roles.
Definition at line 2188 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), ilCourseParticipants\getMemberRoles(), and updateParticipantsStatus().
ilObjCourseGUI::updateTutorStatusObject | ( | ) |
update tuto status
public
@return |
Definition at line 2155 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), and updateParticipantsStatus().
ilObjCourseGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 203 of file class.ilObjCourseGUI.php.
References $_GET, $ilCtrl, $ilUser, $ret, __checkStartObjects(), ilMDUtils\_fillHTMLMetaTags(), ilLearningProgress\_tracProgress(), checkAgreement(), ilObjectGUI\checkPermission(), renderObject(), ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_OBJECTIVE, ilContainer\VIEW_SESSIONS, ilContainer\VIEW_SIMPLE, and ilContainer\VIEW_TIMING.
Referenced by executeCommand(), gatewayObject(), leaveObject(), renderObject(), and resetObject().