49 $this->lng =
$DIC[
'lng'];
51 $this->
user = $DIC[
'ilUser'];
52 $this->access =
$DIC[
'ilAccess'];
53 $this->factory =
$DIC[
'ui.factory'];
54 $this->renderer =
$DIC[
'ui.renderer'];
62 if (is_null($this->assignments)) {
84 if (!$this->access->checkAccess(
'read',
'', $lso_ref_id)) {
95 if (count($items) == 0) {
99 $std_list = $this->factory->panel()->listing()->standard($this->lng->txt(
'dash_learningsequences'), array(
100 $this->factory->item()->group(
106 return $this->renderer->render($std_list);
111 $ref_id = (int) $lso_obj->
getRefId();
116 return $this->factory->item()->standard($link)
119 $this->lng->txt(
'status') => $this->getOnlineStatus($ref_id)
122 ->withLeadIcon($this->
getIcon($title))
131 if (count($ls_lp_items) == 0) {
135 foreach ($ls_lp_items as $item) {
147 return $this->factory->button()->shy($title, $link);
163 if (is_null($this->icon)) {
164 $this->icon = $this->factory->symbol()->icon()->standard(
An exception for terminatinating execution or to throw for unit testing.
Personal Desktop-Presentation for the Learningsequence.
getOnlineStatus(int $ref_id)
getLsoItem(ilObjLearningSequence $lso_obj)
isRelevantLso(ilObjLearningSequence $obj)
getLinkedTitle(int $ref_id, string $title)
const LP_STATUS_IN_PROGRESS_NUM
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")
static isOffline($ref_id)
Class ilObjLearningSequence.
getLSLearnerItems(int $usr_id)
Get a list of LSLearnerItems.
static getInstanceByRefId(int $ref_id)
getRefId()
get reference id @access public
static _getAllReferences($a_id)
get all reference ids of object
getTitle()
get object title @access public
static _getMembershipByType($a_usr_id, $a_type, $a_only_member_role=false)
get membership by type Get course or group membership
Class ChatMainBarProvider \MainMenu\Provider.