|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilObjStudyProgramme:
Collaboration diagram for ilObjStudyProgramme:Public Member Functions | |
| __construct (int $id=0, bool $call_by_reference=true) | |
| ATTENTION: After using the constructor the object won't be in the cache. More... | |
| getSettings () | |
| updateSettings (ilStudyProgrammeSettings $settings) | |
| create () | |
| update () | |
| delete () | |
| Delete Study Programme and all related data. More... | |
| hasAdvancedMetadata () | |
| getLastChange () | |
| Get the timestamp of the last change on this program or sub program. More... | |
| getPoints () | |
| Get the amount of points. More... | |
| setPoints (int $points) | |
| Set the amount of points. More... | |
| getLPMode () | |
| adjustLPMode () | |
| Adjust the lp mode to match current state of tree: More... | |
| getStatus () | |
| setStatus (int $a_status) | |
| Set the status of the node. More... | |
| isActive () | |
| getSubType () | |
| Gets the SubType Object. More... | |
| getAllPrgChildren () | |
| getChildren (bool $include_references=false) | |
| Get all ilObjStudyProgrammes that are direct children of this object. More... | |
| getParent () | |
| Get the parent ilObjStudyProgramme of this object. More... | |
| getReferencesToSelf () | |
| getParents (bool $include_references=false) | |
| Get all parents of the node, where the root of the program comes first. More... | |
| hasChildren (bool $include_references=false) | |
| Does this StudyProgramme have other ilObjStudyProgrammes as children? More... | |
| getAmountOfChildren ($include_references=false) | |
| Get the amount of other StudyProgrammes this StudyProgramme has as children. More... | |
| getDepth () | |
| Get the depth of this StudyProgramme in the tree starting at the topmost StudyProgramme (not root node of the repo tree!). More... | |
| getRoot () | |
| Get the ilObjStudyProgramme that is the root node of the tree this programme is in. More... | |
| getLPChildren () | |
| Get the leafs the study programme contains. More... | |
| getLPChildrenIds () | |
| Get the obj-ids of the leafs the program contains. More... | |
| getAmountOfLPChildren () | |
| Get the amount of leafs the study programme contains. More... | |
| hasLPChildren () | |
| applyToSubTreeNodes (Closure $fun, bool $include_references=false) | |
| Apply the given Closure to every node in the subtree starting at this object. More... | |
| getCompletedCourses (int $usr_id) | |
| Get courses in this program that the given user already completed. More... | |
| addNode (ilObjStudyProgramme $a_prg) | |
| Inserts another ilObjStudyProgramme in this object. More... | |
| nodeInserted ($prg) | |
| Clears child cache and adds progress for new node. More... | |
| putInTree (int $parent_ref_id) | |
| Overwritten from ilObject. More... | |
| removeNode (ilObjStudyProgramme $a_prg) | |
| Remove a node from this object. More... | |
| canBeRemoved () | |
| Check weather a node can be removed. More... | |
| moveTo (ilObjStudyProgramme $new_parent) | |
| Move this tree node to a new parent. More... | |
| assignUser (int $usr_id, int $acting_usr_id=null, $raise_event=true) | |
| Assign a user to this node at the study program. More... | |
| removeAssignment (ilPRGAssignment $assignment) | |
| Remove an assignment from this program. More... | |
| getSpecificAssignment (int $assignment_id) | |
| storeExpiryInfoSentFor (ilPRGAssignment $ass) | |
| resetExpiryInfoSentFor (ilPRGAssignment $ass) | |
| storeRiskyToFailSentFor (ilPRGAssignment $ass) | |
| resetRiskyToFailSentFor (ilPRGAssignment $ass) | |
| hasAssignmentOf (int $user_id) | |
| Check whether user is assigned to this program or any node above. More... | |
| getAmountOfAssignmentsOf (int $user_id) | |
| Get the amount of assignments a user has on this program node or any node above. More... | |
| getAssignmentsOf (int $user_id) | |
| Get the assignments of user at this program or any node above. More... | |
| getAssignments () | |
| getMembers () | |
| get usr_ids with any progress on this node More... | |
| getLocalMembers () | |
| get usr_ids with assignment on this node More... | |
| hasAssignments () | |
| Are there any assignments on this node or any node above? More... | |
| getAssignmentsOfSingleProgramForUser (int $usr_id) | |
| Get assignments of user to this program-node only. More... | |
| hasAssignmentsOfSingleProgramForUser (int $usr_id) | |
| Get assignments of user to this program-node only. More... | |
| addMissingProgresses () | |
| Add missing progress records for all assignments of this programm. More... | |
| hasRelevantProgresses () | |
| Are there any users that have a relevant progress on this programme? More... | |
| getIdsOfUsersWithRelevantProgress () | |
| getAutomaticContentCategories () | |
| Get configuration of categories with auto-content for this StudyProgramme;. More... | |
| hasAutomaticContentCategories () | |
| storeAutomaticContentCategory (int $category_ref_id) | |
| Store a Category with auto-content for this StudyProgramme; a category can only be referenced once (per programme). More... | |
| deleteAutomaticContentCategories (array $category_ids=[]) | |
| Delete configuration of categories with auto-content for this StudyProgramme;. More... | |
| deleteAllAutomaticContentCategories () | |
| Delete all configuration of categories with auto-content for this StudyProgramme;. More... | |
| isAutoContentApplicable () | |
| AutoContent should only be available in active- or draft-mode, and only, if there is no sub-programme. More... | |
| getAutomaticMembershipSources () | |
| Get sources for auto-memberships. More... | |
| storeAutomaticMembershipSource (string $type, int $src_id) | |
| Store a source to be monitored for automatic memberships. More... | |
| deleteAutomaticMembershipSource (string $type, int $src_id) | |
| Delete a membership source. More... | |
| deleteAllAutomaticMembershipSources () | |
| Delete all membership sources of this StudyProgramme;. More... | |
| disableAutomaticMembershipSource (string $type, int $src_id) | |
| Disable a membership source. More... | |
| enableAutomaticMembershipSource (string $type, int $src_id, bool $assign_now=false) | |
| Enable a membership source. More... | |
| getApplicableMembershipSourceForUser (int $usr_id, ?int $exclude_id) | |
| succeed (int $usr_id, int $triggering_obj_id, ilPRGAssignment $ass=null) | |
| updateCustomIcon () | |
| markAccredited (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection) | |
| unmarkAccredited (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection) | |
| markNotRelevant (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection) | |
| markRelevant (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection) | |
| changeProgressDeadline (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection, ?DateTimeImmutable $deadline) | |
| changeProgressValidityDate (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection, ?DateTimeImmutable $validity) | |
| changeAmountOfPoints (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection, int $points) | |
| updatePlanFromRepository (int $assignment_id, int $acting_usr_id, ilPRGMessageCollection $err_collection=null) | |
| acknowledgeCourses (int $assignment_id, array $nodes, ilPRGMessageCollection $err_collection=null) | |
| canBeCompleted (ilPRGProgress $progress) | |
| statusToRepr (int $status) | |
| Get a user readable representation of a status. 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 () | |
| note: title, description and type should be set when this function is called More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| update () | |
| read () | |
| readContainerSettings () | |
| removeTranslations () | |
| deleteTranslation (string $a_lang) | |
| addTranslation (string $a_title, string $a_desc, string $a_lang, string $a_lang_default) | |
Public Member Functions inherited from ilObject | |
| __construct (int $id=0, bool $reference=true) | |
| 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 $desc) | |
| 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... | |
Static Public Member Functions | |
| static | initStudyProgrammeCache () |
| static | getRefIdFor (int $obj_id) |
| static | getInstanceByObjId (int $obj_id) |
| static | getInstanceByRefId ($ref_id) |
| static | createInstance () |
| Create an instance of ilObjStudyProgramme, put in cache. More... | |
| static | getAllChildren (int $a_ref_id, bool $include_references=false) |
| Get a list of all ilObjStudyProgrammes in the subtree starting at $a_ref_id. More... | |
| static | addCrsToProgrammes (int $crs_ref_id, int $cat_ref_id) |
| Check, if a category is under surveilllance and automatically add the course. More... | |
| static | removeCrsFromProgrammes (int $crs_ref_id, int $cat_ref_id) |
| Check, if a category is under surveillance and automatically remove the deleted course. More... | |
| static | addMemberToProgrammes (string $src_type, int $src_id, int $usr_id) |
| static | removeMemberFromProgrammes (string $src_type, int $src_id, int $usr_id) |
| static | setProgressesCompletedIfParentIsProgrammeInLPCompletedMode (int $ref_id, int $obj_id, int $user_id) |
| Succeed all StudyProgramme(Nodes) where the object with the given id (a CRSR) is in a Programme with MODE_LP_COMPLETED. More... | |
| static | getCreatableSubObjects (array $subobjects, $ref_id) |
| Filter the list of possible subobjects for the objects that actually could be created on a concrete node. More... | |
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 | |
| clearParentCache () | |
| Clear the cached parent to query it again at the tree. More... | |
| clearChildrenCache () | |
| Clear the cached children. More... | |
| clearLPChildrenCache () | |
| Clear the cached lp children. More... | |
| getPrgInstanceByObjId (int $obj_id) | |
| getAssignmentRepository () | |
| getSettingsRepository () | |
| getTree () | |
| getLogger () | |
| deleteSettings () | |
| deleteAssignmentsAndProgresses () | |
| Delete all assignments from the DB. More... | |
| getReferencesTo (ilObjStudyProgramme $prg) | |
| throwIfNotInTree () | |
| getMessageCollection (string $topic) | |
| getMembersOfMembershipSource (string $src_type, int $src_id) | |
| Get member-ids of a certain source. More... | |
| updateLastChange () | |
| Update last change timestamp on this node and its parents. More... | |
| getLoggedInUserId () | |
| getNow () | |
| getObjIdsOfChildren (int $node_obj_id) | |
| refreshLPStatus (int $usr_id, int $node_obj_id=null) | |
| getProgressIdString (ilPRGAssignment $assignment, ilPRGProgress $progress) | |
Protected Member Functions inherited from ilContainer | |
| getInitialSubitems () | |
| applyContainerUserFilter (array $objects, ilContainerUserFilter $container_user_filter=null) | |
| Apply container user filter on objects. More... | |
| filterObjIdsByCopyright (array $obj_ids, string $copyright_id) | |
| filterObjIdsByDefaultCopyright (array $obj_ids, string $default_identifier) | |
| legacyOnlineFilter (array $obj_ids, array $objects, int $val) | |
| Legacy online filter. More... | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Static Protected Member Functions | |
| static | getProgrammesMonitoringCategory (int $cat_ref_id) |
| Get all (not OUTDATED) StudyProgrammes monitoring this category. More... | |
| static | getProgrammesMonitoringMemberSource (string $src_type, int $src_id) |
| Get all StudyProgrammes monitoring this membership-source. More... | |
| static | getParentId (ilObjCourseReference $leaf) |
| Get the obj id of the parent object for the given object. More... | |
Static Protected Attributes | |
| static ilObjStudyProgrammeCache | $study_programme_cache = null |
Definition at line 23 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::__construct | ( | int | $id = 0, |
| bool | $call_by_reference = true |
||
| ) |
ATTENTION: After using the constructor the object won't be in the cache.
This could lead to unexpected behaviour when using the tree navigation.
Reimplemented from ilObject.
Definition at line 72 of file class.ilObjStudyProgramme.php.
References ilObject\$call_by_reference, $DIC, $dic, ilObject\$id, $ilUser, ilObject\$tree, ILIAS\GlobalScreen\Provider\__construct(), clearChildrenCache(), clearLPChildrenCache(), clearParentCache(), ilStudyProgrammeDIC\dic(), ilLoggerFactory\getLogger(), initStudyProgrammeCache(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ilObjectFactoryWrapper\singleton().
Here is the call graph for this function:| ilObjStudyProgramme::acknowledgeCourses | ( | int | $assignment_id, |
| array | $nodes, | ||
| ilPRGMessageCollection | $err_collection = null |
||
| ) |
Definition at line 1824 of file class.ilObjStudyProgramme.php.
References ilPRGMessageCollection\add().
Here is the call graph for this function:
|
static |
Check, if a category is under surveilllance and automatically add the course.
Definition at line 1233 of file class.ilObjStudyProgramme.php.
References ilObject\_lookupObjectId(), and ilContainerReference\TITLE_TYPE_REUSE.
Referenced by ilStudyProgrammeAppEventListener\addCrsToProgrammes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1423 of file class.ilObjStudyProgramme.php.
References ilStudyProgrammeAutoMembershipSource\SOURCE_MAPPING.
Referenced by ilStudyProgrammeAppEventListener\addMemberToProgrammes().
Here is the caller graph for this function:| ilObjStudyProgramme::addMissingProgresses | ( | ) |
Add missing progress records for all assignments of this programm.
Use this after the structure of the programme was modified, i.e.: there was a node added below this one.
Definition at line 1147 of file class.ilObjStudyProgramme.php.
References getAssignments().
Referenced by nodeInserted().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::addNode | ( | ilObjStudyProgramme | $a_prg | ) |
Inserts another ilObjStudyProgramme in this object.
Throws when object already contains non ilObjStudyProgrammes as children. Throws when $a_prg already is in the tree. Throws when this object is not in tree.
| ilObjStudyProgramme | $a_prg |
| ilException | |
| ilStudyProgrammeTreeException |
Definition at line 783 of file class.ilObjStudyProgramme.php.
References ilObject\createReference(), getLPMode(), ilObject\getRefId(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, putInTree(), and throwIfNotInTree().
Here is the call graph for this function:| ilObjStudyProgramme::adjustLPMode | ( | ) |
Adjust the lp mode to match current state of tree:
If there are any non programme children, the mode is MODE_LP_COMPLETED, otherwise its MODE_POINTS.
| ilException | when programme is not in draft mode. |
Definition at line 351 of file class.ilObjStudyProgramme.php.
References clearChildrenCache(), clearLPChildrenCache(), getAmountOfChildren(), getAmountOfLPChildren(), getSettings(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, ilStudyProgrammeSettings\MODE_POINTS, and ilStudyProgrammeSettings\MODE_UNDEFINED.
Here is the call graph for this function:| ilObjStudyProgramme::applyToSubTreeNodes | ( | Closure | $fun, |
| bool | $include_references = false |
||
| ) |
Apply the given Closure to every node in the subtree starting at this object.
When the closure returns false, the underlying nodes won't be visited.
| ilStudyProgrammeTreeException | Throws when this object is not in tree. |
Definition at line 718 of file class.ilObjStudyProgramme.php.
References getChildren(), and throwIfNotInTree().
Referenced by getAllPrgChildren().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::assignUser | ( | int | $usr_id, |
| int | $acting_usr_id = null, |
||
$raise_event = true |
|||
| ) |
Assign a user to this node at the study program.
Throws when node is in DRAFT or OUTDATED status. Throws when there are no settings for the program.
TODO: Should it be allowed to assign inactive users?
| ilException |
Definition at line 941 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), getLoggedInUserId(), getSettingsRepository(), getStatus(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Referenced by enableAutomaticMembershipSource().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::canBeCompleted | ( | ilPRGProgress | $progress | ) |
Definition at line 1852 of file class.ilObjStudyProgramme.php.
References ilPRGProgress\getAmountOfPoints(), ilPRGProgress\getPossiblePointsOfRelevantChildren(), and ilStudyProgrammeSettings\MODE_LP_COMPLETED.
Here is the call graph for this function:| ilObjStudyProgramme::canBeRemoved | ( | ) |
Check weather a node can be removed.
This is allowed when all progresses on the node are marked as not relevant programmatically.
Definition at line 880 of file class.ilObjStudyProgramme.php.
References hasRelevantProgresses().
Referenced by removeNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::changeAmountOfPoints | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| int | $points | ||
| ) |
Definition at line 1788 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::changeProgressDeadline | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| ?DateTimeImmutable | $deadline | ||
| ) |
Definition at line 1748 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::changeProgressValidityDate | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| ?DateTimeImmutable | $validity | ||
| ) |
Definition at line 1768 of file class.ilObjStudyProgramme.php.
|
protected |
Clear the cached children.
Definition at line 128 of file class.ilObjStudyProgramme.php.
Referenced by __construct(), adjustLPMode(), moveTo(), nodeInserted(), and removeNode().
Here is the caller graph for this function:
|
protected |
Clear the cached lp children.
Definition at line 136 of file class.ilObjStudyProgramme.php.
Referenced by __construct(), adjustLPMode(), and moveTo().
Here is the caller graph for this function:
|
protected |
Clear the cached parent to query it again at the tree.
Definition at line 119 of file class.ilObjStudyProgramme.php.
Referenced by __construct(), moveTo(), and removeNode().
Here is the caller graph for this function:| ilObjStudyProgramme::create | ( | ) |
| ilException |
Reimplemented from ilContainer.
Definition at line 236 of file class.ilObjStudyProgramme.php.
References ilObject\$id, getSettingsRepository(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Create an instance of ilObjStudyProgramme, put in cache.
| ilException |
Definition at line 190 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::delete | ( | ) |
Delete Study Programme and all related data.
| ilException |
Reimplemented from ilContainer.
Definition at line 270 of file class.ilObjStudyProgramme.php.
References Vendor\Package\$e, deleteAllAutomaticContentCategories(), deleteAllAutomaticMembershipSources(), deleteAssignmentsAndProgresses(), deleteSettings(), and ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::deleteAllAutomaticContentCategories | ( | ) |
Delete all configuration of categories with auto-content for this StudyProgramme;.
Definition at line 1225 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::deleteAllAutomaticMembershipSources | ( | ) |
Delete all membership sources of this StudyProgramme;.
Definition at line 1355 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Delete all assignments from the DB.
| ilException |
Definition at line 228 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::deleteAutomaticContentCategories | ( | array | $category_ids = [] | ) |
Delete configuration of categories with auto-content for this StudyProgramme;.
| int[] | $category_ids |
Definition at line 1217 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::deleteAutomaticMembershipSource | ( | string | $type, |
| int | $src_id | ||
| ) |
Delete a membership source.
Definition at line 1347 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:
|
protected |
Definition at line 218 of file class.ilObjStudyProgramme.php.
References getSettings(), and getSettingsRepository().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::disableAutomaticMembershipSource | ( | string | $type, |
| int | $src_id | ||
| ) |
Disable a membership source.
Definition at line 1363 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::enableAutomaticMembershipSource | ( | string | $type, |
| int | $src_id, | ||
| bool | $assign_now = false |
||
| ) |
Enable a membership source.
| ilException |
Definition at line 1373 of file class.ilObjStudyProgramme.php.
References ilObject\$type, assignUser(), getAssignmentsOfSingleProgramForUser(), ilObject\getId(), getMembersOfMembershipSource(), and ilStudyProgrammeAutoMembershipSource\SOURCE_MAPPING.
Here is the call graph for this function:
|
static |
Get a list of all ilObjStudyProgrammes in the subtree starting at $a_ref_id.
Throws when object is not in tree.
Definition at line 428 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), and getInstanceByRefId().
Referenced by ilObjStudyProgrammeTreeGUI\confirmedDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getAllPrgChildren | ( | ) |
Definition at line 443 of file class.ilObjStudyProgramme.php.
References applyToSubTreeNodes(), and ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::getAmountOfAssignmentsOf | ( | int | $user_id | ) |
Get the amount of assignments a user has on this program node or any node above.
Definition at line 1039 of file class.ilObjStudyProgramme.php.
References getAssignmentsOf().
Referenced by hasAssignmentOf().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getAmountOfChildren | ( | $include_references = false | ) |
Get the amount of other StudyProgrammes this StudyProgramme has as children.
| ilStudyProgrammeTreeException | when this object is not in tree. |
Definition at line 604 of file class.ilObjStudyProgramme.php.
References getChildren().
Referenced by adjustLPMode(), hasChildren(), and isAutoContentApplicable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getAmountOfLPChildren | ( | ) |
Get the amount of leafs the study programme contains.
| when | this object is not in tree. |
Definition at line 687 of file class.ilObjStudyProgramme.php.
References getLPChildren().
Referenced by adjustLPMode(), and hasLPChildren().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getApplicableMembershipSourceForUser | ( | int | $usr_id, |
| ?int | $exclude_id | ||
| ) |
Definition at line 1460 of file class.ilObjStudyProgramme.php.
References getMembersOfMembershipSource(), and ilStudyProgrammeAutoMembershipSource\getSourceId().
Here is the call graph for this function:
|
protected |
Definition at line 168 of file class.ilObjStudyProgramme.php.
References $assignment_repository.
| ilObjStudyProgramme::getAssignments | ( | ) |
Definition at line 1070 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Referenced by addMissingProgresses(), and getMembers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getAssignmentsOf | ( | int | $user_id | ) |
Get the assignments of user at this program or any node above.
The assignments are ordered by last_change, where the most recently changed assignment is the first one.
Definition at line 1051 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Referenced by getAmountOfAssignmentsOf().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getAssignmentsOfSingleProgramForUser | ( | int | $usr_id | ) |
Get assignments of user to this program-node only.
Definition at line 1124 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Referenced by enableAutomaticMembershipSource(), and hasAssignmentsOfSingleProgramForUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getAutomaticContentCategories | ( | ) |
Get configuration of categories with auto-content for this StudyProgramme;.
Definition at line 1189 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Referenced by hasAutomaticContentCategories().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getAutomaticMembershipSources | ( | ) |
Get sources for auto-memberships.
Definition at line 1330 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::getChildren | ( | bool | $include_references = false | ) |
Get all ilObjStudyProgrammes that are direct children of this object.
| ilStudyProgrammeTreeException | when this object is not in tree. |
Definition at line 464 of file class.ilObjStudyProgramme.php.
References $children, $data, ilContainerSorting\_getInstance(), ilObject\getId(), getInstanceByRefId(), ilObject\getRefId(), and throwIfNotInTree().
Referenced by applyToSubTreeNodes(), getAmountOfChildren(), and ilStudyProgrammeProgressListGUI\showMoreObjectsInfo().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getCompletedCourses | ( | int | $usr_id | ) |
Get courses in this program that the given user already completed.
Definition at line 734 of file class.ilObjStudyProgramme.php.
References ilObject\_exists(), ilLPStatus\_hasUserCompleted(), ilObject\_lookupDeletedDate(), ilContainerReference\_lookupTargetId(), ilContainerReference\_lookupTargetRefId(), ilContainerReference\_lookupTitle(), getInstanceByRefId(), ilObject\getRefId(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Filter the list of possible subobjects for the objects that actually could be created on a concrete node.
Will be called by ilObjDefinition::getCreatableSubObjects.
@thorws ilException
| string[] | $subobjects |
Definition at line 1591 of file class.ilObjStudyProgramme.php.
References $ref_id, ilObject\_lookupType(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, ilStudyProgrammeSettings\MODE_POINTS, and ilStudyProgrammeSettings\MODE_UNDEFINED.
Here is the call graph for this function:| ilObjStudyProgramme::getDepth | ( | ) |
Get the depth of this StudyProgramme in the tree starting at the topmost StudyProgramme (not root node of the repo tree!).
Root node has depth = 0.
| ilException | when this object is not in tree. |
Definition at line 615 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::getIdsOfUsersWithRelevantProgress | ( | ) |
Definition at line 1172 of file class.ilObjStudyProgramme.php.
|
static |
Definition at line 155 of file class.ilObjStudyProgramme.php.
References getInstanceByRefId(), and getRefIdFor().
Referenced by ilStudyProgrammeIndividualPlanProgressListGUI\buildProgressStatus(), ilStudyProgrammeProgressListGUI\buildProgressStatus(), ilStudyProgrammeIndividualPlanTableGUI\fetchData(), ilStudyProgrammeProgressListGUI\fillTemplate(), ilStudyProgrammeExpandableProgressListGUI\getAccordionContentCoursesHTML(), ilStudyProgrammeExpandableProgressListGUI\getAccordionContentHTML(), ilPRGMail\getAssignmentAndProgramme(), ilStudyProgrammeDashboardViewGUI\getHTML(), ilPrgRestartAssignmentsCronJob\getStudyProgramme(), ilPDStudyProgrammeSimpleListGUI\hasPermission(), ilStudyProgrammeExpandableProgressListGUI\shouldShowSubProgress(), ilStudyProgrammeUserTable\toRow(), ilObjStudyProgrammeIndividualPlanGUI\updateDeadlines(), ilObjStudyProgrammeIndividualPlanGUI\updateRequiredPoints(), and ilObjStudyProgrammeIndividualPlanGUI\updateStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 160 of file class.ilObjStudyProgramme.php.
References ilObject\$ref_id, and initStudyProgrammeCache().
Referenced by ilStudyProgrammeMembersTableGUI\__construct(), ilObjStudyProgrammeReferenceAccess\_checkAccess(), ilObjStudyProgrammeAccess\_checkAccess(), ilPRGPermissionsHelper\getAllAssignedUserIds(), getAllChildren(), getChildren(), getCompletedCourses(), getInstanceByObjId(), ilObjStudyProgrammeAutoCategoriesGUI\getObject(), ilObjStudyProgrammeAutoMembershipsGUI\getObject(), ilObjStudyProgrammeSettingsGUI\getObject(), ilStudyProgrammeChangeDeadlineGUI\getObject(), ilStudyProgrammeChangeExpireDateGUI\getObject(), getParent(), ilObjStudyProgrammeReference\getParent(), getPrgInstanceByObjId(), getProgrammesMonitoringCategory(), getProgrammesMonitoringMemberSource(), ilObjStudyProgrammeReference\getReferencedObject(), ilObjStudyProgrammeTreeExplorerGUI\getRootNode(), ilStudyProgrammeAppEventListener\getStudyProgramme(), ilObjStudyProgrammeMembersGUI\getStudyProgramme(), ilObjStudyProgrammeReference\putInTree(), putInTree(), ilObjStudyProgrammeMembersGUI\removeAssignment(), ilObjStudyProgrammeIndividualPlanGUI\setRefId(), ilObjStudyProgrammeMembersGUI\setRefId(), and ilStudyProgrammeType\updateAssignedStudyProgrammesIcons().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getLastChange | ( | ) |
Get the timestamp of the last change on this program or sub program.
Definition at line 310 of file class.ilObjStudyProgramme.php.
References getSettings().
Here is the call graph for this function:| ilObjStudyProgramme::getLocalMembers | ( | ) |
get usr_ids with assignment on this node
Definition at line 1091 of file class.ilObjStudyProgramme.php.
References $members_cache, and ilObject\getId().
Here is the call graph for this function:
|
protected |
Definition at line 1635 of file class.ilObjStudyProgramme.php.
Referenced by assignUser().
Here is the caller graph for this function:
|
protected |
Definition at line 180 of file class.ilObjStudyProgramme.php.
References $logger.
| ilObjStudyProgramme::getLPChildren | ( | ) |
Get the leafs the study programme contains.
| ilStudyProgrammeTreeException | when this object is not in tree. |
Definition at line 644 of file class.ilObjStudyProgramme.php.
References $lp_children, ilContainerSorting\_getInstance(), ilObject\getId(), ilObject\getRefId(), and throwIfNotInTree().
Referenced by getAmountOfLPChildren(), and getLPChildrenIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getLPChildrenIds | ( | ) |
Get the obj-ids of the leafs the program contains.
| ilStudyProgrammeTreeException |
Definition at line 676 of file class.ilObjStudyProgramme.php.
References getLPChildren().
Here is the call graph for this function:| ilObjStudyProgramme::getLPMode | ( | ) |
Definition at line 338 of file class.ilObjStudyProgramme.php.
References getSettings().
Referenced by addNode(), and nodeInserted().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getMembers | ( | ) |
get usr_ids with any progress on this node
Definition at line 1079 of file class.ilObjStudyProgramme.php.
References getAssignments().
Here is the call graph for this function:
|
protected |
Get member-ids of a certain source.
| InvalidArgumentException | if $src_type is not in AutoMembershipSource-types |
Definition at line 1393 of file class.ilObjStudyProgramme.php.
Referenced by enableAutomaticMembershipSource(), and getApplicableMembershipSourceForUser().
Here is the caller graph for this function:
|
protected |
Definition at line 925 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 1640 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 1645 of file class.ilObjStudyProgramme.php.
References $nd, and getRefIdFor().
Here is the call graph for this function:| ilObjStudyProgramme::getParent | ( | ) |
Get the parent ilObjStudyProgramme of this object.
Returns null if parent is no StudyProgramme.
| ilException | when this object is not in tree. |
Definition at line 518 of file class.ilObjStudyProgramme.php.
References $parent, getInstanceByRefId(), ilObject\getRefId(), and throwIfNotInTree().
Referenced by ilObjStudyProgrammeTreeExplorerGUI\listItemStart(), moveTo(), and removeNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprotected |
Get the obj id of the parent object for the given object.
Returns null if object is not in the tree currently.
Definition at line 1548 of file class.ilObjStudyProgramme.php.
References $DIC, $nd, and ilObject\getRefId().
Here is the call graph for this function:| ilObjStudyProgramme::getParents | ( | bool | $include_references = false | ) |
Get all parents of the node, where the root of the program comes first.
Definition at line 561 of file class.ilObjStudyProgramme.php.
References $parent, and getReferencesTo().
Referenced by getRoot().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getPoints | ( | ) |
Get the amount of points.
Definition at line 318 of file class.ilObjStudyProgramme.php.
References getSettings().
Here is the call graph for this function:
|
protected |
Definition at line 150 of file class.ilObjStudyProgramme.php.
References getInstanceByRefId(), and getRefIdFor().
Here is the call graph for this function:
|
staticprotected |
Get all (not OUTDATED) StudyProgrammes monitoring this category.
Definition at line 1272 of file class.ilObjStudyProgramme.php.
References ilObject\$db, ilObject\_getAllReferences(), ilStudyProgrammeDIC\dic(), getInstanceByRefId(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
staticprotected |
Get all StudyProgrammes monitoring this membership-source.
Definition at line 1404 of file class.ilObjStudyProgramme.php.
References ilObject\$db, ilObject\_getAllReferences(), ilStudyProgrammeDIC\dic(), getInstanceByRefId(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
Definition at line 1886 of file class.ilObjStudyProgramme.php.
References ilObjUser\_lookupFullname(), ilPRGAssignment\getId(), ilPRGProgress\getNodeId(), and ilPRGAssignment\getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 532 of file class.ilObjStudyProgramme.php.
References ilObject\$id, ilObject\$tree, ilObject\_getAllReferences(), ilContainerReference\_lookupSourceIds(), ilObject\getId(), and ilTree\isDeleted().
Referenced by getParents(), and getReferencesToSelf().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getReferencesToSelf | ( | ) |
Definition at line 551 of file class.ilObjStudyProgramme.php.
References getReferencesTo().
Here is the call graph for this function:
|
static |
Definition at line 141 of file class.ilObjStudyProgramme.php.
References ilObject\_getAllReferences().
Referenced by ilStudyProgrammeMailMemberSearchGUI\getRootPrgRefId(), ilStudyProgrammeUserTable\lookupTitle(), and ilObjStudyProgrammeMembersGUI\removeAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getRoot | ( | ) |
Get the ilObjStudyProgramme that is the root node of the tree this programme is in.
Definition at line 629 of file class.ilObjStudyProgramme.php.
References getParents().
Here is the call graph for this function:| ilObjStudyProgramme::getSettings | ( | ) |
Definition at line 203 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), and getSettingsRepository().
Referenced by adjustLPMode(), ilObjStudyProgrammeSettingsGUI\buildForm(), deleteSettings(), ilStudyProgrammeChangeDeadlineGUI\getDeadlineSubForm(), getLastChange(), getLPMode(), getPoints(), getStatus(), getSubType(), ilStudyProgrammeChangeExpireDateGUI\getValidityOfQualificationSubForm(), hasAdvancedMetadata(), isAutoContentApplicable(), nodeInserted(), ilPRGMail\sendInformToReAssignMail(), ilPRGMail\sendReAssignedMail(), ilPRGMail\sendRiskyToFailMail(), setPoints(), setStatus(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 172 of file class.ilObjStudyProgramme.php.
References $settings_repository.
Referenced by assignUser(), create(), deleteSettings(), getSettings(), and updateSettings().
Here is the caller graph for this function:| ilObjStudyProgramme::getSpecificAssignment | ( | int | $assignment_id | ) |
Definition at line 1002 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::getStatus | ( | ) |
Definition at line 376 of file class.ilObjStudyProgramme.php.
References getSettings().
Referenced by assignUser(), ilStudyProgrammeIndividualPlanProgressListGUI\getTitleForItem(), isActive(), and isAutoContentApplicable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::getSubType | ( | ) |
Gets the SubType Object.
Definition at line 404 of file class.ilObjStudyProgramme.php.
References getSettings().
Here is the call graph for this function:
|
protected |
Definition at line 176 of file class.ilObjStudyProgramme.php.
References ilObject\$tree.
| ilObjStudyProgramme::hasAdvancedMetadata | ( | ) |
Definition at line 292 of file class.ilObjStudyProgramme.php.
References ilObject\$type, and getSettings().
Here is the call graph for this function:| ilObjStudyProgramme::hasAssignmentOf | ( | int | $user_id | ) |
Check whether user is assigned to this program or any node above.
Definition at line 1030 of file class.ilObjStudyProgramme.php.
References getAmountOfAssignmentsOf().
Here is the call graph for this function:| ilObjStudyProgramme::hasAssignments | ( | ) |
Are there any assignments on this node or any node above?
Definition at line 1107 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjStudyProgramme::hasAssignmentsOfSingleProgramForUser | ( | int | $usr_id | ) |
Get assignments of user to this program-node only.
Definition at line 1132 of file class.ilObjStudyProgramme.php.
References getAssignmentsOfSingleProgramForUser().
Here is the call graph for this function:| ilObjStudyProgramme::hasAutomaticContentCategories | ( | ) |
Definition at line 1194 of file class.ilObjStudyProgramme.php.
References getAutomaticContentCategories().
Here is the call graph for this function:| ilObjStudyProgramme::hasChildren | ( | bool | $include_references = false | ) |
Does this StudyProgramme have other ilObjStudyProgrammes as children?
| ilStudyProgrammeTreeException |
Definition at line 593 of file class.ilObjStudyProgramme.php.
References getAmountOfChildren().
Here is the call graph for this function:| ilObjStudyProgramme::hasLPChildren | ( | ) |
Definition at line 692 of file class.ilObjStudyProgramme.php.
References getAmountOfLPChildren().
Referenced by isAutoContentApplicable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::hasRelevantProgresses | ( | ) |
Are there any users that have a relevant progress on this programme?
Definition at line 1158 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), and ILIAS\Repository\lng().
Referenced by canBeRemoved().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 109 of file class.ilObjStudyProgramme.php.
References ilObjStudyProgrammeCache\singleton().
Referenced by __construct(), and getInstanceByRefId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::isActive | ( | ) |
Definition at line 396 of file class.ilObjStudyProgramme.php.
References getStatus(), and ilStudyProgrammeSettings\STATUS_ACTIVE.
Here is the call graph for this function:| ilObjStudyProgramme::isAutoContentApplicable | ( | ) |
AutoContent should only be available in active- or draft-mode, and only, if there is no sub-programme.
| ilStudyProgrammeTreeException |
Definition at line 1302 of file class.ilObjStudyProgramme.php.
References getAmountOfChildren(), getSettings(), getStatus(), hasLPChildren(), ilStudyProgrammeSettings\STATUS_ACTIVE, and ilStudyProgrammeSettings\STATUS_DRAFT.
Here is the call graph for this function:| ilObjStudyProgramme::markAccredited | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) |
Definition at line 1675 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::markNotRelevant | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) |
Definition at line 1711 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::markRelevant | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) |
Definition at line 1729 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::moveTo | ( | ilObjStudyProgramme | $new_parent | ) |
Move this tree node to a new parent.
Throws when manipulation of tree is not allowed due to invariants that need to hold on the tree.
| ilStudyProgrammeTreeException | |
| ilException |
Definition at line 894 of file class.ilObjStudyProgramme.php.
References $DIC, $parent, clearChildrenCache(), clearLPChildrenCache(), clearParentCache(), getParent(), and ilObject\getRefId().
Here is the call graph for this function:| ilObjStudyProgramme::nodeInserted | ( | $prg | ) |
Clears child cache and adds progress for new node.
called by ilObjStudyProgrammeReference::putInTree, e.g.
| ilObjStudyProgrammeReference | ilObjStudyProgramme | $prg |
| ilStudyProgrammeTreeException | |
| ilException |
Definition at line 810 of file class.ilObjStudyProgramme.php.
References addMissingProgresses(), clearChildrenCache(), getLPMode(), getSettings(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, and ilStudyProgrammeSettings\MODE_POINTS.
Here is the call graph for this function:| ilObjStudyProgramme::putInTree | ( | int | $parent_ref_id | ) |
Overwritten from ilObject.
Calls nodeInserted on parent object if parent object is another program.
| int | $parent_ref_id |
| ilStudyProgrammeTreeException | |
| ilException |
Reimplemented from ilContainer.
Definition at line 838 of file class.ilObjStudyProgramme.php.
References ilObject\_lookupType(), and getInstanceByRefId().
Referenced by addNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1667 of file class.ilObjStudyProgramme.php.
References ilLPStatusWrapper\_updateStatus(), and ILIAS\Survey\Mode\getId().
Referenced by removeAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::removeAssignment | ( | ilPRGAssignment | $assignment | ) |
Remove an assignment from this program.
Throws when assignment doesn't have this program as root node.
| ilException |
Definition at line 980 of file class.ilObjStudyProgramme.php.
References ilPRGAssignment\getId(), ilPRGAssignment\getProgresses(), ilPRGAssignment\getRootId(), ilPRGAssignment\getUserId(), and refreshLPStatus().
Here is the call graph for this function:
|
static |
Check, if a category is under surveillance and automatically remove the deleted course.
| ilStudyProgrammeTreeException |
Definition at line 1257 of file class.ilObjStudyProgramme.php.
Referenced by ilStudyProgrammeAppEventListener\removeCrsFromProgrammes().
Here is the caller graph for this function:
|
static |
Definition at line 1434 of file class.ilObjStudyProgramme.php.
References $assignment_repository, ilPRGAssignmentDBRepository\delete(), ilStudyProgrammeDIC\dic(), ilStudyProgrammeAutoMembershipSource\SOURCE_MAPPING, and ilPRGAssignmentDBRepository\store().
Referenced by ilStudyProgrammeAppEventListener\removeMemberFromProgrammes().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::removeNode | ( | ilObjStudyProgramme | $a_prg | ) |
Remove a node from this object.
Throws when node is no child of the object. Throws when manipulation of tree is not allowed due to invariants that need to hold on the tree.
| ilException | |
| ilStudyProgrammeTreeException |
Definition at line 857 of file class.ilObjStudyProgramme.php.
References canBeRemoved(), clearChildrenCache(), clearParentCache(), getParent(), and ilObject\getRefId().
Here is the call graph for this function:| ilObjStudyProgramme::resetExpiryInfoSentFor | ( | ilPRGAssignment | $ass | ) |
Definition at line 1012 of file class.ilObjStudyProgramme.php.
Referenced by ilPRGMail\resetExpiryInfoSentFor().
Here is the caller graph for this function:| ilObjStudyProgramme::resetRiskyToFailSentFor | ( | ilPRGAssignment | $ass | ) |
Definition at line 1022 of file class.ilObjStudyProgramme.php.
Referenced by ilPRGMail\resetRiskyToFailSentFor().
Here is the caller graph for this function:| ilObjStudyProgramme::setPoints | ( | int | $points | ) |
Set the amount of points.
| ilException |
Definition at line 328 of file class.ilObjStudyProgramme.php.
References ILIAS\LTI\ToolProvider\$settings, getSettings(), updateLastChange(), and updateSettings().
Here is the call graph for this function:
|
static |
Succeed all StudyProgramme(Nodes) where the object with the given id (a CRSR) is in a Programme with MODE_LP_COMPLETED.
This is exclusively called via event "Services/Tracking, updateStatus" (onServiceTrackingUpdateStatus)
| int | $ref_id | the RefId of the CRSR; used to find the PRG it's in |
| int | $obj_id | the ObjId of the CRS; used as "triggering object" |
| int | $user_id | the user's id to succeed for; all assignments are affected |
| ilException |
Definition at line 1505 of file class.ilObjStudyProgramme.php.
Referenced by ilStudyProgrammeAppEventListener\onServiceTrackingUpdateStatus().
Here is the caller graph for this function:| ilObjStudyProgramme::setStatus | ( | int | $a_status | ) |
Set the status of the node.
| ilException |
Definition at line 386 of file class.ilObjStudyProgramme.php.
References ILIAS\LTI\ToolProvider\$settings, getSettings(), updateLastChange(), and updateSettings().
Here is the call graph for this function:| ilObjStudyProgramme::statusToRepr | ( | int | $status | ) |
Get a user readable representation of a status.
Definition at line 1864 of file class.ilObjStudyProgramme.php.
References $lng, ilPRGProgress\STATUS_ACCREDITED, ilPRGProgress\STATUS_COMPLETED, ilPRGProgress\STATUS_FAILED, ilPRGProgress\STATUS_IN_PROGRESS, and ilPRGProgress\STATUS_NOT_RELEVANT.
| ilObjStudyProgramme::storeAutomaticContentCategory | ( | int | $category_ref_id | ) |
Store a Category with auto-content for this StudyProgramme; a category can only be referenced once (per programme).
Definition at line 1204 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::storeAutomaticMembershipSource | ( | string | $type, |
| int | $src_id | ||
| ) |
Store a source to be monitored for automatic memberships.
Definition at line 1338 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::storeExpiryInfoSentFor | ( | ilPRGAssignment | $ass | ) |
Definition at line 1007 of file class.ilObjStudyProgramme.php.
Referenced by ilPRGMail\sendInformToReAssignMail().
Here is the caller graph for this function:| ilObjStudyProgramme::storeRiskyToFailSentFor | ( | ilPRGAssignment | $ass | ) |
Definition at line 1017 of file class.ilObjStudyProgramme.php.
Referenced by ilPRGMail\sendRiskyToFailMail().
Here is the caller graph for this function:| ilObjStudyProgramme::succeed | ( | int | $usr_id, |
| int | $triggering_obj_id, | ||
| ilPRGAssignment | $ass = null |
||
| ) |
Definition at line 1524 of file class.ilObjStudyProgramme.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
| ilStudyProgrammeTreeException | if object is not in tree. |
Definition at line 700 of file class.ilObjStudyProgramme.php.
Referenced by addNode(), applyToSubTreeNodes(), getChildren(), getLPChildren(), and getParent().
Here is the caller graph for this function:| ilObjStudyProgramme::unmarkAccredited | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) |
Definition at line 1693 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::update | ( | ) |
| ilException |
Reimplemented from ilContainer.
Definition at line 246 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), getSettings(), and ilAdvancedMDRecord\saveObjRecSelection().
Here is the call graph for this function:| ilObjStudyProgramme::updateCustomIcon | ( | ) |
Definition at line 1561 of file class.ilObjStudyProgramme.php.
References ILIAS\Survey\Mode\getId().
Referenced by ilObjStudyProgrammeSettingsGUI\buildForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Update last change timestamp on this node and its parents.
Definition at line 1485 of file class.ilObjStudyProgramme.php.
References ILIAS\LTI\ToolProvider\getSettings().
Referenced by setPoints(), and setStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjStudyProgramme::updatePlanFromRepository | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection = null |
||
| ) |
Definition at line 1808 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::updateSettings | ( | ilStudyProgrammeSettings | $settings | ) |
Definition at line 208 of file class.ilObjStudyProgramme.php.
References ILIAS\LTI\ToolProvider\$settings, and getSettingsRepository().
Referenced by ilObjStudyProgrammeSettingsGUI\buildForm(), setPoints(), and setStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 43 of file class.ilObjStudyProgramme.php.
Referenced by getAssignmentRepository(), and removeMemberFromProgrammes().
|
protected |
Definition at line 44 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 45 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 35 of file class.ilObjStudyProgramme.php.
Referenced by getChildren().
|
protected |
Definition at line 65 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 47 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 63 of file class.ilObjStudyProgramme.php.
Referenced by __construct().
|
protected |
Definition at line 66 of file class.ilObjStudyProgramme.php.
Referenced by getLogger().
|
protected |
Definition at line 40 of file class.ilObjStudyProgramme.php.
Referenced by getLPChildren().
|
protected |
Definition at line 55 of file class.ilObjStudyProgramme.php.
Referenced by getLocalMembers().
|
protected |
Definition at line 46 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 64 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 30 of file class.ilObjStudyProgramme.php.
Referenced by getParent(), getParents(), and moveTo().
|
protected |
Definition at line 60 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 48 of file class.ilObjStudyProgramme.php.
Referenced by getSettingsRepository().
|
staticprotected |
Definition at line 25 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 42 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 62 of file class.ilObjStudyProgramme.php.