ILIAS
Release_4_4_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) | |
askDeleteStarterObject () | |
deleteStarterObject () | |
selectStarterObject () | |
addStarterObject () | |
editInfoObject () | |
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 | |
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 () | |
cciObjectivesObject () | |
cciObjectivesEditObject () | |
cciObjectivesAskResetObject () | |
cciResetObject () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
_goto ($a_target, $a_add="") | |
goto target course | |
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 () | |
showStartObjects () | |
prepareOutput () | |
Handle member view. | |
deliverCertificateObject () | |
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 | |
showPossibleSubObjects () | |
show possible sub objects selection list | |
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 () | |
renderItemList ($a_type="all") | |
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. | |
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. | |
saveSortingObject () | |
Save Sorting. | |
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 | _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 () | |
listStructureObject () | |
List start objects ilRbacSystem $rbacsystem. | |
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. | |
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. | |
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. | |
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, ilConditionHandlerInterface ilObjCourseGUI: ilCourseContentGUI, ilPublicUserProfileGUI, ilMemberExportGUI ilObjCourseGUI: ilObjectCustomUserFieldsGUI, ilMemberAgreementGUI, ilSessionOverviewGUI ilObjCourseGUI: ilColumnGUI, ilContainerPageGUI ilObjCourseGUI: ilLicenseOverviewGUI, ilObjectCopyGUI, ilObjStyleSheetGUI ilObjCourseGUI: ilCourseParticipantsGroupsGUI, ilExportGUI, ilCommonActionDispatcherGUI ilObjCourseGUI: ilDidacticTemplateGUI, ilCertificateGUI, ilObjectServiceSettingsGUI
Definition at line 26 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__checkStartObjects | ( | ) |
Definition at line 5231 of file class.ilObjCourseGUI.php.
References $ilUser.
Referenced by viewObject().
ilObjCourseGUI::__getDateSelect | ( | $a_type, | |
$a_varname, | |||
$a_selected | |||
) |
Definition at line 4162 of file class.ilObjCourseGUI.php.
References ilUtil\formSelect().
ilObjCourseGUI::__initTableGUI | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 3950 of file class.ilObjCourseGUI.php.
Referenced by __showDeleteSubscriberTable(), __showRemoveFromWaitingListTable(), and __showWaitingListTable().
ilObjCourseGUI::__prepareDateSelect | ( | $a_unix_time | ) |
Definition at line 4932 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__prepareTimeSelect | ( | $a_unix_time | ) |
Definition at line 4939 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 3958 of file class.ilObjCourseGUI.php.
References $_GET.
Referenced by __showDeleteSubscriberTable(), __showRemoveFromWaitingListTable(), and __showWaitingListTable().
ilObjCourseGUI::__showDeleteSubscriberTable | ( | $a_result_set | ) |
Definition at line 4054 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 4008 of file class.ilObjCourseGUI.php.
References $_GET, ilObjectGUI\$tpl, __initTableGUI(), __setTableGUIBasicData(), and ilUtil\getImagePath().
Referenced by removeFromWaitingList().
ilObjCourseGUI::__showWaitingList | ( | ) |
Definition at line 2471 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 4101 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 4203 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__unsetSessionVariables | ( | ) |
Definition at line 4212 of file class.ilObjCourseGUI.php.
References $_SESSION.
Referenced by cancelMemberObject().
ilObjCourseGUI::_forwards | ( | ) |
Definition at line 4811 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::_goto | ( | $a_target, | |
$a_add = "" |
|||
) |
goto target course
Definition at line 4873 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 5075 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$lng, ilContainerGUI\_buildPath(), ilObjCourse\_lookupViewMode(), and ilContainer\VIEW_OBJECTIVE.
Referenced by ilObjSessionGUI\modifyItemGUI(), ilObjGroupGUI\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 4859 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::addStarterObject | ( | ) |
Definition at line 632 of file class.ilObjCourseGUI.php.
References $_POST, ilCourseStart\add(), ilObjectGUI\checkPermission(), listStructureObject(), selectStarterObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
add course admin after import file
Reimplemented from ilObjectGUI.
Definition at line 156 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 1766 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().
ilObjCourseGUI::askDeleteStarterObject | ( | ) |
Definition at line 556 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\$obj_id, ilObjectGUI\$tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilCourseStart\getStartObjects(), listStructureObject(), and ilUtil\sendFailure().
ilObjCourseGUI::askResetObject | ( | ) |
ask reset test results
public
@return |
Definition at line 5204 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::assignFromWaitingListObject | ( | ) |
Definition at line 2799 of file class.ilObjCourseGUI.php.
References $_POST, ilForumNotification\checkForumsExistsInsert(), 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 | |
array | $a_usr_ids |
Definition at line 2741 of file class.ilObjCourseGUI.php.
References $_SESSION, ilForumNotification\checkForumsExistsInsert(), checkLicenses(), ilObjectGUI\checkPermission(), ilCourseConstants\CRS_ADMIN, ilCourseConstants\CRS_MEMBER, ilCourseConstants\CRS_TUTOR, ilObjectFactory\getInstanceByObjId(), IL_CRS_ADMIN, IL_CRS_MEMBER, IL_CRS_TUTOR, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::assignSubscribersObject | ( | ) |
Definition at line 2918 of file class.ilObjCourseGUI.php.
References $_POST, $ilErr, $usr_id, ilForumNotification\checkForumsExistsInsert(), ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::autoFillObject | ( | ) |
Definition at line 2957 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 142 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$return_location, __unsetSessionVariables(), and ilUtil\redirect().
ilObjCourseGUI::cciObjectivesAskResetObject | ( | ) |
Definition at line 4835 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::cciObjectivesEditObject | ( | ) |
Definition at line 4825 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::cciObjectivesObject | ( | ) |
Definition at line 4817 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::cciResetObject | ( | ) |
Definition at line 4843 of file class.ilObjCourseGUI.php.
References $ilUser, ilCourseObjectiveResult\reset(), and ilUtil\sendSuccess().
|
private |
Check agreement and redirect if it is not accepted.
private
Definition at line 4734 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 4783 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$lng, ilLicense\_getLicensedChildObjects(), ilLicenseAccess\_isEnabled(), and ilUtil\sendInfo().
Referenced by assignMembersObject(), and executeCommand().
ilObjCourseGUI::confirmDeleteInfoFilesObject | ( | ) |
show info file donfimation table
public
Definition at line 735 of file class.ilObjCourseGUI.php.
References $_POST, $file, editInfoObject(), ilUtil\sendFailure(), and setSubTabs().
|
protected |
Definition at line 1083 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl.
Referenced by updateObject().
|
protected |
Create a course mail signature.
Definition at line 5395 of file class.ilObjCourseGUI.php.
References ilLink\_getLink().
Referenced by infoScreen(), mailMembersObject(), and sendMailToSelectedUsersObject().
ilObjCourseGUI::deleteInfoFilesObject | ( | ) |
Delete info files.
public
Definition at line 774 of file class.ilObjCourseGUI.php.
References $_POST, $file, editInfoObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::deleteMembersObject | ( | ) |
Delete members ilAccessHandler $ilAccess.
Definition at line 3144 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, $usr_id, ilCourseParticipants\_getInstanceByObjId(), ilCourseParticipant\_getInstanceByObjId(), ilObjUser\_lookupName(), ilObjectGUI\checkPermission(), ilUtil\getImagePath(), membersObject(), ilUtil\sendFailure(), and setSubTabs().
Referenced by memberGatewayObject().
ilObjCourseGUI::deleteStarterObject | ( | ) |
Definition at line 591 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), ilCourseStart\delete(), listStructureObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::deleteSubscribers | ( | ) |
Definition at line 2985 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 5465 of file class.ilObjCourseGUI.php.
References $_REQUEST, $ilUser, ilCourseParticipants\getDateTimeOfPassed(), ilCertificate\isActive(), ilCertificate\isObjectActive(), and ilUtil\sendFailure().
ilObjCourseGUI::downloadArchivesObject | ( | ) |
Definition at line 1788 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 1513 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), initCourseIconsForm(), and setSubTabs().
Referenced by updateCourseIconsObject().
ilObjCourseGUI::editInfoObject | ( | ) |
Edit info page informations.
public
Definition at line 679 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 4951 of file class.ilObjCourseGUI.php.
References $ilCtrl, $ilUser, ilGoogleMapUtil\getDefaultSettings(), ilGoogleMapUtil\isActivated(), ilLocationInputGUI\setLatitude(), setSubTabs(), and ilCheckboxInputGUI\setValue().
ilObjCourseGUI::editMemberObject | ( | ) |
edit member
public
@return |
Definition at line 2521 of file class.ilObjCourseGUI.php.
References $_GET, $_POST, and editMembersObject().
ilObjCourseGUI::editMembersObject | ( | ) |
edit members
public
Definition at line 2535 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 1114 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 4319 of file class.ilObjCourseGUI.php.
References $_GET, $cmd, $GLOBALS, $ilCtrl, $ilErr, $ilUser, $ret, ilCourseParticipants\_getInstanceByObjId(), ilCourseParticipant\_getInstanceByObjId(), ilObjCourse\_isActivated(), ilParticipants\_isParticipant(), ilObjCourse\_registrationEnabled(), ilPaymentObject\_requiresPurchaseToAccess(), ilObjectGUI\addHeaderAction(), ilMDEditorGUI\addObserver(), ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, checkLicenses(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ilCourseConstants\CRS_ADMIN, ilCourseConstants\CRS_MEMBER, ilCourseConstants\CRS_TUTOR, ilContainerGUI\forwardToPageObject(), ilContainerGUI\forwardToStyleSheet(), forwardToTimingsView(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreen(), infoScreenObject(), LIC_MODE_REPOSITORY, ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, prepareOutput(), setSubTabs(), ilContainerGUI\showRepTree(), and viewObject().
ilObjCourseGUI::fetchPrintMemberData | ( | $a_members | ) |
Definition at line 3559 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 3529 of file class.ilObjCourseGUI.php.
References $_SESSION, ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByObjId(), IL_CAL_UNIX, and ilUtil\sortArray().
|
protected |
@return |
Definition at line 180 of file class.ilObjCourseGUI.php.
References $_SESSION, and ilContainer\VIEW_TIMING.
Referenced by executeCommand().
ilObjCourseGUI::gatewayObject | ( | ) |
Definition at line 50 of file class.ilObjCourseGUI.php.
References $_POST, deleteSubscribers(), removeFromWaitingList(), and viewObject().
|
protected |
Get tabs for member agreement.
Definition at line 3318 of file class.ilObjCourseGUI.php.
References $GLOBALS.
ilObjCourseGUI::getAttendanceListUserData | ( | $a_user_id | ) |
Definition at line 3754 of file class.ilObjCourseGUI.php.
|
protected |
Get values for edit form.
Reimplemented from ilContainerGUI.
Definition at line 1505 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::getTabs | ( | & | $tabs_gui | ) |
Get tabs.
Reimplemented from ilContainerGUI.
Definition at line 3342 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.
ilObjCourseGUI::ilObjCourseGUI | ( | ) |
Constructor public.
Definition at line 32 of file class.ilObjCourseGUI.php.
References $_GET, $ilCtrl, and ilContainerGUI\ilContainerGUI().
ilObjCourseGUI::infoScreen | ( | ) |
show information screen
Definition at line 291 of file class.ilObjCourseGUI.php.
References $_GET, $file, $ilErr, $ilSetting, $ilUser, ilObjectGUI\$tpl, 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 281 of file class.ilObjCourseGUI.php.
References infoScreen().
Referenced by executeCommand().
|
protected |
Definition at line 3712 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 1530 of file class.ilObjCourseGUI.php.
References ilContainerGUI\showCustomIconsEditing().
Referenced by editCourseIconsObject(), and updateCourseIconsObject().
|
protected |
init form
protected
@return |
Reimplemented from ilObjectGUI.
Definition at line 1129 of file class.ilObjCourseGUI.php.
References $pass, $section, $sess, ilObjUserTracking\_enabledLearningProgress(), ilLink\_getLink(), ilObjectServiceSettingsGUI\AUTO_RATING_NEW_OBJECTS, ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, ilMembershipRegistrationCodeUtils\generateCode(), ilUtil\getImagePath(), 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(), 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_MANUAL, ilContainer\SORT_TITLE, ilObjCourse\STATUS_DETERMINATION_LP, ilObjCourse\STATUS_DETERMINATION_MANUAL, 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 5405 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 804 of file class.ilObjCourseGUI.php.
References $file, $section, ilAdvancedMDRecordGUI\MODE_EDITOR, ilAdvancedMDRecordGUI\setPropertyForm(), ilTextInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by editInfoObject().
ilObjCourseGUI::leaveObject | ( | ) |
Definition at line 3088 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjectGUI\checkPermission(), ilUtil\sendFailure(), and viewObject().
Referenced by unsubscribeObject().
|
protected |
List start objects ilRbacSystem $rbacsystem.
Definition at line 538 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and setSubTabs().
Referenced by addStarterObject(), askDeleteStarterObject(), and deleteStarterObject().
|
protected |
load date
protected
@return |
Definition at line 5166 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, and IL_CAL_FKT_GETDATE.
ilObjCourseGUI::mailMembersObject | ( | ) |
Definition at line 4223 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, ilUtil\sendInfo(), and setSubTabs().
ilObjCourseGUI::memberGatewayObject | ( | ) |
Gateway for member administration commands.
public
Definition at line 84 of file class.ilObjCourseGUI.php.
References $_POST, deleteMembersObject(), sendMailToSelectedUsersObject(), and updateMembersObject().
ilObjCourseGUI::membersGalleryObject | ( | ) |
Definition at line 3804 of file class.ilObjCourseGUI.php.
References $file, $ilErr, $ilUser, exit, ilObjectFactory\getInstanceByObjId(), ilUtil\getStyleSheetLocation(), setSubTabs(), and ilUtil\sortArray().
ilObjCourseGUI::membersMapObject | ( | ) |
Members map.
Definition at line 5023 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl, ilCourseParticipants\_getInstanceByObjId(), ilGoogleMapUtil\isActivated(), and setSubTabs().
|
protected |
Member administration.
ilRbacReview $rbacreview protected
Definition at line 1961 of file class.ilObjCourseGUI.php.
References $_GET, $_SESSION, $GLOBALS, $ilCtrl, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilCourseParticipants\_getInstanceByObjId(), ilCourseParticipant\_getInstanceByObjId(), ilObject\_lookupTitle(), ilTable2GUI\addHeaderCommand(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ilCourseConstants\CRS_ADMIN, ilCourseConstants\CRS_MEMBER, ilCourseConstants\CRS_TUTOR, ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilUtil\getImagePath(), ilObjectLP\getInstance(), ilCourseParticipants\getMemberRoles(), ilObjectActivation\hasTimings(), IL_CRS_VIEW_TIMING, ilParticipants\lookupSubscribers(), setShowHidePrefs(), setSubTabs(), and ilObjCourse\STATUS_DETERMINATION_LP.
Referenced by assignFromWaitingListObject(), assignSubscribersObject(), autoFillObject(), 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 5066 of file class.ilObjCourseGUI.php.
References _modifyItemGUI().
ilObjCourseGUI::performRemoveFromWaitingListObject | ( | ) |
Definition at line 2886 of file class.ilObjCourseGUI.php.
References $_SESSION, $usr_id, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::performUnsubscribeObject | ( | ) |
Definition at line 3120 of file class.ilObjCourseGUI.php.
References $ilCtrl, $ilUser, ilForumNotification\checkForumsExistsDelete(), ilObjectGUI\checkPermission(), and ilUtil\sendSuccess().
ilObjCourseGUI::prepareOutput | ( | ) |
Handle member view.
Reimplemented from ilObjectGUI.
Definition at line 5375 of file class.ilObjCourseGUI.php.
References ilObjectGUI\getCreationMode(), and ilMemberViewSettings\getInstance().
Referenced by executeCommand().
ilObjCourseGUI::printMembersObject | ( | ) |
Definition at line 3697 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), and initAttendanceList().
ilObjCourseGUI::printMembersOutputObject | ( | ) |
Definition at line 3759 of file class.ilObjCourseGUI.php.
References exit, fetchPrintMemberData(), and initAttendanceList().
ilObjCourseGUI::readMemberData | ( | $ids, | |
$role = 'admin' , |
|||
$selected_columns = null |
|||
) |
Definition at line 1865 of file class.ilObjCourseGUI.php.
References $failed, $usr_id, 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().
ilObjCourseGUI::refuseFromListObject | ( | ) |
refuse from waiting list
public
Definition at line 2858 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, ilObjectGUI\checkPermission(), membersObject(), ilWaitingList\removeFromList(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::refuseSubscribersObject | ( | ) |
Definition at line 3283 of file class.ilObjCourseGUI.php.
References $_POST, $usr_id, ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::removeBigIconObject | ( | ) |
remove big icon
public
Definition at line 1744 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::removeFromWaitingList | ( | ) |
Definition at line 3036 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 3217 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, $usr_id, ilCourseParticipants\_getInstanceByObjId(), ilForumNotification\checkForumsExistsDelete(), ilObjectGUI\checkPermission(), membersObject(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::removeSmallIconObject | ( | ) |
remove small icon
public
Definition at line 1733 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::removeTinyIconObject | ( | ) |
remove small icon
public
Definition at line 1756 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::renderContainer | ( | ) |
Definition at line 271 of file class.ilObjCourseGUI.php.
References renderObject().
ilObjCourseGUI::renderObject | ( | ) |
render the object
Reimplemented from ilContainerGUI.
Definition at line 169 of file class.ilObjCourseGUI.php.
References viewObject().
Referenced by renderContainer(), and viewObject().
ilObjCourseGUI::resetObject | ( | ) |
Definition at line 5216 of file class.ilObjCourseGUI.php.
References $ilUser, ilCourseObjectiveResult\reset(), ilUtil\sendSuccess(), and viewObject().
ilObjCourseGUI::saveMapSettingsObject | ( | ) |
Definition at line 5007 of file class.ilObjCourseGUI.php.
References $_POST, $ilCtrl, $ilUser, and ilUtil\stripSlashes().
ilObjCourseGUI::saveNotificationObject | ( | ) |
:TEMP: Save notification setting (from infoscreen)
Definition at line 522 of file class.ilObjCourseGUI.php.
References $_REQUEST, $ilUser, and ilUtil\sendSuccess().
ilObjCourseGUI::selectStarterObject | ( | ) |
Definition at line 616 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl, and ilObjectGUI\checkPermission().
Referenced by addStarterObject().
ilObjCourseGUI::sendFileObject | ( | ) |
Definition at line 1544 of file class.ilObjCourseGUI.php.
References $_GET, $file, and ilUtil\deliverFile().
ilObjCourseGUI::sendMailToSelectedUsersObject | ( | ) |
Definition at line 100 of file class.ilObjCourseGUI.php.
References $_GET, $_POST, $usr_id, 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 5110 of file class.ilObjCourseGUI.php.
References $_SESSION, $ilCtrl, ilObjectGUI\$lng, ilContainerGUI\addStandardContainerSubTabs(), IL_CRS_VIEW_TIMING, and ilContainerGUI\isActiveAdministrationPanel().
|
protected |
Definition at line 1097 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 1831 of file class.ilObjCourseGUI.php.
References $_GET, $ilUser, and ilCourseParticipants\getMemberRoles().
Referenced by membersObject().
ilObjCourseGUI::setSubTabs | ( | $a_tab | ) |
set sub tabs
Definition at line 1593 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjectGUI\$tree, ilPrivacySettings\_getInstance(), ilCourseDefinedFieldDefinition\_hasFields(), ilGoogleMapUtil\isActivated(), ilCertificate\isActive(), and ilCourseConstants\MAIL_ALLOWED_ALL.
Referenced by confirmDeleteInfoFilesObject(), deleteMembersObject(), editCourseIconsObject(), editInfoObject(), editMapSettingsObject(), editMembersObject(), editObject(), executeCommand(), listStructureObject(), mailMembersObject(), membersGalleryObject(), membersMapObject(), and membersObject().
ilObjCourseGUI::showStartObjects | ( | ) |
Definition at line 5249 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$ilias, $ilUser, ilObjectGUI\$obj_id, ilObjectGUI\$ref_id, ilConditionHandler\_checkAllConditionsOfTarget(), ilLink\_getLink(), ilRepositoryExplorer\buildFrameTarget(), ilUtil\getImagePath(), and ilCourseLMHistory\getLMHistory().
Referenced by viewObject().
ilObjCourseGUI::toUnix | ( | $date, | |
$time = array() |
|||
) |
Definition at line 4927 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::unsubscribeObject | ( | ) |
DEPRECATED?
Definition at line 3115 of file class.ilObjCourseGUI.php.
References leaveObject().
ilObjCourseGUI::updateAdminStatusObject | ( | ) |
update admin status
public
@return |
Definition at line 2327 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), and updateParticipantsStatus().
ilObjCourseGUI::updateCourseIconsObject | ( | ) |
update container icons
Definition at line 1555 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), editCourseIconsObject(), initCourseIconsForm(), and ilUtil\sendSuccess().
ilObjCourseGUI::updateInfoObject | ( | ) |
Definition at line 877 of file class.ilObjCourseGUI.php.
References $_POST, $ilErr, ilObjectGUI\checkPermission(), editInfoObject(), ilAdvancedMDRecordGUI\loadFromPost(), ilAdvancedMDRecordGUI\MODE_EDITOR, 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 2404 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 2695 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 2572 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, $usr_id, ilCourseParticipants\_getInstanceByObjId(), ilObjectGUI\checkPermission(), editMembersObject(), membersObject(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and updateLPFromStatus().
Referenced by memberGatewayObject().
ilObjCourseGUI::updateMemberStatusObject | ( | ) |
updateMemberStatus
public
@return |
Definition at line 2363 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 932 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, ilUtil\sendFailure(), ilContainer\SORT_ACTIVATION, ilObjCourse\STATUS_DETERMINATION_LP, ilUtil\stripSlashes(), and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
ilObjCourseGUI::updateParticipantsStatus | ( | $type, | |
$visible_members, | |||
$passed, | |||
$notification, | |||
$blocked | |||
) |
Definition at line 2432 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 2378 of file class.ilObjCourseGUI.php.
References $_POST, ilObjectGUI\checkPermission(), ilCourseParticipants\getMemberRoles(), and updateParticipantsStatus().
ilObjCourseGUI::updateTutorStatusObject | ( | ) |
update tuto status
public
@return |
Definition at line 2345 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 202 of file class.ilObjCourseGUI.php.
References $_GET, $ilCtrl, $ilUser, $ret, __checkStartObjects(), ilMDUtils\_fillHTMLMetaTags(), ilLearningProgress\_tracProgress(), checkAgreement(), ilObjectGUI\checkPermission(), renderObject(), showStartObjects(), 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().