|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 () | |
| cloneObject (int $target_ref_id, int $copy_id=0, bool $omit_tree=false) | |
| 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... | |
| isCertificateActive () | |
| 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 (ilPRGAssignment $assignment) | |
| 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... | |
| getCertificateRelevantAssignmentIds (int ... $usr_ids) | |
| 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, bool $search_recursive) | |
| 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, bool $search_recursive) | |
| Disable a membership source. More... | |
| enableAutomaticMembershipSource (string $type, int $src_id, bool $search_recursive, $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... | |
| hasContentPage () | |
| createContentPage () | |
Public Member Functions inherited from ilContainer | |
| getTileSizes () | |
| getObjectTranslation () | |
| setObjectTranslation (?Translations $obj_trans) | |
| createContainerDirectory () | |
| getContainerDirectory () | |
| setHiddenFilesFound (bool $a_hiddenfilesfound) | |
| getHiddenFilesFound () | |
| getStyleSheetId () | |
| setStyleSheetId (int $a_style_id) | |
| setNewsTimeline (bool $a_val) | |
| getNewsTimeline () | |
| setNewsTimelineAutoEntries (bool $a_val) | |
| getNewsTimelineAutoEntries () | |
| setNewsTimelineLandingPage (bool $a_val) | |
| getNewsTimelineLandingPage () | |
| isNewsTimelineEffective () | |
| isNewsTimelineLandingPageEffective () | |
| setNewsBlockActivated (bool $a_val) | |
| getNewsBlockActivated () | |
| setUseNews (bool $a_val) | |
| getUseNews () | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies (container sorting) More... | |
| cloneAllObject (string $session_id, string $client_id, string $new_type, int $ref_id, int $clone_source, array $options, bool $soap_call=false, int $a_submode=1) | |
| delete () | |
| delete category and all related data More... | |
| getViewMode () | |
| getOrderType () | |
| setOrderType (int $a_value) | |
| isClassificationFilterActive () | |
| filteredSubtree () | |
| Note grp/crs currently allow to filter in their whole subtrees Catetories only their direct childs. More... | |
| getSubItems (bool $a_admin_panel_enabled=false, bool $a_include_side_block=false, int $a_get_single=0, ?ilContainerUserFilter $container_user_filter=null) | |
| gotItems () | |
| addAdditionalSubItemInformation (array &$object) | |
| Add additional information to sub item, e.g. More... | |
| getGroupedObjTypes () | |
| enablePageEditing () | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| update () | |
| read () | |
| readContainerSettings () | |
| removeTranslations () | |
| deleteTranslation (string $a_lang) | |
| addTranslation (string $a_title, string $a_desc, string $a_lang, string $a_lang_default) | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id, int $new_obj_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
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 | setProgressesCompletedFor (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 | setProgressesCompletedIfParentIsProgrammeInLPCompletedMode (int $ref_id, int $obj_id, int $user_id) |
| 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 | getIconForType (string $type) |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, ?\ilDBInterface $ilDB=null) |
Data Fields | |
| const | CP_TYPE = 'cont' |
Data Fields inherited from ilContainer | |
| const | VIEW_SESSIONS = 0 |
| const | VIEW_OBJECTIVE = 1 |
| const | VIEW_TIMING = 2 |
| const | VIEW_ARCHIVE = 3 |
| const | VIEW_SIMPLE = 4 |
| const | VIEW_BY_TYPE = 5 |
| const | VIEW_INHERIT = 6 |
| const | VIEW_DEFAULT = self::VIEW_BY_TYPE |
| const | SORT_TITLE = 0 |
| const | SORT_MANUAL = 1 |
| const | SORT_ACTIVATION = 2 |
| const | SORT_INHERIT = 3 |
| const | SORT_CREATION = 4 |
| const | SORT_DIRECTION_ASC = 0 |
| const | SORT_DIRECTION_DESC = 1 |
| const | SORT_NEW_ITEMS_POSITION_TOP = 0 |
| const | SORT_NEW_ITEMS_POSITION_BOTTOM = 1 |
| const | SORT_NEW_ITEMS_ORDER_TITLE = 0 |
| const | SORT_NEW_ITEMS_ORDER_CREATION = 1 |
| const | SORT_NEW_ITEMS_ORDER_ACTIVATION = 2 |
| const | TILE_NORMAL = 0 |
| const | TILE_SMALL = 1 |
| const | TILE_LARGE = 2 |
| const | TILE_EXTRA_LARGE = 3 |
| const | TILE_FULL = 4 |
| array | $items = [] |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
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 Protected Attributes | |
| static ilObjStudyProgrammeCache | $study_programme_cache = null |
Additional Inherited Members | |
Static Public Attributes inherited from ilContainer | |
| static bool | $data_preloaded = false |
Definition at line 24 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.
Definition at line 75 of file class.ilObjStudyProgramme.php.
References ilObject\$call_by_reference, $DIC, $dic, $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 1845 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 1254 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 1467 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 1168 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 802 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 365 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 737 of file class.ilObjStudyProgramme.php.
References getChildren(), and throwIfNotInTree().
Referenced by getAllPrgChildren(), and getCompletedCourses().
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 954 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 1873 of file class.ilObjStudyProgramme.php.
References ilPRGProgress\getAmountOfPoints(), ilPRGProgress\getPossiblePointsOfRelevantChildren(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, and ilStudyProgrammeSettings\STATUS_DRAFT.
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 899 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 1809 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::changeProgressDeadline | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| ?DateTimeImmutable | $deadline | ||
| ) |
Definition at line 1769 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::changeProgressValidityDate | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection, | ||
| ?DateTimeImmutable | $validity | ||
| ) |
Definition at line 1789 of file class.ilObjStudyProgramme.php.
|
protected |
Clear the cached children.
Definition at line 131 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 139 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 122 of file class.ilObjStudyProgramme.php.
Referenced by __construct(), moveTo(), and removeNode().
Here is the caller graph for this function:| ilObjStudyProgramme::cloneObject | ( | int | $target_ref_id, |
| int | $copy_id = 0, |
||
| bool | $omit_tree = false |
||
| ) |
Definition at line 306 of file class.ilObjStudyProgramme.php.
References getSettings(), and ilStudyProgrammeSettings\STATUS_DRAFT.
Here is the call graph for this function:| ilObjStudyProgramme::create | ( | ) |
| ilException |
Reimplemented from ilContainer.
Definition at line 239 of file class.ilObjStudyProgramme.php.
References $id, getSettingsRepository(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjStudyProgramme::createContentPage | ( | ) |
Definition at line 1914 of file class.ilObjStudyProgramme.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Create an instance of ilObjStudyProgramme, put in cache.
| ilException |
Definition at line 193 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::delete | ( | ) |
Delete Study Programme and all related data.
| ilException |
Reimplemented from ilContainer.
Definition at line 273 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 1246 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 1384 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 231 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 1238 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 1376 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:
|
protected |
Definition at line 221 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, | ||
| bool | $search_recursive | ||
| ) |
Disable a membership source.
Definition at line 1392 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::enableAutomaticMembershipSource | ( | string | $type, |
| int | $src_id, | ||
| bool | $search_recursive, | ||
$assign_now = false |
|||
| ) |
Enable a membership source.
| ilException |
Definition at line 1410 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 454 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), and getInstanceByRefId().
Here is the call graph for this function:| ilObjStudyProgramme::getAllPrgChildren | ( | ) |
Definition at line 469 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 1052 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 623 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 706 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 1508 of file class.ilObjStudyProgramme.php.
References getMembersOfMembershipSource().
Here is the call graph for this function:
|
protected |
Definition at line 171 of file class.ilObjStudyProgramme.php.
References $assignment_repository.
| ilObjStudyProgramme::getAssignments | ( | ) |
Definition at line 1083 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 1064 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 1137 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 1210 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 1351 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::getCertificateRelevantAssignmentIds | ( | int ... | $usr_ids | ) |
Definition at line 1150 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 490 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 | ( | ilPRGAssignment | $assignment | ) |
Get courses in this program that the given user already completed.
Definition at line 751 of file class.ilObjStudyProgramme.php.
References Vendor\Package\$f, ilObject\_exists(), ilLPStatus\_hasUserCompleted(), ilObject\_lookupDeletedDate(), ilContainerReference\_lookupTargetId(), ilContainerReference\_lookupTargetRefId(), ilContainerReference\_lookupTitle(), applyToSubTreeNodes(), ilPRGAssignment\getProgressForNode(), ilPRGAssignment\getUserId(), 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 1635 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 634 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::getIdsOfUsersWithRelevantProgress | ( | ) |
Definition at line 1193 of file class.ilObjStudyProgramme.php.
|
static |
Definition at line 158 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(), ilPrgRestartAssignmentsCronJob\getStudyProgramme(), ilPDStudyProgrammeSimpleListGUI\hasPermission(), ilStudyProgrammeDashboardViewGUI\initData(), 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 163 of file class.ilObjStudyProgramme.php.
References ilObject\$ref_id, and initStudyProgrammeCache().
Referenced by ilStudyProgrammeMembersTableGUI\__construct(), ilObjStudyProgrammeReferenceAccess\_checkAccess(), ilObjStudyProgrammeAccess\_checkAccess(), ilPRGPermissionsHelper\getAllAssignedUserIds(), getAllChildren(), getChildren(), getInstanceByObjId(), ilObjStudyProgrammeAutoCategoriesGUI\getObject(), ilObjStudyProgrammeAutoMembershipsGUI\getObject(), ilObjStudyProgrammeSettingsGUI\getObject(), ilStudyProgrammeChangeDeadlineGUI\getObject(), ilStudyProgrammeChangeExpireDateGUI\getObject(), getParent(), ilObjStudyProgrammeReference\getParent(), getPrgInstanceByObjId(), getProgrammesMonitoringCategory(), getProgrammesMonitoringMemberSource(), ilObjStudyProgrammeReference\getReferencedObject(), ilObjStudyProgrammeMembersGUI\getStudyProgramme(), ilStudyProgrammeAppEventListener\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 324 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 1104 of file class.ilObjStudyProgramme.php.
References $members_cache, and ilObject\getId().
Here is the call graph for this function:
|
protected |
Definition at line 1679 of file class.ilObjStudyProgramme.php.
Referenced by assignUser().
Here is the caller graph for this function:
|
protected |
Definition at line 183 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 663 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 695 of file class.ilObjStudyProgramme.php.
References getLPChildren().
Here is the call graph for this function:| ilObjStudyProgramme::getLPMode | ( | ) |
Definition at line 352 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 1092 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 1438 of file class.ilObjStudyProgramme.php.
Referenced by enableAutomaticMembershipSource(), and getApplicableMembershipSourceForUser().
Here is the caller graph for this function:
|
protected |
Definition at line 1684 of file class.ilObjStudyProgramme.php.
| 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 537 of file class.ilObjStudyProgramme.php.
References $parent, getInstanceByRefId(), ilObject\getRefId(), and throwIfNotInTree().
Referenced by moveTo(), and removeNode().
Here is the call graph for this function:
Here is the caller 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 580 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 332 of file class.ilObjStudyProgramme.php.
References getSettings().
Here is the call graph for this function:
|
protected |
Definition at line 153 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 1293 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 1448 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 551 of file class.ilObjStudyProgramme.php.
References $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 570 of file class.ilObjStudyProgramme.php.
References getReferencesTo().
Here is the call graph for this function:
|
static |
Definition at line 144 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 648 of file class.ilObjStudyProgramme.php.
References getParents().
Here is the call graph for this function:| ilObjStudyProgramme::getSettings | ( | ) |
Definition at line 206 of file class.ilObjStudyProgramme.php.
References ilObject\getId(), and getSettingsRepository().
Referenced by adjustLPMode(), ilObjStudyProgrammeSettingsGUI\buildForm(), cloneObject(), 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 175 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 1015 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::getStatus | ( | ) |
Definition at line 390 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 418 of file class.ilObjStudyProgramme.php.
References getSettings().
Here is the call graph for this function:
|
protected |
Definition at line 179 of file class.ilObjStudyProgramme.php.
References ilObject\$tree.
| ilObjStudyProgramme::hasAdvancedMetadata | ( | ) |
Definition at line 295 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 1043 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 1120 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 1145 of file class.ilObjStudyProgramme.php.
References getAssignmentsOfSingleProgramForUser().
Here is the call graph for this function:| ilObjStudyProgramme::hasAutomaticContentCategories | ( | ) |
Definition at line 1215 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 612 of file class.ilObjStudyProgramme.php.
References getAmountOfChildren().
Here is the call graph for this function:| ilObjStudyProgramme::hasContentPage | ( | ) |
Definition at line 1910 of file class.ilObjStudyProgramme.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjStudyProgramme::hasLPChildren | ( | ) |
Definition at line 711 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 1179 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 112 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 410 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 1323 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::isCertificateActive | ( | ) |
Definition at line 429 of file class.ilObjStudyProgramme.php.
References $certificate_template_repository, ilCertificateTemplateRepository\fetchCurrentlyUsedCertificate(), and ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::markAccredited | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) |
Definition at line 1697 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::markNotRelevant | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) |
Definition at line 1733 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::markRelevant | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ilPRGMessageCollection | $err_collection | ||
| ) |
Definition at line 1751 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 913 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 829 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 857 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 1689 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 993 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 1278 of file class.ilObjStudyProgramme.php.
Referenced by ilStudyProgrammeAppEventListener\removeCrsFromProgrammes().
Here is the caller graph for this function:
|
static |
Definition at line 1478 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 876 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 1025 of file class.ilObjStudyProgramme.php.
Referenced by ilPRGMail\resetExpiryInfoSentFor().
Here is the caller graph for this function:| ilObjStudyProgramme::resetRiskyToFailSentFor | ( | ilPRGAssignment | $ass | ) |
Definition at line 1035 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 342 of file class.ilObjStudyProgramme.php.
References 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 |
This is exclusively called via event "components/ILIAS/Tracking, updateStatus" (onServiceTrackingUpdateStatus)
Definition at line 1550 of file class.ilObjStudyProgramme.php.
References $ref_id, $user_id, ilObject\_getAllReferences(), and ilObject\_lookupType().
Here is the call graph for this function:
|
static |
| ilException |
Definition at line 1564 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 400 of file class.ilObjStudyProgramme.php.
References 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 1888 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 1225 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::storeAutomaticMembershipSource | ( | string | $type, |
| int | $src_id, | ||
| bool | $search_recursive | ||
| ) |
Store a source to be monitored for automatic memberships.
Definition at line 1359 of file class.ilObjStudyProgramme.php.
References ilObject\getId().
Here is the call graph for this function:| ilObjStudyProgramme::storeExpiryInfoSentFor | ( | ilPRGAssignment | $ass | ) |
Definition at line 1020 of file class.ilObjStudyProgramme.php.
Referenced by ilPRGMail\sendInformToReAssignMail().
Here is the caller graph for this function:| ilObjStudyProgramme::storeRiskyToFailSentFor | ( | ilPRGAssignment | $ass | ) |
Definition at line 1030 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 1583 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 719 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 1715 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::update | ( | ) |
| ilException |
Reimplemented from ilContainer.
Definition at line 249 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 1603 of file class.ilObjStudyProgramme.php.
References ilFileUtils\getDataDir(), and 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 1530 of file class.ilObjStudyProgramme.php.
Referenced by setPoints(), and setStatus().
Here is the caller graph for this function:| ilObjStudyProgramme::updatePlanFromRepository | ( | int | $assignment_id, |
| int | $acting_usr_id, | ||
| ?ilPRGMessageCollection | $err_collection = null |
||
| ) |
Definition at line 1829 of file class.ilObjStudyProgramme.php.
| ilObjStudyProgramme::updateSettings | ( | ilStudyProgrammeSettings | $settings | ) |
Definition at line 211 of file class.ilObjStudyProgramme.php.
References ilStudyProgrammeSettings\getObjId(), 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 46 of file class.ilObjStudyProgramme.php.
Referenced by getAssignmentRepository(), and removeMemberFromProgrammes().
|
protected |
Definition at line 47 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 48 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 38 of file class.ilObjStudyProgramme.php.
Referenced by getChildren().
|
protected |
Definition at line 68 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 50 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 66 of file class.ilObjStudyProgramme.php.
Referenced by __construct().
|
protected |
Definition at line 69 of file class.ilObjStudyProgramme.php.
Referenced by getLogger().
|
protected |
Definition at line 43 of file class.ilObjStudyProgramme.php.
Referenced by getLPChildren().
|
protected |
Definition at line 58 of file class.ilObjStudyProgramme.php.
Referenced by getLocalMembers().
|
protected |
Definition at line 49 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 67 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 33 of file class.ilObjStudyProgramme.php.
Referenced by getParent(), getParents(), and moveTo().
|
protected |
Definition at line 63 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 51 of file class.ilObjStudyProgramme.php.
Referenced by getSettingsRepository().
|
staticprotected |
Definition at line 28 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 45 of file class.ilObjStudyProgramme.php.
|
protected |
Definition at line 65 of file class.ilObjStudyProgramme.php.
| const ilObjStudyProgramme::CP_TYPE = 'cont' |
Definition at line 26 of file class.ilObjStudyProgramme.php.