|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Add learning progress and availability information to the LSItem. More...
Inheritance diagram for LSLearnerItem:
Collaboration diagram for LSLearnerItem:Public Member Functions | |
| __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) | |
Public Member Functions inherited from LSItem | |
| __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 () | |
Protected Attributes | |
| $usr_id | |
| $learning_progress_status | |
| $availability_status | |
Protected Attributes inherited from LSItem | |
| $type | |
| $title | |
| $description | |
| $icon_path | |
| $is_online | |
| $order_number | |
| $post_condition | |
| $ref_id | |
Add learning progress and availability information to the LSItem.
Definition at line 11 of file LSLearnerItem.php.
| 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().
Here is the call graph for this function:| LSLearnerItem::getAvailability | ( | ) |
Definition at line 59 of file LSLearnerItem.php.
References $availability_status.
| LSLearnerItem::getLearningProgressStatus | ( | ) |
Definition at line 54 of file LSLearnerItem.php.
References $learning_progress_status.
Referenced by ilLSPlayer\getCurrentItemLearningProgress().
Here is the caller graph for this function:| LSLearnerItem::getUserId | ( | ) |
Definition at line 49 of file LSLearnerItem.php.
References $usr_id.
| LSLearnerItem::withOnline | ( | bool | $online | ) |
Reimplemented from LSItem.
Definition at line 74 of file LSLearnerItem.php.
| LSLearnerItem::withOrderNumber | ( | int | $position | ) |
Reimplemented from LSItem.
Definition at line 69 of file LSLearnerItem.php.
| LSLearnerItem::withPostCondition | ( | ilLSPostCondition | $postcondition | ) |
Reimplemented from LSItem.
Definition at line 64 of file LSLearnerItem.php.
|
protected |
Definition at line 26 of file LSLearnerItem.php.
Referenced by __construct(), and getAvailability().
|
protected |
Definition at line 21 of file LSLearnerItem.php.
Referenced by __construct(), and getLearningProgressStatus().
|
protected |
Definition at line 16 of file LSLearnerItem.php.
Referenced by __construct(), and getUserId().