ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
ilObjLearningSequence Class Reference
+ Inheritance diagram for ilObjLearningSequence:
+ Collaboration diagram for ilObjLearningSequence:

Public Member Functions

 __construct (int $id=0, bool $call_by_reference=true)
 
 read ()
 
 create ()
 note: title, description and type should be set when this function is called More...
 
 update ()
 
 delete ()
 delete category and all related data More...
 
 getObjectReferenceProperties ()
 
 storeAvailabilityPeriod (AvailabilityPeriod $period)
 
 getDI ()
 
 getLocalDI ()
 
 getLSSettings ()
 
 updateSettings (ilLearningSequenceSettings $settings)
 
 getLSParticipants ()
 
 getMembersObject ()
 
 getLSAccess ()
 
 getLSItems ()
 
 storeLSItems (array $ls_items)
 Update LSItems. More...
 
 deletePostConditionsForSubObjects (array $ref_ids)
 Delete post conditions for ref ids. More...
 
 getPossiblePostConditionsForType (string $type)
 
 getStateDB ()
 
 getLSLearnerItems (int $usr_id)
 
 getLSRoles ()
 
 getMailToMembersType ()
 Get mail to members type. More...
 
 getShowMembers ()
 
 announceLSOOnline ()
 
 announceLSOOffline ()
 
 setEffectiveOnlineStatus (bool $status)
 
 getCurrentUserCurriculum ()
 
 getCurrentUserLaunchButtons ()
 
 getLocalLearningSequenceRoles (bool $translate=false)
 
 getDefaultMemberRole ()
 
 getDefaultAdminRole ()
 
 getDefaultLearningSequenceRoles (string $a_grp_id="")
 
 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...
 
 readMemberData (array $user_ids, ?array $columns=null)
 
 getParentObjectInfo (int $ref_id, array $search_types)
 
 getLPCompletionStates ()
 
 getContentPageId ()
 
 hasContentPage (LSOPageType $page_type)
 
 createContentPage (LSOPageType $page_type)
 
 getContentPageHTML (LSOPageType $page_type)
 
- 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 getInstanceByRefId (int $ref_id)
 
static _goto (string $target, string $add="")
 Goto target learning sequence. 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 OBJ_TYPE = 'lso'
 
const E_CREATE = 'create'
 
const E_UPDATE = 'update'
 
const E_DELETE = 'delete'
 
- 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
 

Protected Member Functions

 raiseEvent (string $event_type)
 
 cloneIntroAndExtroContentPages (ilObjLearningSequence $new_obj, array $cp_types)
 
 cloneAutoGeneratedRoles (ilObjLearningSequence $new_obj)
 
 cloneSettings (ilObjLearningSequence $new_obj)
 
 cloneLPSettings (int $obj_id)
 
 getDIC ()
 
 getSettingsDB ()
 
 getLSItemsDB ()
 
 getPostConditionDB ()
 
 getLearnerProgressDB ()
 
- Protected Member Functions inherited from ilContainer
 getInitialSubitems ()
 
 applyContainerUserFilter (array $objects, ?ilContainerUserFilter $container_user_filter=null)
 
- Protected Member Functions inherited from ilObject
 doMDUpdateListener (string $a_element)
 
 beforeMDUpdateListener (string $a_element)
 
 doCreateMetaData ()
 
 beforeCreateMetaData ()
 
 doUpdateMetaData ()
 
 beforeUpdateMetaData ()
 
 doDeleteMetaData ()
 
 beforeDeleteMetaData ()
 
 handleAutoRating ()
 
 hasAutoRating ()
 

Protected Attributes

ilLSItemsDB $items_db = null
 
ilLSPostConditionDB $conditions_db = null
 
ilLearnerProgressDB $learner_progress_db = null
 
ilLearningSequenceParticipants $ls_participants = null
 
ilLearningSequenceSettings $ls_settings = null
 
ilLSStateDB $state_db = null
 
ilLearningSequenceRoles $ls_roles = null
 
ilLearningSequenceSettingsDB $settings_db = null
 
ilLearningSequenceActivationDB $activation_db = null
 
ilLearningSequenceActivation $ls_activation = null
 
ArrayAccess $di = null
 
ArrayAccess $local_di = null
 
ilObjLearningSequenceAccess $ls_access = null
 
ArrayAccess $dic
 
ilCtrl $ctrl
 
ILIAS News Service $il_news
 
ilConditionHandler $il_condition_handler
 
ReferencePropertiesRepository $repo_ref_props
 
ObjectReferenceProperties $ref_props = null
 
- Protected Attributes inherited from ilContainer
News $news
 
ILIAS Style Content DomainService $content_style_domain
 
ILIAS Container InternalDomainService $domain
 
ilAccessHandler $access
 
ilRbacSystem $rbacsystem
 
ilObjUser $user
 
ilObjectDefinition $obj_definition
 
int $order_type = 0
 
bool $hiddenfilesfound = false
 
bool $news_timeline = false
 
bool $news_timeline_auto_entries = false
 
ilSetting $setting
 
Translations $obj_trans = null
 
int $style_id = 0
 
bool $news_timeline_landing_page = false
 
bool $news_block_activated = false
 
bool $use_news = false
 
ilRecommendedContentManager $recommended_content_manager
 
array $type_grps = null
 
- Protected Attributes inherited from ilObject
ilLogger $obj_log
 
ILIAS $ilias
 
ilObjectDefinition $obj_definition
 
ilDBInterface $db
 
ilLogger $log
 
ilErrorHandling $error
 
ilTree $tree
 
ilAppEventHandler $app_event_handler
 
ilRbacAdmin $rbac_admin
 
ilRbacReview $rbac_review
 
ilObjUser $user
 
ilLanguage $lng
 
LOMServices $lom_services
 
bool $call_by_reference
 
int $max_title = self::TITLE_LENGTH
 
int $max_desc = self::DESC_LENGTH
 
bool $add_dots = true
 
int $ref_id = null
 
string $type = ""
 
string $title = ""
 
string $desc = ""
 
string $long_desc = ""
 
int $owner = 0
 
string $create_date = ""
 
string $last_update = ""
 
string $import_id = ""
 
bool $register = false
 

Additional Inherited Members

- Static Public Attributes inherited from ilContainer
static bool $data_preloaded = false
 

Detailed Description

Definition at line 26 of file class.ilObjLearningSequence.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjLearningSequence::__construct ( int  $id = 0,
bool  $call_by_reference = true 
)

Definition at line 54 of file class.ilObjLearningSequence.php.

55 {
56 global $DIC;
57 $this->dic = $DIC;
58
59 $this->type = self::OBJ_TYPE;
60 $this->lng = $DIC['lng'];
61 $this->ctrl = $DIC['ilCtrl'];
62 $this->user = $DIC['ilUser'];
63 $this->tree = $DIC['tree'];
64 $this->log = $DIC["ilLoggerFactory"]->getRootLogger();
65 $this->app_event_handler = $DIC['ilAppEventHandler'];
66 $this->il_news = $DIC->news();
67 $this->il_condition_handler = new ilConditionHandler();
68 $this->repo_ref_props = LocalDIC::dic()['properties.object_reference.repositoy'];
70
71 $this->lng->loadLanguageModule('rbac');
72 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
INTERNAL CLASS: Please do not use in consumer code.
bool $call_by_reference
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $DIC
Definition: shib_login.php:26

References ilObject\$call_by_reference, $DIC, $id, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), OBJ_TYPE, and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ _goto()

static ilObjLearningSequence::_goto ( string  $target,
string  $add = "" 
)
static

Goto target learning sequence.

Definition at line 440 of file class.ilObjLearningSequence.php.

440 : void
441 {
442 global $DIC;
443 $main_tpl = $DIC->ui()->mainTemplate();
444
445 $ilAccess = $DIC['ilAccess'];
446 $ilErr = $DIC['ilErr'];
447 $lng = $DIC['lng'];
448 $ilUser = $DIC['ilUser'];
449 $request_wrapper = $DIC->http()->wrapper()->query();
450 $refinery = $DIC->refinery();
451
452 if (substr($add, 0, 5) == 'rcode') {
453 if ($ilUser->getId() == ANONYMOUS_USER_ID) {
454 $request_target = $request_wrapper->retrieve("target", $refinery->kindlyTo()->string());
455 // Redirect to login for anonymous
457 "login.php?target=" . $request_target . "&cmd=force_login&lang=" .
458 $ilUser->getCurrentLanguage()
459 );
460 }
461
462 // Redirects to target location after assigning user to learning sequence
464 $target,
466 substr($add, 5)
467 );
468 }
469
470 if ($add == "mem" && $ilAccess->checkAccess("manage_members", "", $target)) {
471 ilObjectGUI::_gotoRepositoryNode($target, "members");
472 }
473
474 if ($ilAccess->checkAccess("read", "", $target)) {
476 } else {
477 // to do: force flat view
478 if ($ilAccess->checkAccess("visible", "", $target)) {
479 ilObjectGUI::_gotoRepositoryNode($target, "infoScreenGoto");
480 } else {
481 if ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID)) {
482 $main_tpl->setOnScreenMessage('failure', sprintf(
483 $lng->txt("msg_no_perm_read_item"),
485 ), true);
487 }
488 }
489 }
490
491 $ilErr->raiseError($lng->txt("msg_no_perm_read"), $ilErr->FATAL);
492 }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static handleCode(int $a_ref_id, string $a_type, string $a_code)
static _gotoRepositoryRoot(bool $raise_error=false)
Goto repository root.
static _gotoRepositoryNode(int $ref_id, string $cmd="")
static _lookupType(int $id, bool $reference=false)
ilLanguage $lng
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
static redirect(string $a_script)
const ANONYMOUS_USER_ID
Definition: constants.php:27
const ROOT_FOLDER_ID
Definition: constants.php:32
$ilErr
Definition: raiseError.php:33

References $DIC, $ilErr, ilObject\$lng, ILIAS\UI\examples\Layout\Page\Mail\$refinery, ILIAS\UI\examples\Layout\Page\Mail\$request_wrapper, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ANONYMOUS_USER_ID, ilMembershipRegistrationCodeUtils\handleCode(), ilUtil\redirect(), ROOT_FOLDER_ID, and ilLanguage\txt().

+ Here is the call graph for this function:

◆ announceLSOOffline()

ilObjLearningSequence::announceLSOOffline ( )

Definition at line 510 of file class.ilObjLearningSequence.php.

510 : void
511 {
512 //NYI
513 }

◆ announceLSOOnline()

ilObjLearningSequence::announceLSOOnline ( )

Definition at line 499 of file class.ilObjLearningSequence.php.

499 : void
500 {
501 $ns = $this->il_news;
502 $context = $ns->contextForRefId($this->getRefId());
503 $item = $ns->item($context);
504 $item->setContentIsLangVar(true);
505 $item->setContentTextIsLangVar(true);
506 $item->setTitle("lso_news_online_title");
507 $item->setContent("lso_news_online_txt");
508 $ns->data()->save($item);
509 }

References $il_news, and ilObject\getRefId().

+ Here is the call graph for this function:

◆ cloneAutoGeneratedRoles()

ilObjLearningSequence::cloneAutoGeneratedRoles ( ilObjLearningSequence  $new_obj)
protected

Definition at line 205 of file class.ilObjLearningSequence.php.

205 : bool
206 {
207 $admin = $this->getDefaultAdminRole();
208 $new_admin = $new_obj->getDefaultAdminRole();
209
210 if (!$admin || !$new_admin || !$this->getRefId() || !$new_obj->getRefId()) {
211 $this->log->write(__METHOD__ . ' : Error cloning auto generated role: il_lso_admin');
212 }
213
214 $this->rbac_admin->copyRolePermissions($admin, $this->getRefId(), $new_obj->getRefId(), $new_admin, true);
215 $this->log->write(__METHOD__ . ' : Finished copying of role lso_admin.');
216
217 $member = $this->getDefaultMemberRole();
218 $new_member = $new_obj->getDefaultMemberRole();
219
220 if (!$member || !$new_member) {
221 $this->log->write(__METHOD__ . ' : Error cloning auto generated role: il_lso_member');
222 }
223
224 $this->rbac_admin->copyRolePermissions($member, $this->getRefId(), $new_obj->getRefId(), $new_member, true);
225 $this->log->write(__METHOD__ . ' : Finished copying of role lso_member.');
226
227 return true;
228 }

References getDefaultAdminRole(), getDefaultMemberRole(), and ilObject\getRefId().

+ Here is the call graph for this function:

◆ cloneIntroAndExtroContentPages()

ilObjLearningSequence::cloneIntroAndExtroContentPages ( ilObjLearningSequence  $new_obj,
array  $cp_types 
)
protected
Parameters
list<LSOPageType>$cp_types

Definition at line 187 of file class.ilObjLearningSequence.php.

187 : void
188 {
189 foreach ($cp_types as $type) {
190 $new_obj->createContentPage($type);
191 if ($this->hasContentPage($type)) {
192 $target_page_id = $new_obj->getContentPageId();
193 $source_page_id = $this->getContentPageId();
194
195 if ($type === LSOPageType::INTRO) {
196 $source_page = new ilLSOIntroPage($source_page_id);
197 } else {
198 $source_page = new ilLSOExtroPage($source_page_id);
199 }
200 $source_page->copy($target_page_id, $type->value, $target_page_id);
201 }
202 }
203 }
createContentPage(LSOPageType $page_type)
hasContentPage(LSOPageType $page_type)
string $type

References ilObject\$type, createContentPage(), getContentPageId(), and hasContentPage().

+ Here is the call graph for this function:

◆ cloneLPSettings()

ilObjLearningSequence::cloneLPSettings ( int  $obj_id)
protected

Definition at line 253 of file class.ilObjLearningSequence.php.

253 : void
254 {
255 $lp_settings = new ilLPObjSettings($this->getId());
256 $lp_settings->cloneSettings($obj_id);
257 }

References ilObject\getId().

+ Here is the call graph for this function:

◆ cloneSettings()

ilObjLearningSequence::cloneSettings ( ilObjLearningSequence  $new_obj)
protected

Definition at line 230 of file class.ilObjLearningSequence.php.

230 : void
231 {
232 $source = $this->getLSSettings();
233 $target = $new_obj->getLSSettings();
234
235 foreach ($source->getUploads() as $key => $upload_info) {
236 $target = $target->withUpload($upload_info, $key);
237 }
238
239 foreach ($source->getDeletions() as $deletion) {
240 $target = $target->withDeletion($deletion);
241 }
242
243 $target = $target
244 ->withAbstract($source->getAbstract())
245 ->withExtro($source->getExtro())
246 ->withAbstractImage($source->getAbstractImage())
247 ->withExtroImage($source->getExtroImage())
248 ;
249
250 $new_obj->updateSettings($target);
251 }
updateSettings(ilLearningSequenceSettings $settings)

References getLSSettings(), and updateSettings().

+ Here is the call graph for this function:

◆ create()

ilObjLearningSequence::create ( )

note: title, description and type should be set when this function is called

Reimplemented from ilContainer.

Definition at line 94 of file class.ilObjLearningSequence.php.

94 : int
95 {
96 $id = parent::create();
97 if (!$id) {
98 return 0;
99 }
100 $this->ref_props = $this->repo_ref_props->getFor(null);
101 $this->raiseEvent(self::E_CREATE);
102
103 return $this->getId();
104 }

References $id, ilObject\getId(), and raiseEvent().

+ Here is the call graph for this function:

◆ createContentPage()

ilObjLearningSequence::createContentPage ( LSOPageType  $page_type)

Definition at line 610 of file class.ilObjLearningSequence.php.

610 : void
611 {
612 if ($this->hasContentPage($page_type)) {
613 throw new \LogicException('will not create content page - it already exists.');
614 }
615 $new_page_object = $page_type === LSOPageType::INTRO ? new ilLSOIntroPage() : new ilLSOExtroPage();
616 $new_page_object->setId($this->getContentPageId());
617 $new_page_object->setParentId($this->getId());
618 $new_page_object->createFromXML();
619 }

References getContentPageId(), ilObject\getId(), and hasContentPage().

Referenced by cloneIntroAndExtroContentPages().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete()

ilObjLearningSequence::delete ( )

delete category and all related data

Returns
bool true if all object data were removed; false if only a references were removed

Reimplemented from ilContainer.

Definition at line 116 of file class.ilObjLearningSequence.php.

116 : bool
117 {
118 if (!parent::delete()) {
119 return false;
120 }
121
123 $this->getSettingsDB()->delete($this->getId());
124 $this->getStateDB()->deleteFor($this->getRefId());
125
126 $this->raiseEvent(self::E_DELETE);
127
128 return true;
129 }
static _deleteAllEntries(int $a_obj_id)
Delete all entries Normally called in case of object deletion.

References ilParticipants\_deleteAllEntries(), ilObject\getId(), ilObject\getRefId(), getSettingsDB(), getStateDB(), and raiseEvent().

+ Here is the call graph for this function:

◆ deletePostConditionsForSubObjects()

ilObjLearningSequence::deletePostConditionsForSubObjects ( array  $ref_ids)

Delete post conditions for ref ids.

Parameters
int[]

Definition at line 373 of file class.ilObjLearningSequence.php.

373 : void
374 {
375 $rep_utils = new ilRepUtil();
376 $rep_utils->deleteObjects($this->getRefId(), $ref_ids);
377 $db = $this->getPostConditionDB();
378 $db->delete($ref_ids);
379 }
ilDBInterface $db
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ilObject\$db, getPostConditionDB(), and ilObject\getRefId().

+ Here is the call graph for this function:

◆ getContentPageHTML()

ilObjLearningSequence::getContentPageHTML ( LSOPageType  $page_type)

Definition at line 621 of file class.ilObjLearningSequence.php.

621 : string
622 {
623 if (!$this->hasContentPage($page_type)) {
624 return '';
625 }
626
627 $gui = $page_type === LSOPageType::INTRO ?
628 new ilObjLearningSequenceEditIntroGUI(LSOPageType::INTRO->value, $this->getContentPageId()) :
630
631 $gui->setPresentationTitle("");
632 $gui->setTemplateOutput(false);
633 $gui->setHeader("");
634 $ret = $gui->showPage();
635 return $ret;
636 }
LSOPageType
Definition: LSOPageType.php:22
@ EXTRO
Definition: LSOPageType.php:24
Class ilObjLearningSequenceEditExtroGUI @ilCtrl_Calls ilObjLearningSequenceEditExtroGUI: ilPageEditor...
Class ilObjLearningSequenceEditIntroGUI @ilCtrl_Calls ilObjLearningSequenceEditIntroGUI: ilPageEditor...
setPresentationTitle(string $a_title="")

References EXTRO, getContentPageId(), and hasContentPage().

+ Here is the call graph for this function:

◆ getContentPageId()

ilObjLearningSequence::getContentPageId ( )

Definition at line 600 of file class.ilObjLearningSequence.php.

600 : int
601 {
602 return $this->getId();
603 }

References ilObject\getId().

Referenced by cloneIntroAndExtroContentPages(), createContentPage(), and getContentPageHTML().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCurrentUserCurriculum()

ilObjLearningSequence::getCurrentUserCurriculum ( )

Definition at line 521 of file class.ilObjLearningSequence.php.

521 : string
522 {
523 $dic = $this->getLocalDI();
524 $curriculum = $dic["player.curriculumbuilder"]->getLearnerCurriculum(false);
525 return $dic['ui.renderer']->render($curriculum);
526 }

References $dic, and getLocalDI().

+ Here is the call graph for this function:

◆ getCurrentUserLaunchButtons()

ilObjLearningSequence::getCurrentUserLaunchButtons ( )

Definition at line 528 of file class.ilObjLearningSequence.php.

528 : string
529 {
530 $dic = $this->getLocalDI();
531 $buttons = $dic["player.launchlinksbuilder"]->getLaunchbuttonsComponent();
532 return $dic['ui.renderer']->render($buttons);
533 }

References $dic, and getLocalDI().

+ Here is the call graph for this function:

◆ getDefaultAdminRole()

ilObjLearningSequence::getDefaultAdminRole ( )

Definition at line 552 of file class.ilObjLearningSequence.php.

552 : int
553 {
554 return $this->getLSRoles()->getDefaultAdminRole();
555 }

References getLSRoles().

Referenced by cloneAutoGeneratedRoles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDefaultLearningSequenceRoles()

ilObjLearningSequence::getDefaultLearningSequenceRoles ( string  $a_grp_id = "")
Returns
array<string, int>|[]

Definition at line 560 of file class.ilObjLearningSequence.php.

560 : array
561 {
562 return $this->getLSRoles()->getDefaultLearningSequenceRoles($a_grp_id);
563 }

References getLSRoles().

+ Here is the call graph for this function:

◆ getDefaultMemberRole()

ilObjLearningSequence::getDefaultMemberRole ( )

Definition at line 547 of file class.ilObjLearningSequence.php.

547 : int
548 {
549 return $this->getLSRoles()->getDefaultMemberRole();
550 }

References getLSRoles().

Referenced by cloneAutoGeneratedRoles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDI()

ilObjLearningSequence::getDI ( )

Definition at line 264 of file class.ilObjLearningSequence.php.

264 : ArrayAccess
265 {
266 if (is_null($this->di)) {
267 $di = new ilLSDI();
268 $di->init($this->getDIC());
269 $this->di = $di;
270 }
271 return $this->di;
272 }

References $di, and getDIC().

Referenced by getLocalDI(), getPostConditionDB(), getSettingsDB(), and getStateDB().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getDIC()

ilObjLearningSequence::getDIC ( )
protected

Definition at line 259 of file class.ilObjLearningSequence.php.

259 : ArrayAccess
260 {
261 return $this->dic;
262 }

References $dic.

Referenced by getDI(), and getLocalDI().

+ Here is the caller graph for this function:

◆ getInstanceByRefId()

static ilObjLearningSequence::getInstanceByRefId ( int  $ref_id)
static

Definition at line 74 of file class.ilObjLearningSequence.php.

74 : ?\ilObject
75 {
77 }
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id
Class ilObject Basic functions for all objects.

References ilObject\$ref_id, and ilObjectFactory\getInstanceByRefId().

Referenced by ilDashboardLearningSequenceGUI\confirmedRemove().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLearnerProgressDB()

ilObjLearningSequence::getLearnerProgressDB ( )
protected

Definition at line 396 of file class.ilObjLearningSequence.php.

397 {
398 if (!$this->learner_progress_db) {
399 $this->learner_progress_db = $this->getLocalDI()['db.progress'];
400 }
402 }
Get LearningProgress and availability of items in sequence.
ilLearnerProgressDB $learner_progress_db

References $learner_progress_db, and getLocalDI().

Referenced by getLSLearnerItems().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLocalDI()

ilObjLearningSequence::getLocalDI ( )

Definition at line 274 of file class.ilObjLearningSequence.php.

274 : ArrayAccess
275 {
276 if (is_null($this->local_di)) {
277 $di = new ilLSLocalDI();
278 $di->init(
279 $this->getDIC(),
280 $this->getDI(),
281 new \ILIAS\Data\Factory(),
282 $this
283 );
284 $this->local_di = $di;
285 }
286 return $this->local_di;
287 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.

References $di, $local_di, getDI(), and getDIC().

Referenced by getCurrentUserCurriculum(), getCurrentUserLaunchButtons(), getLearnerProgressDB(), getLSItemsDB(), getLSParticipants(), and getLSRoles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLocalLearningSequenceRoles()

ilObjLearningSequence::getLocalLearningSequenceRoles ( bool  $translate = false)
Returns
array<string, int>

Definition at line 542 of file class.ilObjLearningSequence.php.

542 : array
543 {
544 return $this->getLSRoles()->getLocalLearningSequenceRoles($translate);
545 }

References getLSRoles().

+ Here is the call graph for this function:

◆ getLPCompletionStates()

ilObjLearningSequence::getLPCompletionStates ( )
Returns
int[]

Definition at line 593 of file class.ilObjLearningSequence.php.

593 : array
594 {
595 return [
597 ];
598 }
const LP_STATUS_COMPLETED_NUM

References ilLPStatus\LP_STATUS_COMPLETED_NUM.

◆ getLSAccess()

ilObjLearningSequence::getLSAccess ( )

Definition at line 341 of file class.ilObjLearningSequence.php.

342 {
343 if (is_null($this->ls_access)) {
344 $this->ls_access = new ilObjLearningSequenceAccess();
345 }
346
347 return $this->ls_access;
348 }
ilObjLearningSequenceAccess $ls_access

References $ls_access.

◆ getLSItems()

ilObjLearningSequence::getLSItems ( )
Returns
LSItem[]

Definition at line 353 of file class.ilObjLearningSequence.php.

353 : array
354 {
355 $db = $this->getLSItemsDB();
356 return $db->getLSItems($this->getRefId());
357 }

References ilObject\$db, getLSItemsDB(), and ilObject\getRefId().

+ Here is the call graph for this function:

◆ getLSItemsDB()

ilObjLearningSequence::getLSItemsDB ( )
protected

Definition at line 312 of file class.ilObjLearningSequence.php.

313 {
314 if (!$this->items_db) {
315 $this->items_db = $this->getLocalDI()['db.lsitems'];
316 }
317 return $this->items_db;
318 }
Class ilLSItemsDB.
Definition: ilLSItemsDB.php:25

References $items_db, and getLocalDI().

Referenced by getLSItems(), and storeLSItems().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLSLearnerItems()

ilObjLearningSequence::getLSLearnerItems ( int  $usr_id)
Returns
LSLearnerItem[]

Definition at line 415 of file class.ilObjLearningSequence.php.

415 : array
416 {
417 $db = $this->getLearnerProgressDB();
418 return $db->getLearnerItems($usr_id, $this->getRefId());
419 }

References ilObject\$db, getLearnerProgressDB(), and ilObject\getRefId().

+ Here is the call graph for this function:

◆ getLSParticipants()

ilObjLearningSequence::getLSParticipants ( )

Definition at line 328 of file class.ilObjLearningSequence.php.

329 {
330 if (!$this->ls_participants) {
331 $this->ls_participants = $this->getLocalDI()['participants'];
332 }
333
335 }
ilLearningSequenceParticipants $ls_participants

References $ls_participants, and getLocalDI().

Referenced by ilLearningSequenceParticipantsTableGUI\__construct(), and getMembersObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLSRoles()

ilObjLearningSequence::getLSRoles ( )

Definition at line 421 of file class.ilObjLearningSequence.php.

422 {
423 if (!$this->ls_roles) {
424 $this->ls_roles = $this->getLocalDI()['roles'];
425 }
426 return $this->ls_roles;
427 }
ilLearningSequenceRoles $ls_roles

References $ls_roles, and getLocalDI().

Referenced by getDefaultAdminRole(), getDefaultLearningSequenceRoles(), getDefaultMemberRole(), getLocalLearningSequenceRoles(), and initDefaultRoles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLSSettings()

ilObjLearningSequence::getLSSettings ( )

Definition at line 297 of file class.ilObjLearningSequence.php.

298 {
299 if (!$this->ls_settings) {
300 $this->ls_settings = $this->getSettingsDB()->getSettingsFor($this->getId());
301 }
302
303 return $this->ls_settings;
304 }
Settings for an LSO (like abstract, extro)
ilLearningSequenceSettings $ls_settings

References $ls_settings, ilObject\getId(), and getSettingsDB().

Referenced by ilLearningSequenceXMLWriter\__construct(), ilObjLearningSequenceSettingsGUI\buildFormElements(), cloneSettings(), getShowMembers(), read(), and ilObjLearningSequenceSettingsGUI\update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMailToMembersType()

ilObjLearningSequence::getMailToMembersType ( )

Get mail to members type.

Definition at line 432 of file class.ilObjLearningSequence.php.

432 : int
433 {
434 return 0;
435 }

◆ getMembersObject()

ilObjLearningSequence::getMembersObject ( )

Definition at line 336 of file class.ilObjLearningSequence.php.

336 : \ilLearningSequenceParticipants //used by Services/Membership/classes/class.ilMembershipGUI.php
337 {
338 return $this->getLSParticipants();
339 }

References getLSParticipants().

+ Here is the call graph for this function:

◆ getObjectReferenceProperties()

ilObjLearningSequence::getObjectReferenceProperties ( )

◆ getParentObjectInfo()

ilObjLearningSequence::getParentObjectInfo ( int  $ref_id,
array  $search_types 
)

Definition at line 580 of file class.ilObjLearningSequence.php.

580 : ?array
581 {
582 foreach ($this->tree->getPathFull($ref_id) as $hop) {
583 if (in_array($hop['type'], $search_types)) {
584 return $hop;
585 }
586 }
587 return null;
588 }

References ilObject\$ref_id.

◆ getPossiblePostConditionsForType()

ilObjLearningSequence::getPossiblePostConditionsForType ( string  $type)
Returns
array<"value" => "option_text">

Definition at line 384 of file class.ilObjLearningSequence.php.

384 : array
385 {
386 $condition_types = $this->il_condition_handler->getOperatorsByTriggerType($type);
387 $conditions = [
388 $this->getPostConditionDB()::STD_ALWAYS_OPERATOR => $this->lng->txt('condition_always')
389 ];
390 foreach ($condition_types as $cond_type) {
391 $conditions[$cond_type] = $this->lng->txt('condition_' . $cond_type);
392 }
393 return $conditions;
394 }

References ilObject\$type, getPostConditionDB(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ getPostConditionDB()

ilObjLearningSequence::getPostConditionDB ( )
protected

Definition at line 320 of file class.ilObjLearningSequence.php.

321 {
322 if (!$this->conditions_db) {
323 $this->conditions_db = $this->getDI()["db.postconditions"];
324 }
326 }
Storage for ilLSPostConditions.

References $conditions_db, and getDI().

Referenced by deletePostConditionsForSubObjects(), and getPossiblePostConditionsForType().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSettingsDB()

ilObjLearningSequence::getSettingsDB ( )
protected

Definition at line 289 of file class.ilObjLearningSequence.php.

290 {
291 if (!$this->settings_db) {
292 $this->settings_db = $this->getDI()['db.settings'];
293 }
294 return $this->settings_db;
295 }
Persistence for Settings (like abstract, extro)
ilLearningSequenceSettingsDB $settings_db

References $settings_db, and getDI().

Referenced by delete(), getLSSettings(), and updateSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getShowMembers()

ilObjLearningSequence::getShowMembers ( )

Definition at line 494 of file class.ilObjLearningSequence.php.

494 : bool
495 {
496 return $this->getLSSettings()->getMembersGallery();
497 }

References getLSSettings().

+ Here is the call graph for this function:

◆ getStateDB()

ilObjLearningSequence::getStateDB ( )

Definition at line 404 of file class.ilObjLearningSequence.php.

405 {
406 if (!$this->state_db) {
407 $this->state_db = $this->getDI()['db.states'];
408 }
409 return $this->state_db;
410 }
Persistence for View-States.

References $state_db, and getDI().

Referenced by delete().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasContentPage()

ilObjLearningSequence::hasContentPage ( LSOPageType  $page_type)

Definition at line 605 of file class.ilObjLearningSequence.php.

605 : bool
606 {
607 return ilContainerPage::_exists($page_type->value, $this->getContentPageId());
608 }
static _exists(string $a_parent_type, int $a_id, string $a_lang="", bool $a_no_cache=false)
Checks whether page exists.

References ilPageObject\_exists().

Referenced by cloneIntroAndExtroContentPages(), createContentPage(), and getContentPageHTML().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initDefaultRoles()

ilObjLearningSequence::initDefaultRoles ( )

init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type.

If you want to set up default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example).

Reimplemented from ilObject.

Definition at line 565 of file class.ilObjLearningSequence.php.

565 : void
566 {
567 $this->getLSRoles()->initDefaultRoles();
568 }

References getLSRoles().

+ Here is the call graph for this function:

◆ raiseEvent()

ilObjLearningSequence::raiseEvent ( string  $event_type)
protected

Definition at line 131 of file class.ilObjLearningSequence.php.

131 : void
132 {
133 $this->app_event_handler->raise(
134 'components/ILIAS/LearningSequence',
135 $event_type,
136 array(
137 'obj_id' => $this->getId(),
138 'appointments' => null
139 )
140 );
141 }

References ilObject\getId().

Referenced by create(), delete(), and update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ read()

ilObjLearningSequence::read ( )

Reimplemented from ilContainer.

Definition at line 79 of file class.ilObjLearningSequence.php.

79 : void
80 {
81 parent::read();
82 $this->getLSSettings();
83 try {
84 $this->ref_props = $this->repo_ref_props->getFor($this->getRefId());
85 } catch (\Exception $e) {
86 $this->ref_props = $this->repo_ref_props->getFor(null);
87 $this->repo_ref_props->storePropertyAvailabilityPeriod(
88 $this->ref_props->getPropertyAvailabilityPeriod()
89 ->withObjectReferenceId($this->getRefId())
90 );
91 }
92 }

References Vendor\Package\$e, getLSSettings(), and ilObject\getRefId().

+ Here is the call graph for this function:

◆ readMemberData()

ilObjLearningSequence::readMemberData ( array  $user_ids,
?array  $columns = null 
)
Parameters
array<int|string>$user_ids
string[]$columns
Returns
array<int|string, array>

Definition at line 575 of file class.ilObjLearningSequence.php.

575 : array
576 {
577 return $this->getLsRoles()->readMemberData($user_ids, $columns);
578 }

◆ setEffectiveOnlineStatus()

ilObjLearningSequence::setEffectiveOnlineStatus ( bool  $status)

Definition at line 515 of file class.ilObjLearningSequence.php.

515 : void
516 {
517 $act_db = $this->getActivationDB();
518 $act_db->setEffectiveOnlineStatus($this->getRefId(), $status);
519 }

References ilObject\getRefId().

+ Here is the call graph for this function:

◆ storeAvailabilityPeriod()

ilObjLearningSequence::storeAvailabilityPeriod ( AvailabilityPeriod  $period)

Definition at line 148 of file class.ilObjLearningSequence.php.

148 : void
149 {
150 $this->repo_ref_props->storePropertyAvailabilityPeriod($period);
151 }

Referenced by ilObjLearningSequenceSettingsGUI\update().

+ Here is the caller graph for this function:

◆ storeLSItems()

ilObjLearningSequence::storeLSItems ( array  $ls_items)

Update LSItems.

Parameters
LSItem[]

Definition at line 363 of file class.ilObjLearningSequence.php.

363 : void
364 {
365 $db = $this->getLSItemsDB();
366 $db->storeItems($ls_items);
367 }

References ilObject\$db, and getLSItemsDB().

+ Here is the call graph for this function:

◆ update()

ilObjLearningSequence::update ( )

Reimplemented from ilContainer.

Definition at line 106 of file class.ilObjLearningSequence.php.

106 : bool
107 {
108 if (!parent::update()) {
109 return false;
110 }
111 $this->raiseEvent(self::E_UPDATE);
112
113 return true;
114 }

References raiseEvent().

Referenced by ilObjLearningSequenceSettingsGUI\update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateSettings()

ilObjLearningSequence::updateSettings ( ilLearningSequenceSettings  $settings)

Definition at line 306 of file class.ilObjLearningSequence.php.

306 : void
307 {
308 $this->getSettingsDB()->store($settings);
309 $this->ls_settings = $settings;
310 }

References getSettingsDB().

Referenced by cloneSettings(), and ilObjLearningSequenceSettingsGUI\update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $activation_db

ilLearningSequenceActivationDB ilObjLearningSequence::$activation_db = null
protected

Definition at line 42 of file class.ilObjLearningSequence.php.

◆ $conditions_db

ilLSPostConditionDB ilObjLearningSequence::$conditions_db = null
protected

Definition at line 35 of file class.ilObjLearningSequence.php.

Referenced by getPostConditionDB().

◆ $ctrl

ilCtrl ilObjLearningSequence::$ctrl
protected

Definition at line 48 of file class.ilObjLearningSequence.php.

◆ $di

ArrayAccess ilObjLearningSequence::$di = null
protected

Definition at line 44 of file class.ilObjLearningSequence.php.

Referenced by getDI(), and getLocalDI().

◆ $dic

ArrayAccess ilObjLearningSequence::$dic
protected

◆ $il_condition_handler

ilConditionHandler ilObjLearningSequence::$il_condition_handler
protected

Definition at line 50 of file class.ilObjLearningSequence.php.

◆ $il_news

ILIAS News Service ilObjLearningSequence::$il_news
protected

Definition at line 49 of file class.ilObjLearningSequence.php.

Referenced by announceLSOOnline().

◆ $items_db

ilLSItemsDB ilObjLearningSequence::$items_db = null
protected

Definition at line 34 of file class.ilObjLearningSequence.php.

Referenced by getLSItemsDB().

◆ $learner_progress_db

ilLearnerProgressDB ilObjLearningSequence::$learner_progress_db = null
protected

Definition at line 36 of file class.ilObjLearningSequence.php.

Referenced by getLearnerProgressDB().

◆ $local_di

ArrayAccess ilObjLearningSequence::$local_di = null
protected

Definition at line 45 of file class.ilObjLearningSequence.php.

Referenced by getLocalDI().

◆ $ls_access

ilObjLearningSequenceAccess ilObjLearningSequence::$ls_access = null
protected

Definition at line 46 of file class.ilObjLearningSequence.php.

Referenced by getLSAccess().

◆ $ls_activation

ilLearningSequenceActivation ilObjLearningSequence::$ls_activation = null
protected

Definition at line 43 of file class.ilObjLearningSequence.php.

◆ $ls_participants

ilLearningSequenceParticipants ilObjLearningSequence::$ls_participants = null
protected

Definition at line 37 of file class.ilObjLearningSequence.php.

Referenced by getLSParticipants().

◆ $ls_roles

ilLearningSequenceRoles ilObjLearningSequence::$ls_roles = null
protected

Definition at line 40 of file class.ilObjLearningSequence.php.

Referenced by getLSRoles().

◆ $ls_settings

ilLearningSequenceSettings ilObjLearningSequence::$ls_settings = null
protected

Definition at line 38 of file class.ilObjLearningSequence.php.

Referenced by getLSSettings().

◆ $ref_props

ObjectReferenceProperties ilObjLearningSequence::$ref_props = null
protected

Definition at line 52 of file class.ilObjLearningSequence.php.

Referenced by getObjectReferenceProperties().

◆ $repo_ref_props

ReferencePropertiesRepository ilObjLearningSequence::$repo_ref_props
protected

Definition at line 51 of file class.ilObjLearningSequence.php.

◆ $settings_db

ilLearningSequenceSettingsDB ilObjLearningSequence::$settings_db = null
protected

Definition at line 41 of file class.ilObjLearningSequence.php.

Referenced by getSettingsDB().

◆ $state_db

ilLSStateDB ilObjLearningSequence::$state_db = null
protected

Definition at line 39 of file class.ilObjLearningSequence.php.

Referenced by getStateDB().

◆ E_CREATE

const ilObjLearningSequence::E_CREATE = 'create'

Definition at line 30 of file class.ilObjLearningSequence.php.

◆ E_DELETE

const ilObjLearningSequence::E_DELETE = 'delete'

Definition at line 32 of file class.ilObjLearningSequence.php.

◆ E_UPDATE

const ilObjLearningSequence::E_UPDATE = 'update'

Definition at line 31 of file class.ilObjLearningSequence.php.

◆ OBJ_TYPE


The documentation for this class was generated from the following file: