|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilObjCourse:
Collaboration diagram for ilObjCourse:Public Member Functions | |
| __construct (int $a_id=0, bool $a_call_by_reference=true) | |
| getShowMembersExport () | |
| setShowMembersExport (bool $a_mem_export) | |
| getRegistrationAccessCode () | |
| setRegistrationAccessCode (string $a_code) | |
| isRegistrationAccessCodeEnabled () | |
| enableRegistrationAccessCode (bool $a_status) | |
| getImportantInformation () | |
| setImportantInformation (string $a_info) | |
| getSyllabus () | |
| setSyllabus (string $a_syllabus) | |
| getTargetGroup () | |
| setTargetGroup (?string $a_tg) | |
| getContactName () | |
| setContactName (string $a_cn) | |
| getContactConsultation () | |
| setContactConsultation (string $a_value) | |
| getContactPhone () | |
| setContactPhone (string $a_value) | |
| getContactEmail () | |
| setContactEmail (string $a_value) | |
| getContactResponsibility () | |
| setContactResponsibility (string $a_value) | |
| getActivationUnlimitedStatus () | |
| getActivationStart () | |
| setActivationStart (int $a_value) | |
| getActivationEnd () | |
| setActivationEnd (int $a_value) | |
| setActivationVisibility (bool $a_value) | |
| getActivationVisibility () | |
| getSubscriptionLimitationType () | |
| setSubscriptionLimitationType (int $a_type) | |
| getSubscriptionUnlimitedStatus () | |
| getSubscriptionStart () | |
| setSubscriptionStart (int $a_value) | |
| getSubscriptionEnd () | |
| setSubscriptionEnd (int $a_value) | |
| getSubscriptionType () | |
| setSubscriptionType (int $a_value) | |
| getSubscriptionPassword () | |
| setSubscriptionPassword (string $a_value) | |
| enabledObjectiveView () | |
| enabledWaitingList () | |
| enableWaitingList (bool $a_status) | |
| inSubscriptionTime () | |
| enableSessionLimit (int $a_status) | |
| isSessionLimitEnabled () | |
| enableSubscriptionMembershipLimitation (bool $a_status) | |
| setNumberOfPreviousSessions (int $a_num) | |
| getNumberOfPreviousSessions () | |
| setNumberOfNextSessions (int $a_num) | |
| getNumberOfNextSessions () | |
| isSubscriptionMembershipLimited () | |
| getSubscriptionMaxMembers () | |
| setSubscriptionMaxMembers (int $a_value) | |
| getSubscriptionNotify () | |
| setViewMode (int $a_mode) | |
| getViewMode () | |
| setTimingMode (int $a_mode) | |
| getTimingMode () | |
| setTutorialSupportBlockSettingValue (int $value) | |
| getTutorialSupportBlockSettingValue () | |
| setAboStatus (bool $a_status) | |
| getAboStatus () | |
| setShowMembers (bool $a_status) | |
| getShowMembers () | |
| setMailToMembersType (int $a_type) | |
| getMailToMembersType () | |
| getMessage () | |
| setMessage (string $a_message) | |
| appendMessage (string $a_message) | |
| isActivated () | |
| read () | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| setLatitude (string $a_latitude) | |
| getLatitude () | |
| setLongitude (string $a_longitude) | |
| getLongitude () | |
| setLocationZoom (int $a_locationzoom) | |
| getLocationZoom () | |
| setEnableCourseMap (bool $a_enablemap) | |
| getEnableMap () | |
| getEnableCourseMap () | |
| setCoursePeriod (?ilDateTime $start=null, ?ilDateTime $end=null) | |
| getCourseStartTimeIndication () | |
| getCourseStart () | |
| getCourseEnd () | |
| setCancellationEnd (?ilDate $a_value=null) | |
| getCancellationEnd () | |
| setSubscriptionMinMembers (int $a_value) | |
| getSubscriptionMinMembers () | |
| setWaitingListAutoFill (bool $a_value) | |
| hasWaitingListAutoFill () | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
| Clone course (no member data) More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| @inheritDoc More... | |
| cloneAutoGeneratedRoles (ilObject $new_obj) | |
| Clone automatic genrated roles (permissions and template permissions) More... | |
| validate () | |
| validateInfoSettings () | |
| hasContactData () | |
| delete () | |
| delete course and all related data return true if all object data were removed; false if only a references were removed More... | |
| update () | |
| @inheritDoc More... | |
| updateSettings () | |
| cloneSettings (ilObject $new_obj) | |
| __createDefaultSettings () | |
| __readSettings () | |
| initWaitingList () | |
| getMemberObject () | |
| getMembersObject () | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| setParentRolePermissions (int $parent_ref_id) | |
| This method is called before "initDefaultRoles". More... | |
| __getCrsNonMemberTemplateId () | |
| getLocalCourseRoles ($a_translate=false) | |
| get ALL local roles of course, also those created and defined afterwards only fetch data once from database. More... | |
| getDefaultCourseRoles (string $a_crs_id="") | |
| get default course roles, returns the defaultlike create roles il_crs_tutor, il_crs_admin and il_crs_member Returns the obj_ids of course specific roles in an associative array. More... | |
| __getLocalRoles () | |
| __deleteSettings () | |
| getDefaultMemberRole () | |
| getDefaultTutorRole () | |
| getDefaultAdminRole () | |
| addAdditionalSubItemInformation (array &$object) | |
| Add additional information to sub item, e.g. More... | |
| register (int $a_user_id, int $a_role=ilCourseConstants::CRS_MEMBER, bool $a_force_registration=false) | |
| getAutoNotification () | |
| Returns automatic notification status from $this->auto_notification. More... | |
| setAutoNotification (bool $value) | |
| Sets automatic notification status in $this->auto_notification, using given $status. More... | |
| setStatusDetermination (int $a_value) | |
| Set status determination mode. More... | |
| getStatusDetermination () | |
| Get status determination mode. More... | |
| syncMembersStatusWithLP () | |
| checkLPStatusSync (int $a_member_id) | |
| sync course status from lp as lp data is not deleted on course exit new members may already have lp completed More... | |
| getOrderType () | |
| handleAutoFill () | |
| Handle course auto fill. More... | |
Public Member Functions inherited from ilContainer | |
| getTileSizes () | |
| getObjectTranslation () | |
| setObjectTranslation (?Translations $obj_trans) | |
| createContainerDirectory () | |
| getContainerDirectory () | |
| setHiddenFilesFound (bool $a_hiddenfilesfound) | |
| getHiddenFilesFound () | |
| getStyleSheetId () | |
| setStyleSheetId (int $a_style_id) | |
| setNewsTimeline (bool $a_val) | |
| getNewsTimeline () | |
| setNewsTimelineAutoEntries (bool $a_val) | |
| getNewsTimelineAutoEntries () | |
| setNewsTimelineLandingPage (bool $a_val) | |
| getNewsTimelineLandingPage () | |
| isNewsTimelineEffective () | |
| isNewsTimelineLandingPageEffective () | |
| setNewsBlockActivated (bool $a_val) | |
| getNewsBlockActivated () | |
| setUseNews (bool $a_val) | |
| getUseNews () | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies (container sorting) More... | |
| cloneAllObject (string $session_id, string $client_id, string $new_type, int $ref_id, int $clone_source, array $options, bool $soap_call=false, int $a_submode=1) | |
| delete () | |
| delete category and all related data More... | |
| getViewMode () | |
| getOrderType () | |
| setOrderType (int $a_value) | |
| isClassificationFilterActive () | |
| filteredSubtree () | |
| Note grp/crs currently allow to filter in their whole subtrees Catetories only their direct childs. More... | |
| getSubItems (bool $a_admin_panel_enabled=false, bool $a_include_side_block=false, int $a_get_single=0, ?ilContainerUserFilter $container_user_filter=null) | |
| gotItems () | |
| addAdditionalSubItemInformation (array &$object) | |
| Add additional information to sub item, e.g. More... | |
| getGroupedObjTypes () | |
| enablePageEditing () | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| update () | |
| read () | |
| readContainerSettings () | |
| removeTranslations () | |
| deleteTranslation (string $a_lang) | |
| addTranslation (string $a_title, string $a_desc, string $a_lang, string $a_lang_default) | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id, int $new_obj_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Public Member Functions inherited from ilMembershipRegistrationCodes | |
| register (int $a_user_id) | |
| Register an user. More... | |
Static Public Member Functions | |
| static | lookupTutorialBlockSettingEabled (int $a_obj_id) |
| static | lookupShowMembersEnabled (int $a_obj_id) |
| static | _isSubscriptionNotificationEnabled (int $a_course_id) |
| static | lookupTimingMode (int $a_obj_id) |
| static | _lookupViewMode (int $a_id) |
| static | _lookupAboStatus (int $a_id) |
| static | _isActivated (int $a_obj_id) |
| Is activated. More... | |
| static | _registrationEnabled (int $a_obj_id) |
| Registration enabled? Method is in Access class, since it is needed by Access/ListGUI. More... | |
| static | lookupCourseNonMemberTemplatesId () |
| static | _deleteUser (int $a_usr_id) |
| static | lookupObjectsByCode (string $a_code) |
| static | mayLeave (int $a_course_id, int $a_user_id=0, &$a_date=null) |
| static | findCoursesWithNotEnoughMembers () |
Static Public Member Functions inherited from ilContainer | |
| static | _getContainerDirectory (int $a_id) |
| static | _lookupContainerSetting (int $a_id, string $a_keyword, ?string $a_default_value=null) |
| static | _hasContainerSetting (int $a_id, string $a_keyword) |
| static | _writeContainerSetting (int $a_id, string $a_keyword, string $a_value) |
| static | _getContainerSettings (int $a_id) |
| static | _deleteContainerSettings (int $a_id, string $a_keyword="", bool $a_keyword_like=false) |
| static | _exportContainerSettings (ilXmlWriter $a_xml, int $a_obj_id) |
| static | getCompleteDescriptions (array $objects) |
| overwrites description fields to long or short description in an assoc array keys needed (obj_id and description) More... | |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", ?int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | getIconForType (string $type) |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, ?\ilDBInterface $ilDB=null) |
| static | lookupObjectsByCode (string $a_code) |
| Lookup all objects with reg_access_code enabled and. More... | |
Protected Member Functions | |
| toggleCourseStartTimeIndication (bool $time_indication) | |
| setCourseStart (?ilDateTime $a_value=null) | |
| setCourseEnd (?ilDateTime $a_value=null) | |
| initCourseMemberObject () | |
| initCourseMembersObject () | |
| doMDUpdateListener (string $a_element) | |
| prepareAppointments (string $a_mode='create') | |
| Prepare calendar appointments. More... | |
Protected Member Functions inherited from ilContainer | |
| getInitialSubitems () | |
| applyContainerUserFilter (array $objects, ?ilContainerUserFilter $container_user_filter=null) | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjCourse
Definition at line 23 of file class.ilObjCourse.php.
| ilObjCourse::__construct | ( | int | $a_id = 0, |
| bool | $a_call_by_reference = true |
||
| ) |
Definition at line 95 of file class.ilObjCourse.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and setStatusDetermination().
Here is the call graph for this function:| ilObjCourse::__createDefaultSettings | ( | ) |
Definition at line 1100 of file class.ilObjCourse.php.
References $res, __readSettings(), ilMembershipRegistrationCodeUtils\generateCode(), getAboStatus(), getAutoNotification(), getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), getContactResponsibility(), getEnableCourseMap(), ilObject\getId(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getNumberOfPreviousSessions(), getRegistrationAccessCode(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionMaxMembers(), getSubscriptionPassword(), getSubscriptionStart(), getSyllabus(), getTutorialSupportBlockSettingValue(), ilCourseConstants\IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCourseConstants\IL_CRS_SUBSCRIPTION_DIRECT, ilCourseConstants\IL_CRS_VIEW_TIMING_ABSOLUTE, isRegistrationAccessCodeEnabled(), isSessionLimitEnabled(), setRegistrationAccessCode(), and ilContainer\SORT_MANUAL.
Referenced by create(), and updateSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::__deleteSettings | ( | ) |
Definition at line 1411 of file class.ilObjCourse.php.
References ilObject\getId().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::__getCrsNonMemberTemplateId | ( | ) |
Definition at line 1311 of file class.ilObjCourse.php.
References $q, $res, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by setParentRolePermissions().
Here is the caller graph for this function:| ilObjCourse::__getLocalRoles | ( | ) |
Definition at line 1406 of file class.ilObjCourse.php.
References ilObject\getRefId().
Referenced by getDefaultAdminRole(), getDefaultMemberRole(), and getDefaultTutorRole().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::__readSettings | ( | ) |
Definition at line 1157 of file class.ilObjCourse.php.
References $res, enableRegistrationAccessCode(), enableSessionLimit(), enableSubscriptionMembershipLimitation(), enableWaitingList(), ilDBConstants\FETCHMODE_OBJECT, ilObject\getId(), ilPrivacySettings\getInstance(), ilObjectActivation\getItem(), IL_CAL_DATE, IL_CAL_DATETIME, IL_CAL_UNIX, setAboStatus(), setActivationEnd(), setActivationStart(), setActivationVisibility(), setAutoNotification(), setCancellationEnd(), setContactConsultation(), setContactEmail(), setContactName(), setContactPhone(), setContactResponsibility(), setCoursePeriod(), setEnableCourseMap(), setImportantInformation(), setLatitude(), setLocationZoom(), setLongitude(), setMailToMembersType(), setNumberOfNextSessions(), setNumberOfPreviousSessions(), setRegistrationAccessCode(), setShowMembers(), setShowMembersExport(), setStatusDetermination(), setSubscriptionEnd(), setSubscriptionLimitationType(), setSubscriptionMaxMembers(), setSubscriptionMinMembers(), setSubscriptionPassword(), setSubscriptionStart(), setSubscriptionType(), setSyllabus(), setTargetGroup(), setTimingMode(), setTutorialSupportBlockSettingValue(), setViewMode(), setWaitingListAutoFill(), ilObjectActivation\TIMINGS_ACTIVATION, toggleCourseStartTimeIndication(), and ilTimeZone\UTC.
Referenced by __createDefaultSettings(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1456 of file class.ilObjCourse.php.
References ilCourseLMHistory\_deleteUser(), ilParticipants\_deleteUser(), and ilLOUserResults\deleteResultsForUser().
Here is the call graph for this function:
|
static |
Is activated.
Method is in Access class, since it is needed by Access/ListGUI.
Definition at line 561 of file class.ilObjCourse.php.
References ilObjCourseAccess\_isActivated().
Referenced by ilObjCourseGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 404 of file class.ilObjCourse.php.
|
static |
Definition at line 481 of file class.ilObjCourse.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjFolderGUI\modifyItemGUI(), and ilObjGroupGUI\modifyItemGUI().
Here is the caller graph for this function:
|
static |
Definition at line 467 of file class.ilObjCourse.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseLP\checkObjectives(), ilCalendarScheduleFilterTimings\enabledCourseTimings(), ilObjFolderGUI\forwardToTimingsView(), and ilObjGroup\translateViewMode().
Here is the caller graph for this function:
|
static |
Registration enabled? Method is in Access class, since it is needed by Access/ListGUI.
Definition at line 569 of file class.ilObjCourse.php.
References ilObjCourseAccess\_registrationEnabled().
Referenced by ilObjCourseGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::addAdditionalSubItemInformation | ( | array & | $object | ) |
Add additional information to sub item, e.g.
used in courses for timings information etc.
Reimplemented from ilContainer.
Definition at line 1474 of file class.ilObjCourse.php.
References ilObjectActivation\addAdditionalSubItemInformation().
Here is the call graph for this function:| ilObjCourse::appendMessage | ( | string | $a_message | ) |
Definition at line 535 of file class.ilObjCourse.php.
References getMessage().
Referenced by validate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::checkLPStatusSync | ( | int | $a_member_id | ) |
sync course status from lp as lp data is not deleted on course exit new members may already have lp completed
Definition at line 1740 of file class.ilObjCourse.php.
References ilObjUserTracking\_enabledLearningProgress(), ilLPStatus\_lookupStatus(), ilObject\getId(), getMembersObject(), getStatusDetermination(), ilLPStatus\LP_STATUS_COMPLETED_NUM, and STATUS_DETERMINATION_LP.
Referenced by handleAutoFill().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::cloneAutoGeneratedRoles | ( | ilObject | $new_obj | ) |
Clone automatic genrated roles (permissions and template permissions)
Definition at line 810 of file class.ilObjCourse.php.
References getDefaultAdminRole(), getDefaultMemberRole(), getDefaultTutorRole(), and ilObject\getRefId().
Referenced by cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::cloneDependencies | ( | int | $target_id, |
| int | $copy_id | ||
| ) |
@inheritDoc
Reimplemented from ilContainer.
Definition at line 780 of file class.ilObjCourse.php.
References ilObjCourseGrouping\_getGroupings(), ilObject\_lookupObjId(), ilObjectActivation\cloneDependencies(), ilLOSettings\cloneSettings(), ilObject\getId(), and ilObject\getRefId().
Here is the call graph for this function:| ilObjCourse::cloneObject | ( | int | $target_id, |
| int | $copy_id = 0, |
||
| bool | $omit_tree = false |
||
| ) |
Clone course (no member data)
Definition at line 732 of file class.ilObjCourse.php.
References $DIC, ilCourseDefinedFieldDefinition\_clone(), ilCourseFile\_cloneFiles(), ilCopyWizardOptions\_getInstance(), cloneAutoGeneratedRoles(), ilObject\cloneMetaData(), cloneSettings(), ilObject\getId(), ilBadge\getInstancesByParentId(), ilParticipants\IL_CRS_ADMIN, ilObject\setOfflineStatus(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjCourse::cloneSettings | ( | ilObject | $new_obj | ) |
Definition at line 1044 of file class.ilObjCourse.php.
References enabledWaitingList(), ilMembershipRegistrationCodeUtils\generateCode(), getAboStatus(), getActivationEnd(), getActivationStart(), getActivationVisibility(), getAutoNotification(), getCancellationEnd(), getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), getContactResponsibility(), getCourseEnd(), getCourseStart(), getEnableCourseMap(), getImportantInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), ilObject\getOfflineStatus(), getOrderType(), getShowMembers(), getShowMembersExport(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), getSubscriptionMinMembers(), getSubscriptionPassword(), getSubscriptionStart(), getSubscriptionType(), getSyllabus(), getTargetGroup(), getTimingMode(), getTutorialSupportBlockSettingValue(), getViewMode(), hasWaitingListAutoFill(), isRegistrationAccessCodeEnabled(), isSessionLimitEnabled(), isSubscriptionMembershipLimited(), ilObject\setOfflineStatus(), and ilObject\update().
Referenced by cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::create | ( | ) |
note: title, description and type should be set when this function is called
Reimplemented from ilContainer.
Definition at line 581 of file class.ilObjCourse.php.
References $DIC, $id, __createDefaultSettings(), ilObject\createMetaData(), ilObject\getId(), and prepareAppointments().
Here is the call graph for this function:| ilObjCourse::delete | ( | ) |
delete course and all related data return true if all object data were removed; false if only a references were removed
Reimplemented from ilContainer.
Definition at line 898 of file class.ilObjCourse.php.
References __deleteSettings(), ilObjCourseGrouping\_deleteAll(), ilCourseObjective\_deleteAll(), ilParticipants\_deleteAllEntries(), ilCourseDefinedFieldDefinition\_deleteByContainer(), ilCourseFile\_deleteByCourse(), ilObject\deleteMetaData(), ilObject\getId(), and prepareAppointments().
Here is the call graph for this function:
|
protected |
Reimplemented from ilObject.
Definition at line 1463 of file class.ilObjCourse.php.
| ilObjCourse::enabledObjectiveView | ( | ) |
Definition at line 328 of file class.ilObjCourse.php.
References ilCourseConstants\IL_CRS_VIEW_OBJECTIVE.
Referenced by getOrderType().
Here is the caller graph for this function:| ilObjCourse::enabledWaitingList | ( | ) |
Definition at line 333 of file class.ilObjCourse.php.
References $waiting_list.
Referenced by cloneSettings(), handleAutoFill(), register(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::enableRegistrationAccessCode | ( | bool | $a_status | ) |
Definition at line 153 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::enableSessionLimit | ( | int | $a_status | ) |
Definition at line 354 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::enableSubscriptionMembershipLimitation | ( | bool | $a_status | ) |
Definition at line 364 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::enableWaitingList | ( | bool | $a_status | ) |
Definition at line 338 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:
|
static |
Definition at line 1836 of file class.ilObjCourse.php.
References $GLOBALS, $ilDB, $res, ilObject\$tree, ilObject\_getAllReferences(), IL_CAL_DATETIME, IL_CAL_UNIX, ILIAS\Repository\int(), ilTree\isDeleted(), ilDBConstants\T_TEXT, and ilTimeZone\UTC.
Referenced by ilMembershipCronMinMembers\getCourses().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getAboStatus | ( | ) |
Definition at line 500 of file class.ilObjCourse.php.
References $abo.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getActivationEnd | ( | ) |
Definition at line 253 of file class.ilObjCourse.php.
References $activation_end.
Referenced by cloneSettings(), getActivationUnlimitedStatus(), isActivated(), prepareAppointments(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getActivationStart | ( | ) |
Definition at line 243 of file class.ilObjCourse.php.
References $activation_start.
Referenced by cloneSettings(), getActivationUnlimitedStatus(), isActivated(), prepareAppointments(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getActivationUnlimitedStatus | ( | ) |
Definition at line 238 of file class.ilObjCourse.php.
References getActivationEnd(), and getActivationStart().
Referenced by isActivated(), and prepareAppointments().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getActivationVisibility | ( | ) |
Definition at line 268 of file class.ilObjCourse.php.
References $activation_visibility.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getAutoNotification | ( | ) |
Returns automatic notification status from $this->auto_notification.
Definition at line 1689 of file class.ilObjCourse.php.
References $auto_notification.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getCancellationEnd | ( | ) |
Definition at line 701 of file class.ilObjCourse.php.
References $leave_end.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getContactConsultation | ( | ) |
Definition at line 198 of file class.ilObjCourse.php.
References $contact_consultation.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getContactEmail | ( | ) |
Definition at line 218 of file class.ilObjCourse.php.
References $contact_email.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), updateSettings(), and validateInfoSettings().
Here is the caller graph for this function:| ilObjCourse::getContactName | ( | ) |
Definition at line 188 of file class.ilObjCourse.php.
References $contact_name.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getContactPhone | ( | ) |
Definition at line 208 of file class.ilObjCourse.php.
References $contact_phone.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getContactResponsibility | ( | ) |
Definition at line 228 of file class.ilObjCourse.php.
References $contact_responsibility.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getCourseEnd | ( | ) |
Definition at line 691 of file class.ilObjCourse.php.
References $crs_end.
Referenced by cloneSettings(), prepareAppointments(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getCourseStart | ( | ) |
Definition at line 681 of file class.ilObjCourse.php.
References $crs_start.
Referenced by cloneSettings(), prepareAppointments(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getCourseStartTimeIndication | ( | ) |
Definition at line 671 of file class.ilObjCourse.php.
References $course_start_time_indication.
Referenced by prepareAppointments(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getDefaultAdminRole | ( | ) |
Definition at line 1443 of file class.ilObjCourse.php.
References $local_roles, __getLocalRoles(), and ilObjectFactory\getInstanceByObjId().
Referenced by cloneAutoGeneratedRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getDefaultCourseRoles | ( | string | $a_crs_id = "" | ) |
get default course roles, returns the defaultlike create roles il_crs_tutor, il_crs_admin and il_crs_member Returns the obj_ids of course specific roles in an associative array.
key=descripiton of the role (i.e. "il_crs_tutor", "il_crs_admin", "il_crs_member". value=obj_id of the role
Definition at line 1369 of file class.ilObjCourse.php.
References ilObject\getRefId().
Here is the call graph for this function:| ilObjCourse::getDefaultMemberRole | ( | ) |
Definition at line 1418 of file class.ilObjCourse.php.
References $local_roles, ilObject\$title, __getLocalRoles(), and ilObject\_lookupTitle().
Referenced by cloneAutoGeneratedRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getDefaultTutorRole | ( | ) |
Definition at line 1430 of file class.ilObjCourse.php.
References $local_roles, __getLocalRoles(), and ilObjectFactory\getInstanceByObjId().
Referenced by cloneAutoGeneratedRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getEnableCourseMap | ( | ) |
Definition at line 643 of file class.ilObjCourse.php.
References $enablemap.
Referenced by __createDefaultSettings(), cloneSettings(), getEnableMap(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getEnableMap | ( | ) |
Definition at line 638 of file class.ilObjCourse.php.
References getEnableCourseMap().
Here is the call graph for this function:| ilObjCourse::getImportantInformation | ( | ) |
Definition at line 158 of file class.ilObjCourse.php.
References $important.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getLatitude | ( | ) |
Definition at line 608 of file class.ilObjCourse.php.
References $latitude.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getLocalCourseRoles | ( | $a_translate = false | ) |
get ALL local roles of course, also those created and defined afterwards only fetch data once from database.
info is stored in object variable @access public
Definition at line 1340 of file class.ilObjCourse.php.
References $local_roles, ilObjRole\_getTranslation(), ilObjectFactory\getInstanceByObjId(), and ilObject\getRefId().
Here is the call graph for this function:| ilObjCourse::getLocationZoom | ( | ) |
Definition at line 628 of file class.ilObjCourse.php.
References $locationzoom.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getLongitude | ( | ) |
Definition at line 618 of file class.ilObjCourse.php.
References $longitude.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getMailToMembersType | ( | ) |
Definition at line 520 of file class.ilObjCourse.php.
References $mail_members.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getMemberObject | ( | ) |
Definition at line 1249 of file class.ilObjCourse.php.
References $member_obj, and initCourseMemberObject().
Here is the call graph for this function:| ilObjCourse::getMembersObject | ( | ) |
Definition at line 1257 of file class.ilObjCourse.php.
References $members_obj, and initCourseMembersObject().
Referenced by checkLPStatusSync(), handleAutoFill(), register(), and syncMembersStatusWithLP().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getMessage | ( | ) |
Definition at line 525 of file class.ilObjCourse.php.
References $message.
Referenced by appendMessage(), and validate().
Here is the caller graph for this function:| ilObjCourse::getNumberOfNextSessions | ( | ) |
Definition at line 384 of file class.ilObjCourse.php.
References $session_next.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getNumberOfPreviousSessions | ( | ) |
Definition at line 374 of file class.ilObjCourse.php.
References $session_prev.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getOrderType | ( | ) |
Reimplemented from ilContainer.
Definition at line 1755 of file class.ilObjCourse.php.
References enabledObjectiveView(), and ilContainer\SORT_MANUAL.
Referenced by cloneSettings(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getRegistrationAccessCode | ( | ) |
Definition at line 138 of file class.ilObjCourse.php.
References $reg_access_code.
Referenced by __createDefaultSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getShowMembers | ( | ) |
Definition at line 510 of file class.ilObjCourse.php.
References $show_members.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getShowMembersExport | ( | ) |
Definition at line 128 of file class.ilObjCourse.php.
References $member_export.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getStatusDetermination | ( | ) |
Get status determination mode.
Definition at line 1723 of file class.ilObjCourse.php.
References $status_dt.
Referenced by __createDefaultSettings(), checkLPStatusSync(), cloneSettings(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionEnd | ( | ) |
Definition at line 298 of file class.ilObjCourse.php.
References $subscription_end.
Referenced by __createDefaultSettings(), cloneSettings(), inSubscriptionTime(), prepareAppointments(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionLimitationType | ( | ) |
Definition at line 273 of file class.ilObjCourse.php.
References $subscription_limitation_type.
Referenced by cloneSettings(), prepareAppointments(), register(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionMaxMembers | ( | ) |
Definition at line 394 of file class.ilObjCourse.php.
References $subscription_max_members.
Referenced by __createDefaultSettings(), cloneSettings(), handleAutoFill(), register(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionMinMembers | ( | ) |
Definition at line 714 of file class.ilObjCourse.php.
References $min_members.
Referenced by cloneSettings(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionNotify | ( | ) |
Definition at line 416 of file class.ilObjCourse.php.
Referenced by updateSettings().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionPassword | ( | ) |
Definition at line 318 of file class.ilObjCourse.php.
References $subscription_password.
Referenced by __createDefaultSettings(), cloneSettings(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionStart | ( | ) |
Definition at line 288 of file class.ilObjCourse.php.
References $subscription_start.
Referenced by __createDefaultSettings(), cloneSettings(), inSubscriptionTime(), prepareAppointments(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionType | ( | ) |
Definition at line 308 of file class.ilObjCourse.php.
References ilCourseConstants\IL_CRS_SUBSCRIPTION_DIRECT.
Referenced by cloneSettings(), updateSettings(), and validate().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionUnlimitedStatus | ( | ) |
Definition at line 283 of file class.ilObjCourse.php.
References ilCourseConstants\IL_CRS_SUBSCRIPTION_UNLIMITED.
Referenced by inSubscriptionTime().
Here is the caller graph for this function:| ilObjCourse::getSyllabus | ( | ) |
Definition at line 168 of file class.ilObjCourse.php.
References $syllabus.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getTargetGroup | ( | ) |
Definition at line 178 of file class.ilObjCourse.php.
References $target_group.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getTimingMode | ( | ) |
Definition at line 452 of file class.ilObjCourse.php.
References $timing_mode.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getTutorialSupportBlockSettingValue | ( | ) |
Definition at line 462 of file class.ilObjCourse.php.
References $tutorial_support_block_setting_value.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getViewMode | ( | ) |
Reimplemented from ilContainer.
Definition at line 426 of file class.ilObjCourse.php.
References $view_mode.
Referenced by cloneSettings(), prepareAppointments(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::handleAutoFill | ( | ) |
Handle course auto fill.
Definition at line 1766 of file class.ilObjCourse.php.
References $user_id, $waiting_list, checkLPStatusSync(), enabledWaitingList(), ilObject\getId(), ilObjectFactory\getInstanceByObjId(), getMembersObject(), ilObject\getRefId(), getSubscriptionMaxMembers(), ilObject\getTitle(), hasWaitingListAutoFill(), ilParticipants\IL_CRS_MEMBER, ilParticipants\lookupNumberOfMembers(), and ilCourseMembershipMailNotification\TYPE_ADMISSION_MEMBER.
Here is the call graph for this function:| ilObjCourse::hasContactData | ( | ) |
Definition at line 889 of file class.ilObjCourse.php.
References getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), and getContactResponsibility().
Here is the call graph for this function:| ilObjCourse::hasWaitingListAutoFill | ( | ) |
Definition at line 724 of file class.ilObjCourse.php.
References $auto_fill_from_waiting.
Referenced by cloneSettings(), handleAutoFill(), and updateSettings().
Here is the caller graph for this function:
|
protected |
Definition at line 1239 of file class.ilObjCourse.php.
References ilCourseParticipant\_getInstanceByObjId(), ilObject\getId(), and ILIAS\Repository\user().
Referenced by getMemberObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1244 of file class.ilObjCourse.php.
References ilCourseParticipants\_getInstanceByObjId(), and ilObject\getId().
Referenced by getMembersObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::initDefaultRoles | ( | ) |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type.
If you want to set up default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example).
Reimplemented from ilObject.
Definition at line 1267 of file class.ilObjCourse.php.
References ilObjRole\createDefaultRole(), ilObject\getId(), and ilObject\getRefId().
Here is the call graph for this function:| ilObjCourse::initWaitingList | ( | ) |
Definition at line 1232 of file class.ilObjCourse.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjCourse::inSubscriptionTime | ( | ) |
Definition at line 343 of file class.ilObjCourse.php.
References getSubscriptionEnd(), getSubscriptionStart(), and getSubscriptionUnlimitedStatus().
Referenced by register().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::isActivated | ( | ) |
Definition at line 543 of file class.ilObjCourse.php.
References getActivationEnd(), getActivationStart(), getActivationUnlimitedStatus(), and ilObject\getOfflineStatus().
Here is the call graph for this function:| ilObjCourse::isRegistrationAccessCodeEnabled | ( | ) |
Definition at line 148 of file class.ilObjCourse.php.
References $reg_access_code_enabled.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::isSessionLimitEnabled | ( | ) |
Definition at line 359 of file class.ilObjCourse.php.
References $session_limit.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::isSubscriptionMembershipLimited | ( | ) |
Definition at line 389 of file class.ilObjCourse.php.
References $subscription_membership_limitation.
Referenced by cloneSettings(), register(), updateSettings(), and validate().
Here is the caller graph for this function:
|
static |
Definition at line 1319 of file class.ilObjCourse.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by ilRbacAdmin\adjustMovedObjectPermissions().
Here is the caller graph for this function:
|
static |
Implements ilMembershipRegistrationCodes.
Definition at line 1581 of file class.ilObjCourse.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilMembershipRegistrationCodeUtils\lookupObjectsByCode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 117 of file class.ilObjCourse.php.
References $GLOBALS, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ILIAS\Awareness\User\ProviderCurrentCourse\getInitialUserSet(), and ilParticipants\hasParticipantListAccess().
Here is the caller graph for this function:
|
static |
Definition at line 431 of file class.ilObjCourse.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ilCourseConstants\IL_CRS_VIEW_TIMING_ABSOLUTE.
Referenced by ilObjectActivation\addAdditionalSubItemInformation(), ilCalendarScheduleFilterTimings\addCustomEvents(), ilCourseAppEventListener\initializeTimings(), and ilCalendarScheduleFilterTimings\modifyEvent().
Here is the caller graph for this function:
|
static |
Definition at line 106 of file class.ilObjCourse.php.
References $GLOBALS, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 1810 of file class.ilObjCourse.php.
References $DIC, $ilDB, and IL_CAL_DATE.
Referenced by ilObjCourseAccess\_checkAccess().
Here is the caller graph for this function:
|
protected |
Prepare calendar appointments.
Definition at line 1482 of file class.ilObjCourse.php.
References getActivationEnd(), getActivationStart(), getActivationUnlimitedStatus(), getCourseEnd(), getCourseStart(), getCourseStartTimeIndication(), ilObject\getLongDescription(), ilObject\getOfflineStatus(), ilObject\getRefId(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionStart(), ilObjectActivation\getTimingsItems(), ilObject\getTitle(), getViewMode(), IL_CAL_UNIX, ilCourseConstants\IL_CRS_SUBSCRIPTION_LIMITED, ilCourseConstants\IL_CRS_VIEW_TIMING, ilObjectActivation\TIMINGS_PRESETTING, and ilCalendarEntry\TRANSLATION_SYSTEM.
Referenced by create(), delete(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::read | ( | ) |
Reimplemented from ilContainer.
Definition at line 574 of file class.ilObjCourse.php.
References __readSettings(), ilContainerSortingSettings\_lookupSortMode(), ilObject\getId(), and ilContainer\setOrderType().
Here is the call graph for this function:| ilObjCourse::register | ( | int | $a_user_id, |
| int | $a_role = ilCourseConstants::CRS_MEMBER, |
||
| bool | $a_force_registration = false |
||
| ) |
| ilMembershipRegistrationException |
Definition at line 1603 of file class.ilObjCourse.php.
References $info, $waiting_list, ilCourseParticipants\_getInstanceByObjId(), ilObjCourseAccess\_isActivated(), ilObjCourseAccess\_isOffline(), ilObjCourseAccess\_usingRegistrationCode(), ilMembershipRegistrationException\ADDED_TO_WAITINGLIST, ilForumNotification\checkForumsExistsInsert(), enabledWaitingList(), ilObject\getId(), getMembersObject(), ilObject\getRefId(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), ilCourseConstants\IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCourseConstants\IL_CRS_SUBSCRIPTION_LIMITED, inSubscriptionTime(), isSubscriptionMembershipLimited(), ILIAS\Repository\lng(), ilMembershipRegistrationException\OBJECT_IS_FULL, ilMembershipRegistrationException\OUT_OF_REGISTRATION_PERIOD, ilMembershipRegistrationException\REGISTRATION_CODE_DISABLED, ilMembershipRegistrationException\REGISTRATION_INVALID_AVAILABILITY, ilMembershipRegistrationException\REGISTRATION_INVALID_OFFLINE, ilCourseMembershipMailNotification\TYPE_ADMISSION_MEMBER, ilCourseMembershipMailNotification\TYPE_NOTIFICATION_ADMINS, and ilCourseMembershipMailNotification\TYPE_WAITING_LIST_MEMBER.
Here is the call graph for this function:| ilObjCourse::setAboStatus | ( | bool | $a_status | ) |
Definition at line 495 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setActivationEnd | ( | int | $a_value | ) |
Definition at line 258 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setActivationStart | ( | int | $a_value | ) |
Definition at line 248 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setActivationVisibility | ( | bool | $a_value | ) |
Definition at line 263 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setAutoNotification | ( | bool | $value | ) |
Sets automatic notification status in $this->auto_notification, using given $status.
Definition at line 1698 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setCancellationEnd | ( | ?ilDate | $a_value = null | ) |
Definition at line 696 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactConsultation | ( | string | $a_value | ) |
Definition at line 203 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactEmail | ( | string | $a_value | ) |
Definition at line 223 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactName | ( | string | $a_cn | ) |
Definition at line 193 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactPhone | ( | string | $a_value | ) |
Definition at line 213 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactResponsibility | ( | string | $a_value | ) |
Definition at line 233 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:
|
protected |
Definition at line 686 of file class.ilObjCourse.php.
Referenced by setCoursePeriod().
Here is the caller graph for this function:| ilObjCourse::setCoursePeriod | ( | ?ilDateTime | $start = null, |
| ?ilDateTime | $end = null |
||
| ) |
Definition at line 648 of file class.ilObjCourse.php.
References setCourseEnd(), setCourseStart(), and toggleCourseStartTimeIndication().
Referenced by __readSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 676 of file class.ilObjCourse.php.
Referenced by setCoursePeriod().
Here is the caller graph for this function:| ilObjCourse::setEnableCourseMap | ( | bool | $a_enablemap | ) |
Definition at line 633 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setImportantInformation | ( | string | $a_info | ) |
Definition at line 163 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setLatitude | ( | string | $a_latitude | ) |
Definition at line 603 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setLocationZoom | ( | int | $a_locationzoom | ) |
Definition at line 623 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setLongitude | ( | string | $a_longitude | ) |
Definition at line 613 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setMailToMembersType | ( | int | $a_type | ) |
Definition at line 515 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setMessage | ( | string | $a_message | ) |
Definition at line 530 of file class.ilObjCourse.php.
Referenced by validate().
Here is the caller graph for this function:| ilObjCourse::setNumberOfNextSessions | ( | int | $a_num | ) |
Definition at line 379 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setNumberOfPreviousSessions | ( | int | $a_num | ) |
Definition at line 369 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setParentRolePermissions | ( | int | $parent_ref_id | ) |
This method is called before "initDefaultRoles".
Therefore now local course roles are created. Grants permissions on the course object for all parent roles. Each permission is granted by computing the intersection of the template il_crs_non_member and the permission template of the parent role.
Reimplemented from ilObject.
Definition at line 1296 of file class.ilObjCourse.php.
References __getCrsNonMemberTemplateId(), ilObject\getRefId(), and ROLE_FOLDER_ID.
Here is the call graph for this function:| ilObjCourse::setRegistrationAccessCode | ( | string | $a_code | ) |
Definition at line 143 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), and __readSettings().
Here is the caller graph for this function:| ilObjCourse::setShowMembers | ( | bool | $a_status | ) |
Definition at line 505 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setShowMembersExport | ( | bool | $a_mem_export | ) |
Definition at line 133 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setStatusDetermination | ( | int | $a_value | ) |
Set status determination mode.
Definition at line 1706 of file class.ilObjCourse.php.
References ilObjUserTracking\_enabledLearningProgress(), and STATUS_DETERMINATION_MANUAL.
Referenced by __construct(), and __readSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::setSubscriptionEnd | ( | int | $a_value | ) |
Definition at line 303 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionLimitationType | ( | int | $a_type | ) |
Definition at line 278 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionMaxMembers | ( | int | $a_value | ) |
Definition at line 399 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionMinMembers | ( | int | $a_value | ) |
Definition at line 706 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionPassword | ( | string | $a_value | ) |
Definition at line 323 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionStart | ( | int | $a_value | ) |
Definition at line 293 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionType | ( | int | $a_value | ) |
Definition at line 313 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSyllabus | ( | string | $a_syllabus | ) |
Definition at line 173 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setTargetGroup | ( | ?string | $a_tg | ) |
Definition at line 183 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setTimingMode | ( | int | $a_mode | ) |
Definition at line 447 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setTutorialSupportBlockSettingValue | ( | int | $value | ) |
Definition at line 457 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setViewMode | ( | int | $a_mode | ) |
Definition at line 421 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setWaitingListAutoFill | ( | bool | $a_value | ) |
Definition at line 719 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::syncMembersStatusWithLP | ( | ) |
Definition at line 1728 of file class.ilObjCourse.php.
References $user_id, ilLPStatusWrapper\_updateStatus(), ilObject\getId(), and getMembersObject().
Here is the call graph for this function:
|
protected |
Definition at line 666 of file class.ilObjCourse.php.
Referenced by __readSettings(), and setCoursePeriod().
Here is the caller graph for this function:| ilObjCourse::update | ( | ) |
@inheritDoc
Reimplemented from ilContainer.
Definition at line 936 of file class.ilObjCourse.php.
References ilObject\getId(), getOrderType(), prepareAppointments(), ilObject\updateMetaData(), and updateSettings().
Here is the call graph for this function:| ilObjCourse::updateSettings | ( | ) |
Definition at line 959 of file class.ilObjCourse.php.
References $res, __createDefaultSettings(), ilCalendarUtil\convertDateToUtcDBTimestamp(), enabledWaitingList(), getAboStatus(), getActivationEnd(), getActivationStart(), getActivationVisibility(), getAutoNotification(), getCancellationEnd(), getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), getContactResponsibility(), getCourseEnd(), getCourseStart(), getCourseStartTimeIndication(), getEnableCourseMap(), ilObject\getId(), getImportantInformation(), ilObjectActivation\getItem(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), ilObject\getOfflineStatus(), getRegistrationAccessCode(), getShowMembers(), getShowMembersExport(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), getSubscriptionMinMembers(), getSubscriptionNotify(), getSubscriptionPassword(), getSubscriptionStart(), getSubscriptionType(), getSyllabus(), getTargetGroup(), getTimingMode(), getTutorialSupportBlockSettingValue(), getViewMode(), hasWaitingListAutoFill(), IL_CAL_UNIX, isRegistrationAccessCodeEnabled(), isSessionLimitEnabled(), isSubscriptionMembershipLimited(), ilDBConstants\T_INTEGER, ilDBConstants\T_TEXT, ilDBConstants\T_TIMESTAMP, ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::validate | ( | ) |
Definition at line 838 of file class.ilObjCourse.php.
References appendMessage(), enabledWaitingList(), getCourseEnd(), getCourseStart(), getMessage(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), getSubscriptionMinMembers(), getSubscriptionPassword(), getSubscriptionStart(), getSubscriptionType(), ilObject\getTitle(), IL_CAL_UNIX, ilCourseConstants\IL_CRS_SUBSCRIPTION_LIMITED, ilCourseConstants\IL_CRS_SUBSCRIPTION_PASSWORD, isSubscriptionMembershipLimited(), ILIAS\Repository\lng(), and setMessage().
Here is the call graph for this function:| ilObjCourse::validateInfoSettings | ( | ) |
Definition at line 872 of file class.ilObjCourse.php.
References ilObject\$error, error(), getContactEmail(), ilObjUser\getUserIdByLogin(), ilUtil\is_email(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 51 of file class.ilObjCourse.php.
Referenced by getAboStatus().
|
private |
Definition at line 87 of file class.ilObjCourse.php.
Referenced by getActivationEnd().
|
private |
Definition at line 86 of file class.ilObjCourse.php.
Referenced by getActivationStart().
|
private |
Definition at line 88 of file class.ilObjCourse.php.
Referenced by getActivationVisibility().
|
private |
Definition at line 80 of file class.ilObjCourse.php.
Referenced by hasWaitingListAutoFill().
|
private |
Definition at line 84 of file class.ilObjCourse.php.
Referenced by getAutoNotification().
|
private |
Definition at line 37 of file class.ilObjCourse.php.
Referenced by getContactConsultation().
|
private |
Definition at line 39 of file class.ilObjCourse.php.
Referenced by getContactEmail().
|
private |
Definition at line 40 of file class.ilObjCourse.php.
Referenced by getContactName().
|
private |
Definition at line 38 of file class.ilObjCourse.php.
Referenced by getContactPhone().
|
private |
Definition at line 41 of file class.ilObjCourse.php.
Referenced by getContactResponsibility().
|
private |
Definition at line 58 of file class.ilObjCourse.php.
|
private |
Definition at line 54 of file class.ilObjCourse.php.
Referenced by getCourseStartTimeIndication().
|
private |
Definition at line 77 of file class.ilObjCourse.php.
Referenced by getCourseEnd().
|
private |
Definition at line 76 of file class.ilObjCourse.php.
Referenced by getCourseStart().
|
private |
Definition at line 74 of file class.ilObjCourse.php.
|
private |
Definition at line 62 of file class.ilObjCourse.php.
Referenced by getEnableCourseMap().
|
private |
Definition at line 56 of file class.ilObjCourse.php.
Referenced by getImportantInformation().
|
private |
Definition at line 59 of file class.ilObjCourse.php.
Referenced by getLatitude().
|
private |
Definition at line 78 of file class.ilObjCourse.php.
Referenced by getCancellationEnd().
|
private |
Definition at line 93 of file class.ilObjCourse.php.
Referenced by getDefaultAdminRole(), getDefaultMemberRole(), getDefaultTutorRole(), and getLocalCourseRoles().
|
private |
Definition at line 61 of file class.ilObjCourse.php.
Referenced by getLocationZoom().
|
private |
Definition at line 60 of file class.ilObjCourse.php.
Referenced by getLongitude().
|
private |
Definition at line 72 of file class.ilObjCourse.php.
Referenced by getMailToMembersType().
|
private |
Definition at line 81 of file class.ilObjCourse.php.
Referenced by getShowMembersExport().
|
private |
Definition at line 90 of file class.ilObjCourse.php.
Referenced by getMemberObject().
|
private |
Definition at line 91 of file class.ilObjCourse.php.
Referenced by getMembersObject().
|
private |
Definition at line 53 of file class.ilObjCourse.php.
Referenced by getMessage().
|
private |
Definition at line 79 of file class.ilObjCourse.php.
Referenced by getSubscriptionMinMembers().
|
private |
Definition at line 68 of file class.ilObjCourse.php.
Referenced by getRegistrationAccessCode().
|
private |
Definition at line 69 of file class.ilObjCourse.php.
Referenced by isRegistrationAccessCodeEnabled().
|
private |
Definition at line 64 of file class.ilObjCourse.php.
Referenced by isSessionLimitEnabled().
|
private |
Definition at line 66 of file class.ilObjCourse.php.
Referenced by getNumberOfNextSessions().
|
private |
Definition at line 65 of file class.ilObjCourse.php.
Referenced by getNumberOfPreviousSessions().
|
private |
Definition at line 52 of file class.ilObjCourse.php.
Referenced by getShowMembers().
|
private |
Definition at line 70 of file class.ilObjCourse.php.
Referenced by getStatusDetermination().
|
private |
Definition at line 44 of file class.ilObjCourse.php.
Referenced by getSubscriptionEnd().
|
private |
Definition at line 42 of file class.ilObjCourse.php.
Referenced by getSubscriptionLimitationType().
|
private |
Definition at line 50 of file class.ilObjCourse.php.
Referenced by getSubscriptionMaxMembers().
|
private |
Definition at line 49 of file class.ilObjCourse.php.
Referenced by isSubscriptionMembershipLimited().
|
private |
Definition at line 46 of file class.ilObjCourse.php.
Referenced by getSubscriptionPassword().
|
private |
Definition at line 43 of file class.ilObjCourse.php.
Referenced by getSubscriptionStart().
|
private |
Definition at line 45 of file class.ilObjCourse.php.
|
private |
Definition at line 57 of file class.ilObjCourse.php.
Referenced by getSyllabus().
|
private |
Definition at line 85 of file class.ilObjCourse.php.
Referenced by getTargetGroup().
|
private |
Definition at line 82 of file class.ilObjCourse.php.
Referenced by getTimingMode().
|
private |
Definition at line 83 of file class.ilObjCourse.php.
Referenced by getTutorialSupportBlockSettingValue().
|
private |
Definition at line 47 of file class.ilObjCourse.php.
Referenced by getViewMode().
|
private |
Definition at line 48 of file class.ilObjCourse.php.
Referenced by enabledWaitingList(), handleAutoFill(), and register().
|
private |
Definition at line 55 of file class.ilObjCourse.php.
| const int ilObjCourse::CAL_ACTIVATION_END = 4 |
Definition at line 28 of file class.ilObjCourse.php.
| const int ilObjCourse::CAL_ACTIVATION_START = 3 |
Definition at line 27 of file class.ilObjCourse.php.
| const int ilObjCourse::CAL_COURSE_END = 6 |
Definition at line 30 of file class.ilObjCourse.php.
| const int ilObjCourse::CAL_COURSE_START = 5 |
Definition at line 29 of file class.ilObjCourse.php.
| const int ilObjCourse::CAL_COURSE_TIMING_END = 8 |
Definition at line 32 of file class.ilObjCourse.php.
Referenced by ilCalendarScheduleFilterTimings\addCustomEvents(), ilCalendarScheduleFilterTimings\findCalendarEntriesForItem(), and ilCalendarScheduleFilterTimings\modifyEvent().
| const int ilObjCourse::CAL_COURSE_TIMING_START = 7 |
Definition at line 31 of file class.ilObjCourse.php.
Referenced by ilCalendarScheduleFilterTimings\addCustomEvents(), ilCalendarScheduleFilterTimings\findCalendarEntriesForItem(), and ilCalendarScheduleFilterTimings\modifyEvent().
| const int ilObjCourse::CAL_REG_END = 2 |
Definition at line 26 of file class.ilObjCourse.php.
| const int ilObjCourse::CAL_REG_START = 1 |
Definition at line 25 of file class.ilObjCourse.php.
| const int ilObjCourse::STATUS_DETERMINATION_LP = 1 |
Definition at line 34 of file class.ilObjCourse.php.
Referenced by checkLPStatusSync(), ilCourseLP\getSettingsInfo(), ilCourseAppEventListener\handleEvent(), ilObjCourseGUI\initEditForm(), ilCourseMembershipGUI\initParticipantTableGUI(), ilObjCourseGUI\readMemberData(), ilObjCourseGUI\setLPSyncObject(), ilObjCourseGUI\updateLPFromStatus(), and ilObjCourseGUI\updateObject().
| const int ilObjCourse::STATUS_DETERMINATION_MANUAL = 2 |
Definition at line 35 of file class.ilObjCourse.php.
Referenced by ilObjCourseGUI\initEditForm(), and setStatusDetermination().