ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Data holding class LSItem . More...
Public Member Functions | |
__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 | |
$type | |
$title | |
$description | |
$icon_path | |
$is_online | |
$order_number | |
$post_condition | |
$ref_id | |
Data holding class LSItem .
Definition at line 11 of file LSItem.php.
LSItem::__construct | ( | string | $type, |
string | $title, | ||
string | $description, | ||
string | $icon_path, | ||
bool | $is_online, | ||
int | $order_number, | ||
\ilLSPostCondition | $post_condition, | ||
int | $ref_id | ||
) |
Definition at line 53 of file LSItem.php.
References $description, $icon_path, $is_online, $order_number, $post_condition, $ref_id, $title, and $type.
LSItem::getDescription | ( | ) |
Definition at line 83 of file LSItem.php.
References $description.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getIconPath | ( | ) |
Definition at line 88 of file LSItem.php.
References $icon_path.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getOrderNumber | ( | ) |
Definition at line 105 of file LSItem.php.
References $order_number.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getPostCondition | ( | ) |
Definition at line 117 of file LSItem.php.
References $post_condition.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getRefId | ( | ) |
Definition at line 129 of file LSItem.php.
References $ref_id.
Referenced by LSLearnerItem\__construct(), ilLearnerProgressDB\getAvailabilityFor(), ilLearnerProgressDB\getLearningProgressFor(), LSLearnerItem\getLearningProgressStatus(), ilLSPlayer\getNextItem(), ilLearnerProgressDB\getStateFor(), ilLSViewFactory\getViewFor(), ilLearnerProgressDB\isItemVisibleForUser(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getTitle | ( | ) |
Definition at line 78 of file LSItem.php.
References $title.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getType | ( | ) |
Definition at line 73 of file LSItem.php.
References $type.
Referenced by LSLearnerItem\__construct(), ilLSViewFactory\getViewFor(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::isOnline | ( | ) |
Definition at line 93 of file LSItem.php.
References $is_online.
Referenced by LSLearnerItem\__construct(), ilLearnerProgressDB\isItemVisibleForUser(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::withOnline | ( | bool | $online | ) |
Definition at line 98 of file LSItem.php.
Referenced by LSLearnerItemTest\testTurnedOffWithOnline(), LSItemTest\testWithOnline(), and LSItemTest\testWrongValueInWithOnline().
LSItem::withOrderNumber | ( | int | $order_number | ) |
Definition at line 110 of file LSItem.php.
References $order_number.
Referenced by LSLearnerItemTest\testTurnedOffWithOrderNumber(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWrongValueInWithOrderNumber().
LSItem::withPostCondition | ( | ilLSPostCondition | $postcondition | ) |
Definition at line 122 of file LSItem.php.
Referenced by LSLearnerItemTest\testTurnedOffWithPostCondition(), LSItemTest\testWithPostCondition(), and LSItemTest\testWrongValueInWithPostCondition().
|
protected |
Definition at line 26 of file LSItem.php.
Referenced by __construct(), and getDescription().
|
protected |
Definition at line 31 of file LSItem.php.
Referenced by __construct(), and getIconPath().
|
protected |
Definition at line 36 of file LSItem.php.
Referenced by __construct(), and isOnline().
|
protected |
Definition at line 41 of file LSItem.php.
Referenced by __construct(), getOrderNumber(), and withOrderNumber().
|
protected |
Definition at line 46 of file LSItem.php.
Referenced by __construct(), and getPostCondition().
|
protected |
Definition at line 51 of file LSItem.php.
Referenced by __construct(), and getRefId().
|
protected |
Definition at line 21 of file LSItem.php.
Referenced by __construct(), and getTitle().
|
protected |
Definition at line 16 of file LSItem.php.
Referenced by __construct(), and getType().