ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilObjCourseGUI. More...
Public Member Functions | |
__construct () | |
Constructor public. More... | |
gatewayObject () | |
renderObject () | |
viewObject () | |
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 More... | |
infoScreen () | |
show information screen More... | |
saveNotificationObject () | |
:TEMP: Save notification setting (from infoscreen) More... | |
editInfoObject (ilPropertyFormGUI $a_form=null) | |
Edit info page informations. More... | |
confirmDeleteInfoFilesObject () | |
show info file donfimation table More... | |
deleteInfoFilesObject () | |
Delete info files. More... | |
initInfoEditor () | |
init info editor More... | |
updateInfoObject () | |
updateObject () | |
Update course settings type $ilUser. More... | |
editObject (ilPropertyFormGUI $form=null) | |
edit object More... | |
editCourseIconsObject ($a_form=null) | |
edit container icons More... | |
initCourseIconsForm () | |
sendFileObject () | |
updateCourseIconsObject () | |
update container icons More... | |
setSubTabs ($a_tab) | |
set sub tabs More... | |
showPossibleSubObjects () | |
show possible sub objects selection list More... | |
removeSmallIconObject () | |
remove small icon More... | |
removeBigIconObject () | |
remove big icon More... | |
removeTinyIconObject () | |
remove small icon More... | |
setShowHidePrefs () | |
set preferences (show/hide tabel content) More... | |
readMemberData ($ids, $selected_columns=null) | |
updateLPFromStatus ($a_member_id, $a_has_passed) | |
sync course status and lp status More... | |
autoFillObject () | |
leaveObject () | |
unsubscribeObject () | |
DEPRECATED? More... | |
performUnsubscribeObject () | |
addContentTab () | |
Add content tab. More... | |
getTabs () | |
Get tabs. More... | |
executeCommand () | |
addLocatorItems () | |
editMapSettingsObject () | |
Edit Map Settings. More... | |
saveMapSettingsObject () | |
modifyItemGUI ($a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container. More... | |
setContentSubTabs () | |
Set content sub tabs. More... | |
askResetObject () | |
ask reset test results More... | |
resetObject () | |
__checkStartObjects () | |
prepareOutput ($a_show_subobjects=true) | |
Handle member view. More... | |
createMailSignature () | |
Create a course mail signature. More... | |
deliverCertificateObject () | |
saveSortingObject () | |
getLocalRoles ($a_exclude=array()) | |
setSideColumnReturn () | |
Set return point for side column actions. More... | |
Public Member Functions inherited from ilContainerGUI | |
__construct ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. More... | |
executeCommand () | |
execute command note: this method is overwritten in all container objects More... | |
forwardToStyleSheet () | |
Forward to style object. More... | |
& | forwardToPageObject () |
forward command to page object More... | |
addPageTabs () | |
Add page tabs. More... | |
getContainerPageHTML () | |
Get container page HTML. More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
showTreeFlatIcon () | |
setTitleAndDescription () | |
called by prepare output More... | |
showPossibleSubObjects () | |
show possible sub objects selection list More... | |
getContentGUI () | |
Get content gui object. More... | |
renderObject () | |
render the object More... | |
setContentSubTabs () | |
Set content sub tabs. More... | |
showAdministrationPanel (&$tpl) | |
show administration panel More... | |
getAllNestedCategories ($ref_id) | |
__showTimingsButton (&$tpl) | |
showPermanentLink (&$tpl) | |
show permanent link More... | |
switchToStdEditorObject () | |
Switch to standard page editor. More... | |
switchToOldEditorObject () | |
Switch to old page editor. More... | |
useNewEditorObject () | |
Use new editor (-> delete xhtml content page) More... | |
editPageFrameObject () | |
show page editor frameset More... | |
editPageContentObject () | |
edit page content (for repository root node and categories) More... | |
savePageContentObject () | |
cancelPageContentObject () | |
showLinkListObject () | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination More... | |
& | newBlockTemplate () |
determin admin commands More... | |
addHeaderRow (&$a_tpl, $a_type, $a_show_image=true) | |
adds a header row to a block template More... | |
addStandardRow (&$a_tpl, $a_html, $a_item_ref_id="", $a_item_obj_id="", $a_image_type="") | |
adds a standard row to a block template More... | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row More... | |
resetRowType () | |
setPageEditorTabs () | |
Add page editor tabs. More... | |
addStandardContainerSubTabs ($a_include_view=true) | |
Add standar container subtabs for view, manage, oderdering and text/media editor link. More... | |
getTabs () | |
common tabs for all container objects (should be called at the end of child getTabs() method More... | |
enableAdministrationPanelObject () | |
enable administration panel More... | |
disableAdministrationPanelObject () | |
enable administration panel More... | |
editOrderObject () | |
Edit order. More... | |
isActiveOrdering () | |
Check if ordering is enabled. More... | |
isActiveItemOrdering () | |
Check if item ordering is enabled. More... | |
addToDeskObject () | |
removeFromDeskObject () | |
enableMultiDownloadObject () | |
isMultiDownloadEnabled () | |
lockObject () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard More... | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. More... | |
downloadObject () | |
linkObject () | |
create an new reference of an object in tree it's like a hard link of unix More... | |
clearObject () | |
clear clipboard and go back to last object More... | |
performPasteIntoMultipleObjectsObject () | |
initAndDisplayLinkIntoMultipleObjectsObject () | |
showPasteTreeObject () | |
Show paste tree. More... | |
cancelMoveLinkObject () | |
Cancel move|link empty clipboard and return to parent. More... | |
keepObjectsInClipboardObject () | |
Keep objects in the clipboard. More... | |
initAndDisplayCopyIntoMultipleObjectsObject () | |
initAndDisplayMoveIntoObjectObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved More... | |
clipboardObject () | |
show clipboard More... | |
showCustomIconsEditing ($a_input_colspan=1, ilPropertyFormGUI $a_form=null, $a_as_section=true) | |
show edit section of custom icons for container More... | |
isActiveAdministrationPanel () | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
allowBlocksMoving () | |
Standard is to allow blocks moving. More... | |
allowBlocksConfigure () | |
Standard is to allow blocks configuration. More... | |
cloneWizardPageTreeObject () | |
public More... | |
cloneWizardPageListObject () | |
public More... | |
cloneWizardPageObject ($a_tree_view=true) | |
Show clone wizard page for container objects. More... | |
cloneAllObject () | |
Clone all object Overwritten method for copying container objects. More... | |
saveSortingObject () | |
Save Sorting. More... | |
cloneNodes ($srcRef, $dstRef, &$mapping, $newName=null) | |
Recursively clones all nodes of the RBAC tree. More... | |
modifyItemGUI ($a_item_list_gui, $a_item_data, $a_show_path) | |
Modify list gui for presentation in container type $lng. More... | |
editStylePropertiesObject () | |
Edit style properties. More... | |
initStylePropertiesForm () | |
Init style properties form. More... | |
createStyleObject () | |
Create Style. More... | |
editStyleObject () | |
Edit Style. More... | |
deleteStyleObject () | |
Delete Style. More... | |
saveStyleSettingsObject () | |
Save style settings. More... | |
getAsynchItemListObject () | |
Get item list command drop down asynchronously. More... | |
redrawListItemObject () | |
Redraw a list item (ajax) More... | |
showRepTree () | |
Show tree. More... | |
trashObject () | |
Show trash content of object. More... | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method More... | |
undeleteObject () | |
Get objects back from trash. More... | |
confirmRemoveFromSystemObject () | |
confirmation screen remove from system More... | |
setSideColumnReturn () | |
Set return point for side column actions. More... | |
Public Member Functions inherited from ilObjectGUI | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
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 More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
Static Public Member Functions | |
static | _forwards () |
static | _goto ($a_target, $a_add="") |
goto target course More... | |
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. More... | |
Static Public Member Functions inherited from ilContainerGUI | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path More... | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Protected Member Functions | |
afterImport (ilObject $a_new_object) | |
add course admin after import file More... | |
forwardToTimingsView () | |
confirmLPSync () | |
setLPSyncObject () | |
initEditForm () | |
init form More... | |
getEditFormValues () | |
afterSave (ilObject $a_new_object) | |
save object public More... | |
getAgreementTabs () | |
Get tabs for member agreement. More... | |
membersObject () | |
Called from goto? More... | |
loadDate ($a_field) | |
load date More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
afterSaveCallback () | |
redirectLocToTestConfirmedObject () | |
redirectLocToTestObject ($a_force_new_run=NULL) | |
Test redirection will be moved lo adapter. More... | |
redirectLocToTestConfirmation ($a_objective_id, $a_test_id) | |
Show confirmation whether user wants to start a new run or resume a previous run. More... | |
hasAdminPermission () | |
user has admin permission or "edit permission" permission on this course More... | |
jump2UsersGalleryObject () | |
Protected Member Functions inherited from ilContainerGUI | |
getEditFormValues () | |
Get values for edit form. More... | |
afterUpdate () | |
showPasswordInstructionObject ($a_init=true) | |
Show webdav password instruction. More... | |
initFormPasswordInstruction () | |
Init password form. More... | |
savePasswordObject () | |
Save password. More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add file manager link. More... | |
fileManagerLaunchObject () | |
Launch jnlp. More... | |
initSortingForm (ilPropertyFormGUI $form, array $a_sorting_settings) | |
Append sorting settings to property form. More... | |
initSortingDirectionForm (ilContainerSortingSettings $sorting_settings, $element, $a_prefix) | |
Add sorting direction. More... | |
initManualSortingOptionForm (ilContainerSortingSettings $settings, $element, $a_prefix, $a_sorting_settings) | |
Add manual sorting options. More... | |
saveSortingSettings (ilPropertyFormGUI $form) | |
Save sorting settings. More... | |
getTreeSelectorGUI ($cmd) | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table More... | |
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 More... | |
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. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Private Member Functions | |
checkAgreement () | |
Check agreement and redirect if it is not accepted. More... | |
checkLicenses ($a_keep=false) | |
Check the remaining licenses of course objects and generate a message if raare. More... | |
Additional Inherited Members | |
Data Fields inherited from ilContainerGUI | |
$bl_cnt = 1 | |
$multi_download_enabled = false | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Attributes inherited from ilObjectGUI | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
Class ilObjCourseGUI.
ilObjCourseGUI: ilCourseRegistrationGUI, ilCourseObjectivesGUI ilObjCourseGUI: ilObjCourseGroupingGUI, 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: ilMailMemberSearchGUI, ilBadgeManagementGUI ilObjCourseGUI: ilLOPageGUI, ilObjectMetaDataGUI, ilNewsTimelineGUI, ilContainerNewsSettingsGUI ilObjCourseGUI: ilCourseMembershipGUI
Definition at line 29 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__construct | ( | ) |
Constructor public.
Definition at line 35 of file class.ilObjCourseGUI.php.
References $_GET, $ilCtrl, and array.
ilObjCourseGUI::__checkStartObjects | ( | ) |
Definition at line 3038 of file class.ilObjCourseGUI.php.
References $ilUser, and object.
Referenced by viewObject().
|
static |
|
static |
goto target course
Definition at line 2727 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().
Referenced by ilObjCourseReferenceGUI\_goto().
|
static |
We need a static version of this, e.g.
in folders of the course
Definition at line 2867 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$lng, ilObjCourse\_lookupViewMode(), array, and ilContainer\VIEW_OBJECTIVE.
Referenced by ilObjSessionGUI\modifyItemGUI(), ilObjGroupGUI\modifyItemGUI(), ilObjFolderGUI\modifyItemGUI(), and modifyItemGUI().
ilObjCourseGUI::addContentTab | ( | ) |
Add content tab.
Definition at line 1982 of file class.ilObjCourseGUI.php.
Referenced by getTabs().
ilObjCourseGUI::addLocatorItems | ( | ) |
Definition at line 2705 of file class.ilObjCourseGUI.php.
|
protected |
add course admin after import file
Definition at line 85 of file class.ilObjCourseGUI.php.
References $ilSetting, $ilUser, ilCourseParticipants\_getInstanceByObjId(), ilCourseConstants\CRS_ADMIN, and ilObject\getId().
|
protected |
save object public
Definition at line 1670 of file class.ilObjCourseGUI.php.
References $ilSetting, $ilUser, ilChangeEvent\_recordWriteEvent(), ilObject\getId(), ilObject\getRefId(), ilObjectGUI\getReturnLocation(), IL_CRS_ADMIN, ilUtil\redirect(), ilUtil\sendSuccess(), and ilObject\update().
|
protected |
Definition at line 3186 of file class.ilObjCourseGUI.php.
References array.
ilObjCourseGUI::askResetObject | ( | ) |
ask reset test results
public
Definition at line 2997 of file class.ilObjCourseGUI.php.
References $GLOBALS, and ilUtil\sendQuestion().
ilObjCourseGUI::autoFillObject | ( | ) |
Definition at line 1878 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), membersObject(), object, ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
private |
Check agreement and redirect if it is not accepted.
private
Definition at line 2623 of file class.ilObjCourseGUI.php.
References $GLOBALS, $ilUser, ilCourseUserData\_checkRequired(), ilPrivacySettings\_getInstance(), ilMemberAgreement\_hasAccepted(), ilCourseDefinedFieldDefinition\_hasFields(), ilMemberViewSettings\getInstance(), and object.
Referenced by viewObject().
|
private |
Check the remaining licenses of course objects and generate a message if raare.
private
Definition at line 2672 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$lng, ilLicense\_getLicensedChildObjects(), ilLicenseAccess\_isEnabled(), object, and ilUtil\sendInfo().
ilObjCourseGUI::confirmDeleteInfoFilesObject | ( | ) |
show info file donfimation table
public
Definition at line 589 of file class.ilObjCourseGUI.php.
References $_POST, $file, editInfoObject(), ilUtil\sendFailure(), and setSubTabs().
|
protected |
Definition at line 995 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$tpl.
Referenced by updateObject().
ilObjCourseGUI::createMailSignature | ( | ) |
Create a course mail signature.
Definition at line 3083 of file class.ilObjCourseGUI.php.
References ilLink\_getLink(), and object.
Referenced by infoScreen().
ilObjCourseGUI::deleteInfoFilesObject | ( | ) |
Delete info files.
public
Definition at line 628 of file class.ilObjCourseGUI.php.
References $_POST, $file, editInfoObject(), object, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjCourseGUI::deliverCertificateObject | ( | ) |
Definition at line 3157 of file class.ilObjCourseGUI.php.
References $certificate, $ilUser, array, ilCourseParticipants\getDateTimeOfPassed(), ilCertificate\isActive(), ilCertificate\isObjectActive(), object, and ilUtil\sendFailure().
ilObjCourseGUI::editCourseIconsObject | ( | $a_form = null | ) |
edit container icons
Definition at line 1467 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 530 of file class.ilObjCourseGUI.php.
References $file, $files, $ilErr, ilCourseFile\_readFilesByCourse(), array, ilObjectGUI\checkPermission(), initInfoEditor(), object, and setSubTabs().
Referenced by confirmDeleteInfoFilesObject(), deleteInfoFilesObject(), and updateInfoObject().
ilObjCourseGUI::editMapSettingsObject | ( | ) |
Edit Map Settings.
Definition at line 2784 of file class.ilObjCourseGUI.php.
References $ilCtrl, $ilUser, ilMapUtil\getDefaultSettings(), ilMapUtil\isActivated(), object, ilLocationInputGUI\setLatitude(), setSubTabs(), and ilCheckboxInputGUI\setValue().
ilObjCourseGUI::editObject | ( | ilPropertyFormGUI | $form = null | ) |
edit object
public
Definition at line 1026 of file class.ilObjCourseGUI.php.
References $GLOBALS, and setSubTabs().
ilObjCourseGUI::executeCommand | ( | ) |
Definition at line 2187 of file class.ilObjCourseGUI.php.
References $_GET, $cmd, $GLOBALS, $html, $ilCtrl, $ilErr, $ilUser, $ret, $t, ilObjectGUI\$tpl, ilCourseParticipants\_getInstanceByObjId(), ilLink\_getLink(), ilObjCourse\_isActivated(), ilParticipants\_isParticipant(), ilObjCourse\_registrationEnabled(), ilObjectGUI\addHeaderAction(), array, ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, ilObjectGUI\checkPermission(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\forwardToStyleSheet(), forwardToTimingsView(), ilObjectGUI\getCreationMode(), ilNewsTimelineGUI\getInstance(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreen(), infoScreenObject(), ilLicenseOverviewGUI\LIC_MODE_REPOSITORY, ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilCourseConstants\MAIL_ALLOWED_ALL, object, prepareOutput(), ilMailMemberSearchGUI\setObjParticipants(), setSubTabs(), ilContainerGUI\showPermanentLink(), ilContainerGUI\showRepTree(), and viewObject().
|
protected |
Definition at line 109 of file class.ilObjCourseGUI.php.
References $_SESSION, and ilContainer\VIEW_TIMING.
Referenced by executeCommand().
ilObjCourseGUI::gatewayObject | ( | ) |
Definition at line 53 of file class.ilObjCourseGUI.php.
References $_POST, and viewObject().
|
protected |
Get tabs for member agreement.
Definition at line 1956 of file class.ilObjCourseGUI.php.
References $GLOBALS, array, and object.
|
protected |
Definition at line 1459 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::getLocalRoles | ( | $a_exclude = array() | ) |
Definition at line 3337 of file class.ilObjCourseGUI.php.
References $title, ilObjRole\_getTranslation(), array, and hasAdminPermission().
ilObjCourseGUI::getTabs | ( | ) |
Get tabs.
Definition at line 1991 of file class.ilObjCourseGUI.php.
References $_GET, $GLOBALS, $ilUser, ilObjectGUI\$lng, ilCourseObjective\_getCountObjectives(), ilLicenseAccess\_isEnabled(), ilWaitingList\_isOnList(), ilParticipants\_isParticipant(), addContentTab(), array, ilLearningProgressAccess\checkAccess(), ilBadgeHandler\getInstance(), IL_CRS_VIEW_OBJECTIVE, and object.
|
protected |
user has admin permission or "edit permission" permission on this course
Definition at line 3378 of file class.ilObjCourseGUI.php.
References $ilUser, ilCourseParticipant\_getInstanceByObjId(), ilObjectGUI\checkPermissionBool(), and object.
Referenced by getLocalRoles().
ilObjCourseGUI::infoScreen | ( | ) |
show information screen
Definition at line 225 of file class.ilObjCourseGUI.php.
References $_GET, $file, $files, $ilErr, $ilSetting, $ilUser, $info, ilObjectGUI\$tpl, $txt, ilCourseDefinedFieldDefinition\_fieldsToInfoString(), ilMDUtils\_fillHTMLMetaTags(), ilCourseDefinedFieldDefinition\_getFields(), ilPrivacySettings\_getInstance(), ilExportFieldsInfo\_getInstanceByType(), ilCourseFile\_readFilesByCourse(), array, ilObjectGUI\checkPermission(), ilMailFormCall\CONTEXT_KEY, createMailSignature(), ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), ilParticipants\getInstanceByObjId(), ilMailFormCall\getLinkTarget(), ilCourseMailTemplateMemberContext\ID, IL_CAL_UNIX, IL_CRS_SUBSCRIPTION_CONFIRMATION, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, IL_CRS_SUBSCRIPTION_PASSWORD, ilObjCourseAccess\lookupRegistrationInfo(), ilUtil\makeClickable(), ilAdvancedMDRecordGUI\MODE_INFO, object, ilAdvancedMDRecordGUI\setInfoObject(), and time.
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 215 of file class.ilObjCourseGUI.php.
References infoScreen().
Referenced by executeCommand().
ilObjCourseGUI::initCourseIconsForm | ( | ) |
Definition at line 1485 of file class.ilObjCourseGUI.php.
References ilContainerGUI\showCustomIconsEditing().
Referenced by editCourseIconsObject(), and updateCourseIconsObject().
|
protected |
init form
protected
Definition at line 1049 of file class.ilObjCourseGUI.php.
References $pass, $section, $sess, $title, ilObjUserTracking\_enabledLearningProgress(), ilLink\_getLink(), array, ilObjectServiceSettingsGUI\AUTO_RATING_NEW_OBJECTS, ilObjectServiceSettingsGUI\BADGES, ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilMembershipRegistrationCodeUtils\generateCode(), ilObjectLP\getInstance(), IL_CAL_UNIX, IL_CRS_SUBSCRIPTION_CONFIRMATION, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, 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, object, ilCheckboxInputGUI\setChecked(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMinValue(), ilDateDurationInputGUI\setShowTime(), 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, ilObject\TITLE_LENGTH, and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by updateObject().
|
protected |
Definition at line 3093 of file class.ilObjCourseGUI.php.
References $ilSetting, $ilUser, $lg, ilParticipants\_isParticipant(), ilCourseParticipants\getDateTimeOfPassed(), ilUtil\getImagePath(), ilMembershipNotifications\isActive(), ilCertificate\isActive(), ilCertificate\isObjectActive(), and object.
ilObjCourseGUI::initInfoEditor | ( | ) |
init info editor
public
Definition at line 658 of file class.ilObjCourseGUI.php.
References $file, $section, $text, ilAdvancedMDRecordGUI\MODE_EDITOR, object, ilAdvancedMDRecordGUI\setPropertyForm(), and ilTextAreaInputGUI\setValue().
Referenced by editInfoObject(), and updateInfoObject().
|
protected |
Definition at line 3389 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::leaveObject | ( | ) |
Definition at line 1905 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjectGUI\checkPermission(), object, ilUtil\sendFailure(), and viewObject().
Referenced by unsubscribeObject().
|
protected |
load date
protected
Definition at line 2959 of file class.ilObjCourseGUI.php.
References $_POST, $ilUser, and IL_CAL_FKT_GETDATE.
|
protected |
Called from goto?
Definition at line 2719 of file class.ilObjCourseGUI.php.
References $GLOBALS.
Referenced by autoFillObject().
ilObjCourseGUI::modifyItemGUI | ( | $a_item_list_gui, | |
$a_item_data, | |||
$a_show_path | |||
) |
Modify Item ListGUI for presentation in container.
type | $a_item_list_gui | |
type | $a_item_data | |
type | $a_show_path |
Definition at line 2858 of file class.ilObjCourseGUI.php.
References _modifyItemGUI(), and object.
ilObjCourseGUI::performUnsubscribeObject | ( | ) |
Definition at line 1937 of file class.ilObjCourseGUI.php.
References $ilCtrl, $ilUser, ilObjectGUI\checkPermission(), object, and ilUtil\sendSuccess().
ilObjCourseGUI::prepareOutput | ( | $a_show_subobjects = true | ) |
Handle member view.
Definition at line 3063 of file class.ilObjCourseGUI.php.
References ilObjectGUI\getCreationMode(), ilMemberViewSettings\getInstance(), and object.
Referenced by executeCommand().
ilObjCourseGUI::readMemberData | ( | $ids, | |
$selected_columns = null |
|||
) |
Definition at line 1735 of file class.ilObjCourseGUI.php.
References $failed, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilPrivacySettings\_getInstance(), ilLPStatusWrapper\_lookupCompletedForObject(), ilLPStatusWrapper\_lookupFailedForObject(), ilLPStatusWrapper\_lookupInProgressForObject(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilLearningProgress\_lookupProgressByObjId(), array, ilDatePresentation\formatDate(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), ilObjectLP\getInstance(), IL_CAL_UNIX, ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, object, and ilObjCourse\STATUS_DETERMINATION_LP.
|
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 3304 of file class.ilObjCourseGUI.php.
References $GLOBALS, ilObjectGUI\getFormAction(), and ilUtil\sendQuestion().
Referenced by redirectLocToTestObject().
|
protected |
Definition at line 3237 of file class.ilObjCourseGUI.php.
References ilLink\_getLink(), and ilUtil\redirect().
|
protected |
Test redirection will be moved lo adapter.
Definition at line 3248 of file class.ilObjCourseGUI.php.
References $GLOBALS, $res, ilLink\_getLink(), ilCourseObjective\_getObjectiveIds(), array, object, ilUtil\redirect(), and redirectLocToTestConfirmation().
ilObjCourseGUI::removeBigIconObject | ( | ) |
ilObjCourseGUI::removeSmallIconObject | ( | ) |
ilObjCourseGUI::removeTinyIconObject | ( | ) |
ilObjCourseGUI::renderContainer | ( | ) |
Definition at line 205 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::renderObject | ( | ) |
Definition at line 98 of file class.ilObjCourseGUI.php.
References viewObject().
ilObjCourseGUI::resetObject | ( | ) |
Definition at line 3011 of file class.ilObjCourseGUI.php.
References $GLOBALS, $ilUser, ilLOUserResults\delete(), ilLOTestRun\deleteRuns(), object, ilCourseObjectiveResult\reset(), ilUtil\sendSuccess(), and viewObject().
ilObjCourseGUI::saveMapSettingsObject | ( | ) |
Definition at line 2837 of file class.ilObjCourseGUI.php.
References $_POST, $ilCtrl, $ilUser, and ilUtil\stripSlashes().
ilObjCourseGUI::saveNotificationObject | ( | ) |
:TEMP: Save notification setting (from infoscreen)
Definition at line 505 of file class.ilObjCourseGUI.php.
References ilUtil\sendSuccess().
ilObjCourseGUI::saveSortingObject | ( | ) |
Definition at line 3191 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::sendFileObject | ( | ) |
Definition at line 1499 of file class.ilObjCourseGUI.php.
References $_GET, $file, and ilUtil\deliverFile().
ilObjCourseGUI::setContentSubTabs | ( | ) |
Set content sub tabs.
Definition at line 2902 of file class.ilObjCourseGUI.php.
References $_SESSION, $ilCtrl, ilObjectGUI\$lng, ilContainerGUI\addStandardContainerSubTabs(), IL_CRS_VIEW_TIMING, ilContainerGUI\isActiveAdministrationPanel(), and object.
|
protected |
Definition at line 1009 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 1701 of file class.ilObjCourseGUI.php.
References $_GET, $ilUser, ilCourseParticipants\getMemberRoles(), and object.
ilObjCourseGUI::setSideColumnReturn | ( | ) |
Set return point for side column actions.
Definition at line 3397 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::setSubTabs | ( | $a_tab | ) |
set sub tabs
Definition at line 1541 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjectGUI\$tree, ilPrivacySettings\_getInstance(), ilCourseDefinedFieldDefinition\_hasFields(), ilMapUtil\isActivated(), ilCertificate\isActive(), and object.
Referenced by confirmDeleteInfoFilesObject(), editCourseIconsObject(), editInfoObject(), editMapSettingsObject(), editObject(), and executeCommand().
ilObjCourseGUI::showPossibleSubObjects | ( | ) |
show possible sub objects selection list
Definition at line 1622 of file class.ilObjCourseGUI.php.
References ilContainerGUI\isActiveAdministrationPanel(), object, and ilContainer\VIEW_OBJECTIVE.
ilObjCourseGUI::unsubscribeObject | ( | ) |
DEPRECATED?
Definition at line 1932 of file class.ilObjCourseGUI.php.
References leaveObject().
ilObjCourseGUI::updateCourseIconsObject | ( | ) |
update container icons
Definition at line 1510 of file class.ilObjCourseGUI.php.
References $_POST, $ilSetting, ilObjectGUI\checkPermission(), editCourseIconsObject(), initCourseIconsForm(), and ilUtil\sendSuccess().
ilObjCourseGUI::updateInfoObject | ( | ) |
Definition at line 731 of file class.ilObjCourseGUI.php.
References $_POST, $error, $ilErr, ilObjectGUI\checkPermission(), editInfoObject(), initInfoEditor(), object, ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjCourseGUI::updateLPFromStatus | ( | $a_member_id, | |
$a_has_passed | |||
) |
sync course status and lp status
int | $a_member_id | |
bool | $a_has_passed |
Definition at line 1844 of file class.ilObjCourseGUI.php.
References $ilUser, ilObjUserTracking\_enabledLearningProgress(), ilLPStatusWrapper\_updateStatus(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, object, ilCourseAppEventListener\setBlockedForLP(), ilLPMarks\setCompleted(), and ilObjCourse\STATUS_DETERMINATION_LP.
ilObjCourseGUI::updateObject | ( | ) |
Update course settings type $ilUser.
Definition at line 808 of file class.ilObjCourseGUI.php.
References $_POST, $GLOBALS, $ilUser, ilChangeEvent\_catchupWriteEvents(), ilChangeEvent\_recordWriteEvent(), ilContainerGUI\afterUpdate(), array, ilObjectServiceSettingsGUI\AUTO_RATING_NEW_OBJECTS, ilObjectServiceSettingsGUI\BADGES, ilObjectServiceSettingsGUI\CALENDAR_VISIBILITY, confirmLPSync(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilObjectGUI\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(), object, ilContainerGUI\saveSortingSettings(), ilUtil\sendFailure(), ilContainer\SORT_ACTIVATION, ilObjCourse\STATUS_DETERMINATION_LP, ilObjectServiceSettingsGUI\TAG_CLOUD, ilObjectServiceSettingsGUI\updateServiceSettingsForm(), and ilObjectServiceSettingsGUI\USE_NEWS.
ilObjCourseGUI::viewObject | ( | ) |
Definition at line 131 of file class.ilObjCourseGUI.php.
References $_GET, $ilCtrl, $ilUser, $ret, __checkStartObjects(), ilMDUtils\_fillHTMLMetaTags(), ilLearningProgress\_tracProgress(), checkAgreement(), ilObjectGUI\checkPermission(), object, 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().