|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
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 () | |
| 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 ($a_upload=false) | |
| 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 $a_target_id, int $a_copy_id=0, bool $a_omit_tree=false) | |
| Clone course (no member data) More... | |
| cloneDependencies (int $a_target_id, int $a_copy_id) | |
| cloneAutoGeneratedRoles (ilObject $new_obj) | |
| Clone automatic genrated roles (permissions and template permissions) More... | |
| validate () | |
| validateInfoSettings () | |
| hasContactData () | |
| delete () | |
| delete course and all related data More... | |
| update () | |
| updateSettings () | |
| cloneSettings (ilObject $new_obj) | |
| __createDefaultSettings () | |
| __readSettings () | |
| initWaitingList () | |
| getMemberObject () | |
| getMembersObject () | |
| initDefaultRoles () | |
| setParentRolePermissions (int $a_parent_ref) | |
| 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) | |
| 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 (?ilObjectTranslation $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 () | |
| putInTree (int $parent_ref_id) | |
| 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) | |
| 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 | 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 | _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) |
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 94 of file class.ilObjCourse.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), and setStatusDetermination().
Here is the call graph for this function:| ilObjCourse::__createDefaultSettings | ( | ) |
Definition at line 1087 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(), 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 1395 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 1295 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 1390 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 1142 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(), 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 1440 of file class.ilObjCourse.php.
References ilCourseLMHistory\_deleteUser(), ilParticipants\_deleteUser(), and ilLOUserResults\deleteResultsForUser().
Referenced by ilObjUser\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Is activated.
Method is in Access class, since it is needed by Access/ListGUI.
Definition at line 539 of file class.ilObjCourse.php.
References ilObjCourseAccess\_isActivated().
Referenced by ilObjCourseGUI\executeCommand(), and ilStartUpGUI\processIndexPHP().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 459 of file class.ilObjCourse.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjGroupGUI\modifyItemGUI(), and ilObjFolderGUI\modifyItemGUI().
Here is the caller graph for this function:
|
static |
Definition at line 445 of file class.ilObjCourse.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjCourseGUI\_modifyItemGUI(), ilCourseLP\checkObjectives(), ilCalendarScheduleFilterTimings\enabledCourseTimings(), ilObjFolderGUI\forwardToTimingsView(), ilPortfolioPageGUI\getCoursesOfUser(), 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 547 of file class.ilObjCourse.php.
References ilObjCourseAccess\_registrationEnabled().
Referenced by ilObjCourseGUI\executeCommand(), and ilStartUpGUI\processIndexPHP().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::addAdditionalSubItemInformation | ( | array & | $object | ) |
Definition at line 1458 of file class.ilObjCourse.php.
References ilObjectActivation\addAdditionalSubItemInformation().
Here is the call graph for this function:| ilObjCourse::appendMessage | ( | string | $a_message | ) |
Definition at line 513 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 1724 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 797 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 | $a_target_id, |
| int | $a_copy_id | ||
| ) |
Definition at line 767 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 | $a_target_id, |
| int | $a_copy_id = 0, |
||
| bool | $a_omit_tree = false |
||
| ) |
Clone course (no member data)
public
| int | target ref_id |
| int | copy id |
Definition at line 717 of file class.ilObjCourse.php.
References $DIC, ilCourseDefinedFieldDefinition\_clone(), ilCourseFile\_cloneFiles(), ilCopyWizardOptions\_getInstance(), CLIENT_WEB_DIR, 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 1032 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(), 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 | ( | $a_upload = false | ) |
Definition at line 559 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
public
Definition at line 887 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 |
Definition at line 1447 of file class.ilObjCourse.php.
| ilObjCourse::enabledObjectiveView | ( | ) |
Definition at line 316 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 321 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 141 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::enableSessionLimit | ( | int | $a_status | ) |
Definition at line 342 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::enableSubscriptionMembershipLimitation | ( | bool | $a_status | ) |
Definition at line 352 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::enableWaitingList | ( | bool | $a_status | ) |
Definition at line 326 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:
|
static |
Definition at line 1820 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 478 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 241 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 231 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 226 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 256 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 1673 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 681 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 186 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 206 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 176 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 196 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 216 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 671 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 661 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 651 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 1427 of file class.ilObjCourse.php.
References __getLocalRoles(), ilObjectFactory\getInstanceByObjId(), and ilObject\getRefId().
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 1353 of file class.ilObjCourse.php.
References ilObject\getRefId().
Here is the call graph for this function:| ilObjCourse::getDefaultMemberRole | ( | ) |
Definition at line 1402 of file class.ilObjCourse.php.
References 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 1414 of file class.ilObjCourse.php.
References __getLocalRoles(), ilObjectFactory\getInstanceByObjId(), and ilObject\getRefId().
Referenced by cloneAutoGeneratedRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourse::getEnableCourseMap | ( | ) |
Definition at line 623 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 618 of file class.ilObjCourse.php.
References getEnableCourseMap().
Here is the call graph for this function:| ilObjCourse::getImportantInformation | ( | ) |
Definition at line 146 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 588 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 public
Definition at line 1324 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 608 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 598 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 498 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 1233 of file class.ilObjCourse.php.
References $member_obj, and initCourseMemberObject().
Here is the call graph for this function:| ilObjCourse::getMembersObject | ( | ) |
Definition at line 1241 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 503 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 372 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 362 of file class.ilObjCourse.php.
References $session_prev.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getOrderType | ( | ) |
Definition at line 1739 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 126 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 488 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 116 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 1707 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 286 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 261 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 382 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 694 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 404 of file class.ilObjCourse.php.
Referenced by updateSettings().
Here is the caller graph for this function:| ilObjCourse::getSubscriptionPassword | ( | ) |
Definition at line 306 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 276 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 296 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 271 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 156 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 166 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 440 of file class.ilObjCourse.php.
References $timing_mode.
Referenced by cloneSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjCourse::getViewMode | ( | ) |
Definition at line 414 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 1750 of file class.ilObjCourse.php.
References 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 876 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 704 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 1223 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 1228 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 | ( | ) |
Definition at line 1251 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 1216 of file class.ilObjCourse.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjCourse::inSubscriptionTime | ( | ) |
Definition at line 331 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 521 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 136 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 347 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 377 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 1303 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 1565 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 105 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 419 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 1794 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 1466 of file class.ilObjCourse.php.
References $app, 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 | ( | ) |
Definition at line 552 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 1587 of file class.ilObjCourse.php.
References 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 473 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setActivationEnd | ( | int | $a_value | ) |
Definition at line 246 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setActivationStart | ( | int | $a_value | ) |
Definition at line 236 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setActivationVisibility | ( | bool | $a_value | ) |
Definition at line 251 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 1682 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 676 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactConsultation | ( | string | $a_value | ) |
Definition at line 191 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactEmail | ( | string | $a_value | ) |
Definition at line 211 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactName | ( | string | $a_cn | ) |
Definition at line 181 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactPhone | ( | string | $a_value | ) |
Definition at line 201 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setContactResponsibility | ( | string | $a_value | ) |
Definition at line 221 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:
|
protected |
Definition at line 666 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 628 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 656 of file class.ilObjCourse.php.
Referenced by setCoursePeriod().
Here is the caller graph for this function:| ilObjCourse::setEnableCourseMap | ( | bool | $a_enablemap | ) |
Definition at line 613 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setImportantInformation | ( | string | $a_info | ) |
Definition at line 151 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setLatitude | ( | string | $a_latitude | ) |
Definition at line 583 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setLocationZoom | ( | int | $a_locationzoom | ) |
Definition at line 603 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setLongitude | ( | string | $a_longitude | ) |
Definition at line 593 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setMailToMembersType | ( | int | $a_type | ) |
Definition at line 493 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setMessage | ( | string | $a_message | ) |
Definition at line 508 of file class.ilObjCourse.php.
Referenced by validate().
Here is the caller graph for this function:| ilObjCourse::setNumberOfNextSessions | ( | int | $a_num | ) |
Definition at line 367 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setNumberOfPreviousSessions | ( | int | $a_num | ) |
Definition at line 357 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setParentRolePermissions | ( | int | $a_parent_ref | ) |
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.
Definition at line 1280 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 131 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 483 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 121 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 1690 of file class.ilObjCourse.php.
References ilObjUserTracking\_enabledLearningProgress().
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 291 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionLimitationType | ( | int | $a_type | ) |
Definition at line 266 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionMaxMembers | ( | int | $a_value | ) |
Definition at line 387 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionMinMembers | ( | int | $a_value | ) |
Definition at line 686 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionPassword | ( | string | $a_value | ) |
Definition at line 311 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionStart | ( | int | $a_value | ) |
Definition at line 281 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSubscriptionType | ( | int | $a_value | ) |
Definition at line 301 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setSyllabus | ( | string | $a_syllabus | ) |
Definition at line 161 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setTargetGroup | ( | ?string | $a_tg | ) |
Definition at line 171 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setTimingMode | ( | int | $a_mode | ) |
Definition at line 435 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setViewMode | ( | int | $a_mode | ) |
Definition at line 409 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::setWaitingListAutoFill | ( | bool | $a_value | ) |
Definition at line 699 of file class.ilObjCourse.php.
Referenced by __readSettings().
Here is the caller graph for this function:| ilObjCourse::syncMembersStatusWithLP | ( | ) |
Definition at line 1712 of file class.ilObjCourse.php.
References ilLPStatusWrapper\_updateStatus(), ilObject\getId(), and getMembersObject().
Here is the call graph for this function:
|
protected |
Definition at line 646 of file class.ilObjCourse.php.
Referenced by __readSettings(), and setCoursePeriod().
Here is the caller graph for this function:| ilObjCourse::update | ( | ) |
Definition at line 925 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 948 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(), 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 825 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 859 of file class.ilObjCourse.php.
References ilObject\$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 86 of file class.ilObjCourse.php.
Referenced by getActivationEnd().
|
private |
Definition at line 85 of file class.ilObjCourse.php.
Referenced by getActivationStart().
|
private |
Definition at line 87 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 83 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 92 of file class.ilObjCourse.php.
Referenced by 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 89 of file class.ilObjCourse.php.
Referenced by getMemberObject().
|
private |
Definition at line 90 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 84 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 47 of file class.ilObjCourse.php.
Referenced by getViewMode().
|
private |
Definition at line 48 of file class.ilObjCourse.php.
Referenced by enabledWaitingList().
|
private |
Definition at line 55 of file class.ilObjCourse.php.
| const ilObjCourse::CAL_ACTIVATION_END = 4 |
Definition at line 28 of file class.ilObjCourse.php.
| const ilObjCourse::CAL_ACTIVATION_START = 3 |
Definition at line 27 of file class.ilObjCourse.php.
| const ilObjCourse::CAL_COURSE_END = 6 |
Definition at line 30 of file class.ilObjCourse.php.
| const ilObjCourse::CAL_COURSE_START = 5 |
Definition at line 29 of file class.ilObjCourse.php.
| const 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 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 ilObjCourse::CAL_REG_END = 2 |
Definition at line 26 of file class.ilObjCourse.php.
| const ilObjCourse::CAL_REG_START = 1 |
Definition at line 25 of file class.ilObjCourse.php.
| const 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 ilObjCourse::STATUS_DETERMINATION_MANUAL = 2 |
Definition at line 35 of file class.ilObjCourse.php.
Referenced by ilObjCourseGUI\initEditForm().