Add learning progress and availability information to the LSItem.
More...
|
| __construct (int $usr_id, int $learning_progress_status, int $availability_status, LSItem $ls_item) |
|
| getUserId () |
|
| getLearningProgressStatus () |
|
| getAvailability () |
|
| withPostCondition (ilLSPostCondition $postcondition) |
|
| withOrderNumber (int $position) |
|
| withOnline (bool $online) |
|
| __construct (string $type, string $title, string $description, string $icon_path, bool $is_online, int $order_number, \ilLSPostCondition $post_condition, int $ref_id) |
|
| getType () |
|
| getTitle () |
|
| getDescription () |
|
| getIconPath () |
|
| isOnline () |
|
| withOnline (bool $online) |
|
| getOrderNumber () |
|
| withOrderNumber (int $order_number) |
|
| getPostCondition () |
|
| withPostCondition (ilLSPostCondition $postcondition) |
|
| getRefId () |
|
◆ __construct()
LSLearnerItem::__construct |
( |
int |
$usr_id, |
|
|
int |
$learning_progress_status, |
|
|
int |
$availability_status, |
|
|
LSItem |
$ls_item |
|
) |
| |
Definition at line 28 of file LSLearnerItem.php.
References $availability_status, $learning_progress_status, $usr_id, ILIAS\GlobalScreen\Provider\__construct(), LSItem\getDescription(), LSItem\getIconPath(), LSItem\getOrderNumber(), LSItem\getPostCondition(), LSItem\getRefId(), LSItem\getTitle(), LSItem\getType(), and LSItem\isOnline().
__construct(Container $dic, ilPlugin $plugin)
$learning_progress_status
◆ getAvailability()
LSLearnerItem::getAvailability |
( |
| ) |
|
◆ getLearningProgressStatus()
LSLearnerItem::getLearningProgressStatus |
( |
| ) |
|
◆ getUserId()
LSLearnerItem::getUserId |
( |
| ) |
|
◆ withOnline()
LSLearnerItem::withOnline |
( |
bool |
$online | ) |
|
Definition at line 74 of file LSLearnerItem.php.
76 throw new \LogicException(
'keep this item receptive only');
Data holding class LSItem .
◆ withOrderNumber()
LSLearnerItem::withOrderNumber |
( |
int |
$position | ) |
|
Definition at line 69 of file LSLearnerItem.php.
71 throw new \LogicException(
'keep this item receptive only');
Data holding class LSItem .
◆ withPostCondition()
Definition at line 64 of file LSLearnerItem.php.
66 throw new \LogicException(
'keep this item receptive only');
Data holding class LSItem .
◆ $availability_status
LSLearnerItem::$availability_status |
|
protected |
◆ $learning_progress_status
LSLearnerItem::$learning_progress_status |
|
protected |
◆ $usr_id
The documentation for this class was generated from the following file: