ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilObjCourse. More...
Public Member Functions | |
ilObjCourse ($a_id=0, $a_call_by_reference=true) | |
Constructor public. | |
getRegistrationAccessCode () | |
get access code | |
setRegistrationAccessCode ($a_code) | |
Set refistration access code. | |
isRegistrationAccessCodeEnabled () | |
Check if access code is enabled. | |
enableRegistrationAccessCode ($a_status) | |
En/disable registration access code. | |
getImportantInformation () | |
setImportantInformation ($a_info) | |
getSyllabus () | |
setSyllabus ($a_syllabus) | |
getContactName () | |
setContactName ($a_cn) | |
getContactConsultation () | |
setContactConsultation ($a_value) | |
getContactPhone () | |
setContactPhone ($a_value) | |
getContactEmail () | |
setContactEmail ($a_value) | |
getContactResponsibility () | |
setContactResponsibility ($a_value) | |
getActivationType () | |
setActivationType ($a_type) | |
getActivationUnlimitedStatus () | |
getActivationStart () | |
setActivationStart ($a_value) | |
getActivationEnd () | |
setActivationEnd ($a_value) | |
getOfflineStatus () | |
setOfflineStatus ($a_value) | |
setActivationVisibility ($a_value) | |
getActivationVisibility () | |
getSubscriptionLimitationType () | |
setSubscriptionLimitationType ($a_type) | |
getSubscriptionUnlimitedStatus () | |
getSubscriptionStart () | |
setSubscriptionStart ($a_value) | |
getSubscriptionEnd () | |
setSubscriptionEnd ($a_value) | |
getSubscriptionType () | |
setSubscriptionType ($a_value) | |
getSubscriptionPassword () | |
setSubscriptionPassword ($a_value) | |
enabledObjectiveView () | |
enabledWaitingList () | |
enableWaitingList ($a_status) | |
inSubscriptionTime () | |
enableSessionLimit ($a_status) | |
en/disable limited number of sessions | |
isSessionLimitEnabled () | |
enableSubscriptionMembershipLimitation ($a_status) | |
enable max members | |
setNumberOfPreviousSessions ($a_num) | |
Set number of previous sessions. | |
getNumberOfPreviousSessions () | |
Set number of previous sessions. | |
setNumberOfNextSessions ($a_num) | |
Set number of previous sessions. | |
getNumberOfNextSessions () | |
Set number of previous sessions. | |
isSubscriptionMembershipLimited () | |
is membership limited | |
getSubscriptionMaxMembers () | |
setSubscriptionMaxMembers ($a_value) | |
getSubItems ($a_admin_panel_enabled=false, $a_include_side_block=false) | |
Get subitems of container. | |
getSubscriptionNotify () | |
setSubscriptionNotify ($a_value) | |
setViewMode ($a_mode) | |
getViewMode () | |
Get container view mode. | |
_lookupViewMode ($a_id) | |
_lookupAboStatus ($a_id) | |
getArchiveStart () | |
setArchiveStart ($a_value) | |
getArchiveEnd () | |
setArchiveEnd ($a_value) | |
getArchiveType () | |
setArchiveType ($a_value) | |
setAboStatus ($a_status) | |
getAboStatus () | |
setShowMembers ($a_status) | |
getShowMembers () | |
setMailToMembersType ($a_type) | |
Set mail to members type. | |
getMailToMembersType () | |
Get mail to members type. | |
getMessage () | |
setMessage ($a_message) | |
appendMessage ($a_message) | |
isActivated ($a_check_archive=false) | |
_isActivated ($a_obj_id) | |
Is activated. | |
_registrationEnabled ($a_obj_id) | |
Registration enabled? Method is in Access class, since it is needed by Access/ListGUI. | |
isArchived () | |
allowAbo () | |
read ($a_force_db=false) | |
read object data from db into object | |
create ($a_upload=false) | |
setLatitude ($a_latitude) | |
Set Latitude. | |
getLatitude () | |
Get Latitude. | |
setLongitude ($a_longitude) | |
Set Longitude. | |
getLongitude () | |
Get Longitude. | |
setLocationZoom ($a_locationzoom) | |
Set LocationZoom. | |
getLocationZoom () | |
Get LocationZoom. | |
setEnableCourseMap ($a_enablemap) | |
Set Enable Course Map. | |
getEnableCourseMap () | |
Get Enable Course Map. | |
cloneObject ($a_target_id, $a_copy_id=0) | |
Clone course (no member data) | |
cloneDependencies ($a_target_id, $a_copy_id) | |
Clone object dependencies (start objects, preconditions) | |
cloneAutoGeneratedRoles ($new_obj) | |
Clone automatic genrated roles (permissions and template permissions) | |
validate () | |
validateInfoSettings () | |
hasContactData () | |
delete () | |
delete course and all related data | |
update () | |
update complete object | |
updateSettings () | |
cloneSettings ($new_obj) | |
Clone entries in settings table. | |
__createDefaultSettings () | |
__readSettings () | |
initWaitingList () | |
getMemberObject () | |
Get course member object. | |
getMembersObject () | |
initCourseArchiveObject () | |
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 setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public | |
setParentRolePermissions ($a_parent_ref) | |
This method is called before "initDefaultRoles". | |
__getCrsNonMemberTemplateId () | |
get course non-member template private | |
getLocalCourseRoles ($a_translate=false) | |
get ALL local roles of course, also those created and defined afterwards only fetch data once from database. | |
getDefaultCourseRoles ($a_crs_id="") | |
get default course roles, returns the defaultlike create roles il_crs_tutor, il_crs_admin and il_crs_member public | |
__getLocalRoles () | |
__deleteSettings () | |
getDefaultMemberRole () | |
getDefaultTutorRole () | |
getDefaultAdminRole () | |
_deleteUser ($a_usr_id) | |
MDUpdateListener ($a_element) | |
Overwriten Metadata update listener for ECS functionalities. | |
addAdditionalSubItemInformation (&$a_item_data) | |
Add additional information to sub item, e.g. | |
register ($a_user_id, $a_role=ilCourseConstants::CRS_MEMBER, $a_force_registration=false) | |
getAutoNotification () | |
Returns automatic notification status from $this->auto_notification. | |
setAutoNotification ($value) | |
Sets automatic notification status in $this->auto_notification, using given $status. | |
setStatusDetermination ($a_value) | |
Set status determination mode. | |
getStatusDetermination () | |
Get status determination mode. | |
syncMembersStatusWithLP () | |
Set course status for all members by lp status. | |
checkLPStatusSync ($a_member_id) | |
sync course status from lp | |
getOrderType () | |
Get order type default implementation. | |
Public Member Functions inherited from ilContainer | |
ilContainer ($a_id=0, $a_call_by_reference=true) | |
Constructor public. | |
createContainerDirectory () | |
Create directory for the container. | |
getContainerDirectory () | |
Get the container directory. | |
_getContainerDirectory ($a_id) | |
Get the container directory. | |
getBigIconPath () | |
Get path for big icon. | |
getSmallIconPath () | |
Get path for small icon. | |
getTinyIconPath () | |
Get path for tiny icon. | |
getCustomIconPath () | |
Get path for custom icon. | |
setHiddenFilesFound ($a_hiddenfilesfound) | |
Set Found hidden files (set by getSubItems). | |
getHiddenFilesFound () | |
Get Found hidden files (set by getSubItems). | |
getStyleSheetId () | |
get ID of assigned style sheet object | |
setStyleSheetId ($a_style_id) | |
set ID of assigned style sheet object | |
_lookupContainerSetting ($a_id, $a_keyword, $a_default_value=NULL) | |
Lookup a container setting. | |
_writeContainerSetting ($a_id, $a_keyword, $a_value) | |
_lookupIconPath ($a_id, $a_size="big") | |
lookup icon path | |
saveIcons ($a_custom_icon) | |
save container icons | |
removeCustomIcon () | |
remove small icon | |
cloneAllObject ($session_id, $client_id, $new_type, $ref_id, $clone_source, $options, $soap_call=false) | |
clone all objects according to this container | |
setOrderType ($a_value) | |
getSubItems ($a_admin_panel_enabled=false, $a_include_side_block=false, $a_get_single=0) | |
Get subitems of container. | |
gotItems () | |
Check whether we got any items. | |
getGroupedObjTypes () | |
Get grouped repository object types. | |
enablePageEditing () | |
Check whether page editing is allowed for container. | |
create () | |
Create. | |
read () | |
read | |
Public Member Functions inherited from ilObject | |
ilObject ($a_id=0, $a_reference=true) | |
Constructor public. | |
withReferences () | |
determines wehter objects are referenced or not (got ref ids or not) | |
getId () | |
get object id public | |
setId ($a_id) | |
set object id public | |
setRefId ($a_id) | |
set reference id public | |
getRefId () | |
get reference id public | |
getType () | |
get object type public | |
setType ($a_type) | |
set object type public | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions | |
getTitle () | |
get object title public | |
getUntranslatedTitle () | |
get untranslated object title public | |
setTitle ($a_title) | |
set object title | |
getDescription () | |
get object description | |
setDescription ($a_desc) | |
set object description | |
getLongDescription () | |
get object long description (stored in object_description) | |
getImportId () | |
get import id | |
setImportId ($a_import_id) | |
set import id | |
getOwner () | |
get object owner | |
getOwnerName () | |
_lookupOwnerName ($a_owner_id) | |
lookup owner name for owner id | |
setOwner ($a_owner) | |
set object owner | |
getCreateDate () | |
get create date public | |
getLastUpdateDate () | |
get last update date public | |
getDiskUsage () | |
Gets the disk usage of the object in bytes. | |
setObjDataRecord ($a_record) | |
set object_data record (note: this method should only be called from the ilObjectFactory class) | |
createMetaData () | |
create meta data entry | |
updateMetaData () | |
update meta data entry | |
deleteMetaData () | |
delete meta data entry | |
updateOwner () | |
update owner of object in db | |
_getIdForImportId ($a_import_id) | |
get current object id for import id (static) | |
_lookupOwner ($a_id) | |
lookup object owner | |
_lookupLastUpdate ($a_id, $a_as_string=false) | |
lookup last update | |
_getLastUpdateOfObjects ($a_objs) | |
Get last update for a set of media objects. | |
_setDeletedDate ($a_ref_id) | |
only called in ilTree::saveSubTree | |
_resetDeletedDate ($a_ref_id) | |
only called in ilObjectGUI::insertSavedNodes | |
_lookupDeletedDate ($a_ref_id) | |
only called in ilObjectGUI::insertSavedNodes | |
_writeTitle ($a_obj_id, $a_title) | |
write title to db (static) | |
_writeDescription ($a_obj_id, $a_desc) | |
write description to db (static) | |
_writeImportId ($a_obj_id, $a_import_id) | |
write import id to db (static) | |
_isInTrash ($a_ref_id) | |
checks wether object is in trash | |
_hasUntrashedReference ($a_obj_id) | |
checks wether an object has at least one reference that is not in trash | |
_getObjectsDataForType ($a_type, $a_omit_trash=false) | |
get all objects of a certain type | |
putInTree ($a_parent_ref) | |
maybe this method should be in tree object!? | |
setPermissions ($a_parent_ref) | |
set permissions of object | |
createReference () | |
creates reference for object | |
countReferences () | |
count references of object | |
applyDidacticTemplate ($a_tpl_id) | |
Apply template. | |
notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
notifys an object about an event occured Based on the event passed, each object may decide how it reacts. | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
getXMLZip () | |
getHTMLDirectory () | |
cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | |
Clone object permissions, put in tree ... | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
Prepend Copy info if object with same name exists in that container. | |
cloneMetaData ($target_obj) | |
Copy meta data. | |
_lookupCreationDate ($a_id) | |
Lookup creation date. | |
Public Member Functions inherited from ilMembershipRegistrationCodes | |
register ($a_user_id) | |
Register an user. |
Static Public Member Functions | |
static | lookupShowMembersEnabled ($a_obj_id) |
Check if show member is enabled. | |
static | _isSubscriptionNotificationEnabled ($a_course_id) |
Check if subscription notification is enabled. | |
static | lookupCourseNonMemberTemplatesId () |
Lookup course non member id. | |
static | lookupObjectsByCode ($a_code) |
Static Public Member Functions inherited from ilContainer | |
static | _getContainerSettings ($a_id) |
static | _deleteContainerSettings ($a_id, $a_keyword=null, $a_keyword_like=false) |
static | _exportContainerSettings (ilXmlWriter $a_xml, $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) | |
Static Public Member Functions inherited from ilObject | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _getAllReferences ($a_id) |
get all reference ids of object | |
static | _lookupTitle ($a_id) |
lookup object title | |
static | _getIdsForTitle ($title, $type= '', $partialmatch=false) |
static | _lookupDescription ($a_id) |
lookup object description | |
static | _lookupObjId ($a_id) |
static | setDeletedDates ($a_ref_ids) |
Set deleted date type $ilDB. | |
static | _lookupType ($a_id, $a_reference=false) |
lookup object type | |
static | _lookupObjectId ($a_ref_id) |
lookup object id | |
static | _exists ($a_id, $a_reference=false, $a_type=null) |
checks if an object exists in object_data | |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
Get objects by type. | |
static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
Prepare copy wizard object selection. | |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
Get icon for repository item. | |
static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
Collect deletion dependencies. | |
static | getDeletionDependencies ($a_obj_id) |
Get deletion dependencies. | |
static | getLongDescriptions (array $a_obj_ids) |
Get long description data. | |
static | getAllOwnedRepositoryObjects ($a_user_id) |
Get all ids of objects user owns. | |
static | hasAutoRating ($a_type, $a_ref_id) |
Check if auto rating is active for parent group/course. |
Protected Member Functions | |
initCourseMemberObject () | |
Init course member object ilObjUser $ilUser. | |
initCourseMembersObject () | |
Init course member object ilObjUser $ilUser. | |
prepareAppointments ($a_mode= 'create') | |
Prepare calendar appointments. |
Private Attributes | |
$member_obj = null | |
$members_obj = null | |
$latitude = '' | |
$longitude = '' | |
$locationzoom = 0 | |
$enablemap = 0 | |
$session_limit = 0 | |
$session_prev = -1 | |
$session_next = -1 | |
$reg_access_code = '' | |
$reg_access_code_enabled = false | |
$status_dt = null | |
$mail_members = ilCourseConstants::MAIL_ALLOWED_ALL | |
$auto_notification = true |
Additional Inherited Members | |
Static Public Attributes inherited from ilContainer | |
static | $data_preloaded = false |
Protected Attributes inherited from ilContainer | |
$order_type = 0 | |
$hiddenfilesfound = false |
Class ilObjCourse.
Definition at line 35 of file class.ilObjCourse.php.
ilObjCourse::__createDefaultSettings | ( | ) |
Definition at line 1280 of file class.ilObjCourse.php.
References $ilDB, $query, $res, __readSettings(), ilMembershipRegistrationCodeUtils\generateCode(), getActivationEnd(), getActivationStart(), getArchiveEnd(), getArchiveStart(), getAutoNotification(), getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), getContactResponsibility(), getEnableCourseMap(), ilObject\getId(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getNumberOfPreviousSessions(), getRegistrationAccessCode(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionMaxMembers(), getSubscriptionPassword(), getSubscriptionStart(), getSyllabus(), IL_CRS_ARCHIVE_NONE, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, isRegistrationAccessCodeEnabled(), isSessionLimitEnabled(), setRegistrationAccessCode(), and ilContainer\SORT_MANUAL.
Referenced by create(), and updateSettings().
ilObjCourse::__deleteSettings | ( | ) |
Definition at line 1682 of file class.ilObjCourse.php.
References $ilDB, $query, $res, and ilObject\getId().
Referenced by delete().
ilObjCourse::__getCrsNonMemberTemplateId | ( | ) |
get course non-member template private
return | obj_id of roletemplate containing permissionsettings for non-member roles of a course. |
Definition at line 1557 of file class.ilObjCourse.php.
References $ilDB, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by setParentRolePermissions().
ilObjCourse::__getLocalRoles | ( | ) |
Definition at line 1673 of file class.ilObjCourse.php.
References ilObject\getRefId().
Referenced by getDefaultAdminRole(), getDefaultMemberRole(), and getDefaultTutorRole().
ilObjCourse::__readSettings | ( | ) |
Definition at line 1344 of file class.ilObjCourse.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, enableRegistrationAccessCode(), enableSessionLimit(), enableSubscriptionMembershipLimitation(), enableWaitingList(), ilObject\getId(), ilObjectActivation\getItem(), IL_CRS_ACTIVATION_LIMITED, IL_CRS_ACTIVATION_UNLIMITED, setAboStatus(), setActivationEnd(), setActivationStart(), setActivationType(), setActivationVisibility(), setArchiveEnd(), setArchiveStart(), setArchiveType(), setAutoNotification(), setContactConsultation(), setContactEmail(), setContactName(), setContactPhone(), setContactResponsibility(), setEnableCourseMap(), setImportantInformation(), setLatitude(), setLocationZoom(), setLongitude(), setMailToMembersType(), setNumberOfNextSessions(), setNumberOfPreviousSessions(), setOfflineStatus(), setRegistrationAccessCode(), setShowMembers(), setStatusDetermination(), setSubscriptionEnd(), setSubscriptionLimitationType(), setSubscriptionMaxMembers(), setSubscriptionNotify(), setSubscriptionPassword(), setSubscriptionStart(), setSubscriptionType(), setSyllabus(), setViewMode(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by __createDefaultSettings(), and read().
ilObjCourse::_deleteUser | ( | $a_usr_id | ) |
Definition at line 1741 of file class.ilObjCourse.php.
References ilLOUserResults\deleteResultsForUser().
Referenced by ilObjUser\delete().
ilObjCourse::_isActivated | ( | $a_obj_id | ) |
Is activated.
Method is in Access class, since it is needed by Access/ListGUI.
int | id of user |
Definition at line 707 of file class.ilObjCourse.php.
Referenced by ilStartUpGUI\_checkGoto(), and ilObjCourseGUI\executeCommand().
|
static |
Check if subscription notification is enabled.
public
int | course_id |
Definition at line 436 of file class.ilObjCourse.php.
ilObjCourse::_lookupAboStatus | ( | $a_id | ) |
Definition at line 586 of file class.ilObjCourse.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjGroupGUI\modifyItemGUI(), ilObjSessionGUI\modifyItemGUI(), and ilObjFolderGUI\modifyItemGUI().
ilObjCourse::_lookupViewMode | ( | $a_id | ) |
Definition at line 573 of file class.ilObjCourse.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjCourseGUI\_modifyItemGUI(), ilCourseLP\checkObjectives(), ilObjFolderGUI\forwardToTimingsView(), and ilObjGroup\translateViewMode().
ilObjCourse::_registrationEnabled | ( | $a_obj_id | ) |
Registration enabled? Method is in Access class, since it is needed by Access/ListGUI.
int | id of user |
Definition at line 719 of file class.ilObjCourse.php.
Referenced by ilStartUpGUI\_checkGoto(), and ilObjCourseGUI\executeCommand().
ilObjCourse::addAdditionalSubItemInformation | ( | & | $a_item_data | ) |
Add additional information to sub item, e.g.
used in courses for timings information etc.
Reimplemented from ilContainer.
Definition at line 1786 of file class.ilObjCourse.php.
ilObjCourse::allowAbo | ( | ) |
Definition at line 738 of file class.ilObjCourse.php.
ilObjCourse::appendMessage | ( | $a_message | ) |
Definition at line 667 of file class.ilObjCourse.php.
References getMessage().
Referenced by validate().
ilObjCourse::checkLPStatusSync | ( | $a_member_id | ) |
sync course status from lp
as lp data is not deleted on course exit new members may already have lp completed
int | $a_member_id |
Definition at line 2030 of file class.ilObjCourse.php.
References ilObjUserTracking\_enabledLearningProgress(), ilLPStatus\_lookupStatus(), ilObject\getId(), getMembersObject(), getStatusDetermination(), ilLPStatus\LP_STATUS_COMPLETED_NUM, and STATUS_DETERMINATION_LP.
ilObjCourse::cloneAutoGeneratedRoles | ( | $new_obj | ) |
Clone automatic genrated roles (permissions and template permissions)
public
object | new course object |
Definition at line 952 of file class.ilObjCourse.php.
References $ilLog, getDefaultAdminRole(), getDefaultMemberRole(), getDefaultTutorRole(), and ilObject\getRefId().
Referenced by cloneObject().
ilObjCourse::cloneDependencies | ( | $a_target_id, | |
$a_copy_id | |||
) |
Clone object dependencies (start objects, preconditions)
public
int | target ref id of new course |
int | copy id |
Reimplemented from ilContainer.
Definition at line 921 of file class.ilObjCourse.php.
References ilObject\_lookupObjId(), cloneSettings(), ilObject\getId(), and ilObject\getRefId().
ilObjCourse::cloneObject | ( | $a_target_id, | |
$a_copy_id = 0 |
|||
) |
Clone course (no member data)
public
int | target ref_id |
int | copy id |
Reimplemented from ilContainer.
Definition at line 860 of file class.ilObjCourse.php.
References $ilDB, $ilLog, $ilUser, ilCourseDefinedFieldDefinition\_clone(), ilCourseFile\_cloneFiles(), ilCopyWizardOptions\_getInstance(), cloneAutoGeneratedRoles(), ilObject\cloneMetaData(), cloneSettings(), ilContainer\getBigIconPath(), ilObject\getId(), ilContainer\getSmallIconPath(), ilContainer\getTinyIconPath(), IL_CRS_ADMIN, and setOfflineStatus().
ilObjCourse::cloneSettings | ( | $new_obj | ) |
Clone entries in settings table.
public
ilObjCourse | new course object |
Definition at line 1231 of file class.ilObjCourse.php.
References enabledWaitingList(), ilMembershipRegistrationCodeUtils\generateCode(), getAboStatus(), getActivationEnd(), getActivationStart(), getActivationType(), getActivationVisibility(), getArchiveEnd(), getArchiveStart(), getArchiveType(), getAutoNotification(), getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), getContactResponsibility(), getEnableCourseMap(), getImportantInformation(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), getOfflineStatus(), getOrderType(), getShowMembers(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), getSubscriptionNotify(), getSubscriptionPassword(), getSubscriptionStart(), getSubscriptionType(), getSyllabus(), getViewMode(), isRegistrationAccessCodeEnabled(), isSessionLimitEnabled(), and isSubscriptionMembershipLimited().
Referenced by cloneDependencies(), and cloneObject().
ilObjCourse::create | ( | $a_upload = false | ) |
Definition at line 752 of file class.ilObjCourse.php.
References __createDefaultSettings(), ilContainer\create(), ilObject\createMetaData(), ilObject\getId(), and prepareAppointments().
ilObjCourse::delete | ( | ) |
delete course and all related data
public
Reimplemented from ilObject.
Definition at line 1075 of file class.ilObjCourse.php.
References __deleteSettings(), ilObjCourseGrouping\_deleteAll(), ilCourseObjective\_deleteAll(), ilParticipants\_deleteAllEntries(), ilCourseDefinedFieldDefinition\_deleteByContainer(), ilCourseFile\_deleteByCourse(), ilObject\deleteMetaData(), ilObject\getId(), initCourseArchiveObject(), and prepareAppointments().
ilObjCourse::enabledObjectiveView | ( | ) |
Definition at line 315 of file class.ilObjCourse.php.
References IL_CRS_VIEW_OBJECTIVE.
Referenced by getOrderType().
ilObjCourse::enabledWaitingList | ( | ) |
Definition at line 320 of file class.ilObjCourse.php.
Referenced by cloneSettings(), register(), and updateSettings().
ilObjCourse::enableRegistrationAccessCode | ( | $a_status | ) |
En/disable registration access code.
object | $a_status |
Definition at line 157 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::enableSessionLimit | ( | $a_status | ) |
en/disable limited number of sessions
object | $a_status |
Definition at line 348 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::enableSubscriptionMembershipLimitation | ( | $a_status | ) |
enable max members
public
bool | status |
Definition at line 365 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::enableWaitingList | ( | $a_status | ) |
Definition at line 325 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::getAboStatus | ( | ) |
Definition at line 627 of file class.ilObjCourse.php.
Referenced by cloneSettings(), and updateSettings().
ilObjCourse::getActivationEnd | ( | ) |
Definition at line 245 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), isActivated(), prepareAppointments(), updateSettings(), and validate().
ilObjCourse::getActivationStart | ( | ) |
Definition at line 237 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), isActivated(), prepareAppointments(), updateSettings(), and validate().
ilObjCourse::getActivationType | ( | ) |
Definition at line 218 of file class.ilObjCourse.php.
Referenced by cloneSettings(), and validate().
ilObjCourse::getActivationUnlimitedStatus | ( | ) |
Definition at line 233 of file class.ilObjCourse.php.
References IL_CRS_ACTIVATION_UNLIMITED.
Referenced by isActivated(), prepareAppointments(), and updateSettings().
ilObjCourse::getActivationVisibility | ( | ) |
Definition at line 265 of file class.ilObjCourse.php.
Referenced by cloneSettings(), and updateSettings().
ilObjCourse::getArchiveEnd | ( | ) |
Definition at line 607 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), isArchived(), updateSettings(), and validate().
ilObjCourse::getArchiveStart | ( | ) |
Definition at line 599 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), isArchived(), updateSettings(), and validate().
ilObjCourse::getArchiveType | ( | ) |
Definition at line 615 of file class.ilObjCourse.php.
References IL_CRS_ARCHIVE_DOWNLOAD, and IL_CRS_ARCHIVE_NONE.
Referenced by cloneSettings(), and updateSettings().
ilObjCourse::getAutoNotification | ( | ) |
Returns automatic notification status from $this->auto_notification.
Definition at line 1961 of file class.ilObjCourse.php.
References $auto_notification.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
ilObjCourse::getContactConsultation | ( | ) |
Definition at line 186 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
ilObjCourse::getContactEmail | ( | ) |
Definition at line 202 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), updateSettings(), and validateInfoSettings().
ilObjCourse::getContactName | ( | ) |
Definition at line 178 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
ilObjCourse::getContactPhone | ( | ) |
Definition at line 194 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
ilObjCourse::getContactResponsibility | ( | ) |
Definition at line 210 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), hasContactData(), and updateSettings().
ilObjCourse::getDefaultAdminRole | ( | ) |
Definition at line 1724 of file class.ilObjCourse.php.
References __getLocalRoles(), and ilObjectFactory\getInstanceByObjId().
Referenced by cloneAutoGeneratedRoles().
ilObjCourse::getDefaultCourseRoles | ( | $a_crs_id = "" | ) |
get default course roles, returns the defaultlike create roles il_crs_tutor, il_crs_admin and il_crs_member public
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 1631 of file class.ilObjCourse.php.
References ilObject\getRefId().
ilObjCourse::getDefaultMemberRole | ( | ) |
Definition at line 1694 of file class.ilObjCourse.php.
References ilObject\$title, __getLocalRoles(), and ilObject\_lookupTitle().
Referenced by cloneAutoGeneratedRoles().
ilObjCourse::getDefaultTutorRole | ( | ) |
Definition at line 1708 of file class.ilObjCourse.php.
References __getLocalRoles(), and ilObjectFactory\getInstanceByObjId().
Referenced by cloneAutoGeneratedRoles().
ilObjCourse::getEnableCourseMap | ( | ) |
Get Enable Course Map.
Definition at line 847 of file class.ilObjCourse.php.
References $enablemap.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
ilObjCourse::getImportantInformation | ( | ) |
Definition at line 162 of file class.ilObjCourse.php.
Referenced by cloneSettings(), and updateSettings().
ilObjCourse::getLatitude | ( | ) |
Get Latitude.
Definition at line 787 of file class.ilObjCourse.php.
References $latitude.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
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 1589 of file class.ilObjCourse.php.
References ilObjRole\_getTranslation(), and ilObject\getRefId().
ilObjCourse::getLocationZoom | ( | ) |
Get LocationZoom.
Definition at line 827 of file class.ilObjCourse.php.
References $locationzoom.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
ilObjCourse::getLongitude | ( | ) |
Get Longitude.
Definition at line 807 of file class.ilObjCourse.php.
References $longitude.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
ilObjCourse::getMailToMembersType | ( | ) |
Get mail to members type.
Definition at line 654 of file class.ilObjCourse.php.
References $mail_members.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
ilObjCourse::getMemberObject | ( | ) |
Get course member object.
Definition at line 1462 of file class.ilObjCourse.php.
References $member_obj, and initCourseMemberObject().
ilObjCourse::getMembersObject | ( | ) |
Definition at line 1475 of file class.ilObjCourse.php.
References $members_obj, and initCourseMembersObject().
Referenced by checkLPStatusSync(), and syncMembersStatusWithLP().
ilObjCourse::getMessage | ( | ) |
Definition at line 659 of file class.ilObjCourse.php.
Referenced by appendMessage(), and validate().
ilObjCourse::getNumberOfNextSessions | ( | ) |
Set number of previous sessions.
Definition at line 403 of file class.ilObjCourse.php.
References $session_next.
Referenced by cloneSettings(), getSubItems(), and updateSettings().
ilObjCourse::getNumberOfPreviousSessions | ( | ) |
Set number of previous sessions.
Definition at line 384 of file class.ilObjCourse.php.
References $session_prev.
Referenced by __createDefaultSettings(), cloneSettings(), getSubItems(), and updateSettings().
ilObjCourse::getOfflineStatus | ( | ) |
Definition at line 253 of file class.ilObjCourse.php.
Referenced by cloneSettings(), isActivated(), prepareAppointments(), and updateSettings().
ilObjCourse::getOrderType | ( | ) |
Get order type default implementation.
Reimplemented from ilContainer.
Definition at line 2044 of file class.ilObjCourse.php.
References enabledObjectiveView(), and ilContainer\SORT_MANUAL.
Referenced by cloneSettings(), and update().
ilObjCourse::getRegistrationAccessCode | ( | ) |
get access code
Definition at line 128 of file class.ilObjCourse.php.
References $reg_access_code.
Referenced by __createDefaultSettings(), and updateSettings().
ilObjCourse::getShowMembers | ( | ) |
Definition at line 635 of file class.ilObjCourse.php.
Referenced by cloneSettings(), and updateSettings().
ilObjCourse::getStatusDetermination | ( | ) |
Get status determination mode.
Definition at line 2005 of file class.ilObjCourse.php.
References $status_dt.
Referenced by __createDefaultSettings(), checkLPStatusSync(), cloneSettings(), updateSettings(), and validate().
ilObjCourse::getSubItems | ( | $a_admin_panel_enabled = false , |
|
$a_include_side_block = false |
|||
) |
Get subitems of container.
bool | $a_admin_panel_enabled,[optional] | |
bool | $a_include_side_block,[optional] |
Definition at line 453 of file class.ilObjCourse.php.
References $_GET, $ilUser, ilDateTime\_after(), ilDateTime\_before(), ilContainerSorting\_getInstance(), ilDateTime\_within(), ilObject\getId(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), getViewMode(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, isSessionLimitEnabled(), ilUtil\sortArray(), and ilContainer\VIEW_SESSIONS.
ilObjCourse::getSubscriptionEnd | ( | ) |
Definition at line 290 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), inSubscriptionTime(), prepareAppointments(), updateSettings(), and validate().
ilObjCourse::getSubscriptionLimitationType | ( | ) |
Definition at line 270 of file class.ilObjCourse.php.
Referenced by cloneSettings(), prepareAppointments(), register(), updateSettings(), and validate().
ilObjCourse::getSubscriptionMaxMembers | ( | ) |
Definition at line 419 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), register(), updateSettings(), and validate().
ilObjCourse::getSubscriptionNotify | ( | ) |
Definition at line 554 of file class.ilObjCourse.php.
Referenced by cloneSettings(), and updateSettings().
ilObjCourse::getSubscriptionPassword | ( | ) |
Definition at line 307 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), updateSettings(), and validate().
ilObjCourse::getSubscriptionStart | ( | ) |
Definition at line 282 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), inSubscriptionTime(), prepareAppointments(), updateSettings(), and validate().
ilObjCourse::getSubscriptionType | ( | ) |
Definition at line 298 of file class.ilObjCourse.php.
References IL_CRS_SUBSCRIPTION_DIRECT.
Referenced by cloneSettings(), updateSettings(), and validate().
ilObjCourse::getSubscriptionUnlimitedStatus | ( | ) |
Definition at line 278 of file class.ilObjCourse.php.
References IL_CRS_SUBSCRIPTION_UNLIMITED.
Referenced by inSubscriptionTime().
ilObjCourse::getSyllabus | ( | ) |
Definition at line 170 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
ilObjCourse::getViewMode | ( | ) |
Get container view mode.
Reimplemented from ilContainer.
Definition at line 568 of file class.ilObjCourse.php.
Referenced by cloneSettings(), getSubItems(), isArchived(), updateSettings(), and validate().
ilObjCourse::hasContactData | ( | ) |
Definition at line 1059 of file class.ilObjCourse.php.
References getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), and getContactResponsibility().
ilObjCourse::ilObjCourse | ( | $a_id = 0 , |
|
$a_call_by_reference = true |
|||
) |
Constructor public.
integer | reference_id or object_id |
boolean | treat the id as reference_id (true) or object_id (false) |
Definition at line 81 of file class.ilObjCourse.php.
References setStatusDetermination().
ilObjCourse::initCourseArchiveObject | ( | ) |
Definition at line 1484 of file class.ilObjCourse.php.
Referenced by delete().
|
protected |
Init course member object ilObjUser $ilUser.
Definition at line 1435 of file class.ilObjCourse.php.
References $ilUser, ilCourseParticipant\_getInstanceByObjId(), and ilObject\getId().
Referenced by getMemberObject().
|
protected |
Init course member object ilObjUser $ilUser.
Definition at line 1449 of file class.ilObjCourse.php.
References $ilUser, ilCourseParticipants\_getInstanceByObjId(), and ilObject\getId().
Referenced by getMembersObject().
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 setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public
Reimplemented from ilObject.
Definition at line 1498 of file class.ilObjCourse.php.
References $ilDB, ilObjRole\createDefaultRole(), ilObject\getId(), and ilObject\getRefId().
ilObjCourse::initWaitingList | ( | ) |
Definition at line 1418 of file class.ilObjCourse.php.
References ilObject\getId().
ilObjCourse::inSubscriptionTime | ( | ) |
Definition at line 330 of file class.ilObjCourse.php.
References getSubscriptionEnd(), getSubscriptionStart(), and getSubscriptionUnlimitedStatus().
Referenced by register().
ilObjCourse::isActivated | ( | $a_check_archive = false | ) |
Definition at line 676 of file class.ilObjCourse.php.
References getActivationEnd(), getActivationStart(), getActivationUnlimitedStatus(), getOfflineStatus(), and isArchived().
ilObjCourse::isArchived | ( | ) |
Definition at line 725 of file class.ilObjCourse.php.
References getArchiveEnd(), getArchiveStart(), getViewMode(), and IL_CRS_VIEW_ARCHIVE.
Referenced by isActivated().
ilObjCourse::isRegistrationAccessCodeEnabled | ( | ) |
Check if access code is enabled.
Definition at line 147 of file class.ilObjCourse.php.
References $reg_access_code_enabled.
Referenced by __createDefaultSettings(), cloneSettings(), and updateSettings().
ilObjCourse::isSessionLimitEnabled | ( | ) |
Definition at line 353 of file class.ilObjCourse.php.
References $session_limit.
Referenced by __createDefaultSettings(), cloneSettings(), getSubItems(), and updateSettings().
ilObjCourse::isSubscriptionMembershipLimited | ( | ) |
is membership limited
public
@return |
Definition at line 414 of file class.ilObjCourse.php.
Referenced by cloneSettings(), register(), updateSettings(), and validate().
|
static |
Lookup course non member id.
Definition at line 1572 of file class.ilObjCourse.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_ASSOC.
Referenced by ilRbacAdmin\adjustMovedObjectPermissions().
|
static |
Implements ilMembershipRegistrationCodes.
Definition at line 1858 of file class.ilObjCourse.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilMembershipRegistrationCodeUtils\lookupObjectsByCode().
|
static |
Check if show member is enabled.
int | $a_obj_id |
Definition at line 112 of file class.ilObjCourse.php.
References $GLOBALS, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilParticipants\hasParticipantListAccess().
ilObjCourse::MDUpdateListener | ( | $a_element | ) |
Overwriten Metadata update listener for ECS functionalities.
public
Reimplemented from ilObject.
Definition at line 1762 of file class.ilObjCourse.php.
References $ilLog.
|
protected |
Prepare calendar appointments.
protected
string | mode UPDATE|CREATE|DELETE |
Definition at line 1799 of file class.ilObjCourse.php.
References getActivationEnd(), getActivationStart(), getActivationUnlimitedStatus(), ilObject\getLongDescription(), getOfflineStatus(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionStart(), ilObject\getTitle(), IL_CAL_TRANSLATION_SYSTEM, IL_CAL_UNIX, and IL_CRS_SUBSCRIPTION_LIMITED.
Referenced by create(), delete(), and update().
ilObjCourse::read | ( | $a_force_db = false | ) |
read object data from db into object
boolean | public |
Reimplemented from ilObject.
Definition at line 743 of file class.ilObjCourse.php.
References __readSettings(), ilContainerSortingSettings\_lookupSortMode(), ilObject\getId(), ilContainer\read(), and ilContainer\setOrderType().
ilObjCourse::register | ( | $a_user_id, | |
$a_role = ilCourseConstants::CRS_MEMBER , |
|||
$a_force_registration = false |
|||
) |
int | user_id |
int | role |
bool | force registration and do not check registration constraints. |
Definition at line 1881 of file class.ilObjCourse.php.
References $ilCtrl, ilCourseParticipants\_getInstanceByObjId(), ilObjCourseAccess\_usingRegistrationCode(), ilForumNotification\checkForumsExistsInsert(), enabledWaitingList(), ilObject\getId(), ilObject\getRefId(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_LIMITED, inSubscriptionTime(), and isSubscriptionMembershipLimited().
ilObjCourse::setAboStatus | ( | $a_status | ) |
Definition at line 623 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setActivationEnd | ( | $a_value | ) |
Definition at line 249 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setActivationStart | ( | $a_value | ) |
Definition at line 241 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setActivationType | ( | $a_type | ) |
Definition at line 222 of file class.ilObjCourse.php.
References IL_CRS_ACTIVATION_OFFLINE, IL_CRS_ACTIVATION_UNLIMITED, and setOfflineStatus().
Referenced by __readSettings().
ilObjCourse::setActivationVisibility | ( | $a_value | ) |
Definition at line 261 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setArchiveEnd | ( | $a_value | ) |
Definition at line 611 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setArchiveStart | ( | $a_value | ) |
Definition at line 603 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setArchiveType | ( | $a_value | ) |
Definition at line 619 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setAutoNotification | ( | $value | ) |
Sets automatic notification status in $this->auto_notification, using given $status.
mixed | boolean |
Definition at line 1973 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setContactConsultation | ( | $a_value | ) |
Definition at line 190 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setContactEmail | ( | $a_value | ) |
Definition at line 206 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setContactName | ( | $a_cn | ) |
Definition at line 182 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setContactPhone | ( | $a_value | ) |
Definition at line 198 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setContactResponsibility | ( | $a_value | ) |
Definition at line 214 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setEnableCourseMap | ( | $a_enablemap | ) |
Set Enable Course Map.
boolean | $a_enablemap | Enable Course Map |
Definition at line 837 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setImportantInformation | ( | $a_info | ) |
Definition at line 166 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setLatitude | ( | $a_latitude | ) |
Set Latitude.
string | $a_latitude | Latitude |
Definition at line 777 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setLocationZoom | ( | $a_locationzoom | ) |
Set LocationZoom.
int | $a_locationzoom | LocationZoom |
Definition at line 817 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setLongitude | ( | $a_longitude | ) |
Set Longitude.
string | $a_longitude | Longitude |
Definition at line 797 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setMailToMembersType | ( | $a_type | ) |
Set mail to members type.
type | $a_type |
Definition at line 645 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setMessage | ( | $a_message | ) |
Definition at line 663 of file class.ilObjCourse.php.
Referenced by validate().
ilObjCourse::setNumberOfNextSessions | ( | $a_num | ) |
Set number of previous sessions.
int | $a_num |
Definition at line 394 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setNumberOfPreviousSessions | ( | $a_num | ) |
Set number of previous sessions.
int | $a_num |
Definition at line 375 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setOfflineStatus | ( | $a_value | ) |
Definition at line 257 of file class.ilObjCourse.php.
Referenced by __readSettings(), cloneObject(), and setActivationType().
ilObjCourse::setParentRolePermissions | ( | $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.
type | $a_parent_ref |
Reimplemented from ilObject.
Definition at line 1534 of file class.ilObjCourse.php.
References __getCrsNonMemberTemplateId(), and ilObject\getRefId().
ilObjCourse::setRegistrationAccessCode | ( | $a_code | ) |
Set refistration access code.
string | $a_code |
Definition at line 138 of file class.ilObjCourse.php.
Referenced by __createDefaultSettings(), and __readSettings().
ilObjCourse::setShowMembers | ( | $a_status | ) |
Definition at line 631 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setStatusDetermination | ( | $a_value | ) |
Set status determination mode.
int | $a_value |
Definition at line 1983 of file class.ilObjCourse.php.
References ilObjUserTracking\_enabledLearningProgress(), and STATUS_DETERMINATION_MANUAL.
Referenced by __readSettings(), and ilObjCourse().
ilObjCourse::setSubscriptionEnd | ( | $a_value | ) |
Definition at line 294 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setSubscriptionLimitationType | ( | $a_type | ) |
Definition at line 274 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setSubscriptionMaxMembers | ( | $a_value | ) |
Definition at line 423 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setSubscriptionNotify | ( | $a_value | ) |
Definition at line 559 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setSubscriptionPassword | ( | $a_value | ) |
Definition at line 311 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setSubscriptionStart | ( | $a_value | ) |
Definition at line 286 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setSubscriptionType | ( | $a_value | ) |
Definition at line 303 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setSyllabus | ( | $a_syllabus | ) |
Definition at line 174 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::setViewMode | ( | $a_mode | ) |
Definition at line 564 of file class.ilObjCourse.php.
Referenced by __readSettings().
ilObjCourse::syncMembersStatusWithLP | ( | ) |
Set course status for all members by lp status.
Definition at line 2013 of file class.ilObjCourse.php.
References ilLPStatusWrapper\_updateStatus(), ilObject\getId(), and getMembersObject().
ilObjCourse::update | ( | ) |
update complete object
Reimplemented from ilContainer.
Definition at line 1125 of file class.ilObjCourse.php.
References $ilLog, ilObject\getId(), getOrderType(), prepareAppointments(), ilObject\updateMetaData(), and updateSettings().
ilObjCourse::updateSettings | ( | ) |
Definition at line 1146 of file class.ilObjCourse.php.
References $ilDB, $query, $res, __createDefaultSettings(), enabledWaitingList(), getAboStatus(), getActivationEnd(), getActivationStart(), getActivationUnlimitedStatus(), getActivationVisibility(), getArchiveEnd(), getArchiveStart(), getArchiveType(), getAutoNotification(), getContactConsultation(), getContactEmail(), getContactName(), getContactPhone(), getContactResponsibility(), getEnableCourseMap(), ilObject\getId(), getImportantInformation(), ilObjectActivation\getItem(), getLatitude(), getLocationZoom(), getLongitude(), getMailToMembersType(), getNumberOfNextSessions(), getNumberOfPreviousSessions(), getOfflineStatus(), getRegistrationAccessCode(), getShowMembers(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), getSubscriptionNotify(), getSubscriptionPassword(), getSubscriptionStart(), getSubscriptionType(), getSyllabus(), getViewMode(), isRegistrationAccessCodeEnabled(), isSessionLimitEnabled(), isSubscriptionMembershipLimited(), ilObjectActivation\setTimingType(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by update().
ilObjCourse::validate | ( | ) |
Definition at line 988 of file class.ilObjCourse.php.
References appendMessage(), getActivationEnd(), getActivationStart(), getActivationType(), getArchiveEnd(), getArchiveStart(), getMessage(), getStatusDetermination(), getSubscriptionEnd(), getSubscriptionLimitationType(), getSubscriptionMaxMembers(), getSubscriptionPassword(), getSubscriptionStart(), getSubscriptionType(), ilObject\getTitle(), getViewMode(), IL_CRS_ACTIVATION_LIMITED, IL_CRS_SUBSCRIPTION_LIMITED, IL_CRS_SUBSCRIPTION_PASSWORD, IL_CRS_VIEW_ARCHIVE, isSubscriptionMembershipLimited(), and setMessage().
ilObjCourse::validateInfoSettings | ( | ) |
Definition at line 1040 of file class.ilObjCourse.php.
References $ilErr, getContactEmail(), ilObjUser\getUserIdByLogin(), and ilUtil\is_email().
ilObjCourse::$archives_obj |
Definition at line 48 of file class.ilObjCourse.php.
|
private |
Definition at line 73 of file class.ilObjCourse.php.
Referenced by getAutoNotification().
|
private |
Definition at line 53 of file class.ilObjCourse.php.
Referenced by getEnableCourseMap().
|
private |
Definition at line 50 of file class.ilObjCourse.php.
Referenced by getLatitude().
|
private |
Definition at line 52 of file class.ilObjCourse.php.
Referenced by getLocationZoom().
|
private |
Definition at line 51 of file class.ilObjCourse.php.
Referenced by getLongitude().
|
private |
Definition at line 63 of file class.ilObjCourse.php.
Referenced by getMailToMembersType().
|
private |
Definition at line 46 of file class.ilObjCourse.php.
Referenced by getMemberObject().
|
private |
Definition at line 47 of file class.ilObjCourse.php.
Referenced by getMembersObject().
|
private |
Definition at line 59 of file class.ilObjCourse.php.
Referenced by getRegistrationAccessCode().
|
private |
Definition at line 60 of file class.ilObjCourse.php.
Referenced by isRegistrationAccessCodeEnabled().
|
private |
Definition at line 55 of file class.ilObjCourse.php.
Referenced by isSessionLimitEnabled().
|
private |
Definition at line 57 of file class.ilObjCourse.php.
Referenced by getNumberOfNextSessions().
|
private |
Definition at line 56 of file class.ilObjCourse.php.
Referenced by getNumberOfPreviousSessions().
|
private |
Definition at line 61 of file class.ilObjCourse.php.
Referenced by getStatusDetermination().
const ilObjCourse::CAL_ACTIVATION_END = 4 |
Definition at line 41 of file class.ilObjCourse.php.
const ilObjCourse::CAL_ACTIVATION_START = 3 |
Definition at line 40 of file class.ilObjCourse.php.
const ilObjCourse::CAL_REG_END = 2 |
Definition at line 39 of file class.ilObjCourse.php.
const ilObjCourse::CAL_REG_START = 1 |
Definition at line 38 of file class.ilObjCourse.php.
const ilObjCourse::STATUS_DETERMINATION_LP = 1 |
Definition at line 43 of file class.ilObjCourse.php.
Referenced by checkLPStatusSync(), ilCourseAppEventListener\handleEvent(), ilObjCourseGUI\initEditForm(), ilObjCourseGUI\membersObject(), ilObjCourseGUI\readMemberData(), ilObjCourseGUI\setLPSyncObject(), ilObjCourseGUI\updateLPFromStatus(), and ilObjCourseGUI\updateObject().
const ilObjCourse::STATUS_DETERMINATION_MANUAL = 2 |
Definition at line 44 of file class.ilObjCourse.php.
Referenced by ilObjCourseGUI\initEditForm(), and setStatusDetermination().