ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 () | |
getOrderNumber () | |
getPostCondition () | |
getRefId () | |
withOnline (bool $online) | |
withOrderNumber (int $order_number) | |
withPostCondition (ilLSPostCondition $post_condition) | |
Protected Attributes | |
string | $type |
string | $title |
string | $description |
string | $icon_path |
bool | $is_online |
int | $order_number |
ilLSPostCondition | $post_condition |
int | $ref_id |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Data holding class LSItem .
Definition at line 24 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 35 of file LSItem.php.
References $description, $icon_path, $is_online, $order_number, $post_condition, $ref_id, $title, and $type.
LSItem::getDescription | ( | ) |
Definition at line 65 of file LSItem.php.
References $description.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getIconPath | ( | ) |
Definition at line 70 of file LSItem.php.
References $icon_path.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getOrderNumber | ( | ) |
Definition at line 80 of file LSItem.php.
References $order_number.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getPostCondition | ( | ) |
Definition at line 85 of file LSItem.php.
References $post_condition.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getRefId | ( | ) |
Definition at line 90 of file LSItem.php.
References $ref_id.
Referenced by LSLearnerItem\__construct(), ilLearnerProgressDB\getAvailabilityFor(), ilLearnerProgressDB\getLearningProgressFor(), ilLSPlayer\getNextItem(), ilLSLearnerItemsQueries\getStateFor(), ilLSViewFactory\getViewFor(), ilLearnerProgressDB\isItemVisibleForUser(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getTitle | ( | ) |
Definition at line 60 of file LSItem.php.
References $title.
Referenced by LSLearnerItem\__construct(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::getType | ( | ) |
Definition at line 55 of file LSItem.php.
References $type.
Referenced by LSLearnerItem\__construct(), ilLSViewFactory\getViewFor(), LSItemTest\testWithOnline(), LSItemTest\testWithOrderNumber(), and LSItemTest\testWithPostCondition().
LSItem::isOnline | ( | ) |
Definition at line 75 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 95 of file LSItem.php.
Referenced by LSLearnerItemTest\testTurnedOffWithOnline(), and LSItemTest\testWithOnline().
LSItem::withOrderNumber | ( | int | $order_number | ) |
Definition at line 102 of file LSItem.php.
References $order_number.
Referenced by LSLearnerItemTest\testTurnedOffWithOrderNumber(), and LSItemTest\testWithOrderNumber().
LSItem::withPostCondition | ( | ilLSPostCondition | $post_condition | ) |
Definition at line 109 of file LSItem.php.
References $post_condition.
Referenced by LSLearnerItemTest\testTurnedOffWithPostCondition(), and LSItemTest\testWithPostCondition().
|
protected |
Definition at line 28 of file LSItem.php.
Referenced by __construct(), and getDescription().
|
protected |
Definition at line 29 of file LSItem.php.
Referenced by __construct(), and getIconPath().
|
protected |
Definition at line 30 of file LSItem.php.
Referenced by __construct(), and isOnline().
|
protected |
Definition at line 31 of file LSItem.php.
Referenced by __construct(), getOrderNumber(), and withOrderNumber().
|
protected |
Definition at line 32 of file LSItem.php.
Referenced by __construct(), getPostCondition(), and withPostCondition().
|
protected |
Definition at line 33 of file LSItem.php.
Referenced by __construct(), and getRefId().
|
protected |
Definition at line 27 of file LSItem.php.
Referenced by __construct(), and getTitle().
|
protected |
Definition at line 26 of file LSItem.php.
Referenced by __construct(), and getType().