ILIAS
release_8 Revision v8.19
|
LP collection base class. More...
Public Member Functions | |
__construct (int $a_obj_id, int $a_mode) | |
hasSelectableItems () | |
cloneCollection (int $a_target_id, int $a_copy_id) | |
getItems () | |
delete () | |
isAssignedEntry (int $a_item_id) | |
deactivateEntries (array $a_item_ids) | |
activateEntries (array $a_item_ids) | |
Static Public Member Functions | |
static | getInstanceByMode (int $a_obj_id, int $a_mode) |
static | getCollectionModes () |
Protected Member Functions | |
read (int $a_obj_id) | |
validateEntry (int $a_item_id) | |
addEntry (int $a_item_id) | |
deleteEntry (int $a_item_id) | |
Protected Attributes | |
int | $obj_id |
int | $mode |
array | $items = [] |
ilDBInterface | $db |
ilLogger | $logger |
LP collection base class.
Definition at line 11 of file class.ilLPCollection.php.
ilLPCollection::__construct | ( | int | $a_obj_id, |
int | $a_mode | ||
) |
Definition at line 20 of file class.ilLPCollection.php.
References $DIC, ILIAS\Repository\logger(), and read().
ilLPCollection::activateEntries | ( | array | $a_item_ids | ) |
int[] | $a_item_ids |
Definition at line 194 of file class.ilLPCollection.php.
References addEntry().
|
protected |
Definition at line 157 of file class.ilLPCollection.php.
References $query, and isAssignedEntry().
Referenced by activateEntries().
ilLPCollection::cloneCollection | ( | int | $a_target_id, |
int | $a_copy_id | ||
) |
Definition at line 87 of file class.ilLPCollection.php.
References $mode, ilCopyWizardOptions\_getInstance(), ilObject\_lookupObjId(), and ILIAS\Repository\logger().
ilLPCollection::deactivateEntries | ( | array | $a_item_ids | ) |
int[] | $a_item_ids |
Definition at line 184 of file class.ilLPCollection.php.
References deleteEntry().
ilLPCollection::delete | ( | ) |
|
protected |
Definition at line 172 of file class.ilLPCollection.php.
References $query.
Referenced by deactivateEntries(), and read().
|
static |
Definition at line 65 of file class.ilLPCollection.php.
References ilLPObjSettings\LP_MODE_COLLECTION, ilLPObjSettings\LP_MODE_COLLECTION_MANUAL, ilLPObjSettings\LP_MODE_COLLECTION_MOBS, ilLPObjSettings\LP_MODE_COLLECTION_TLT, ilLPObjSettings\LP_MODE_OBJECTIVES, and ilLPObjSettings\LP_MODE_SCORM.
Referenced by ilLPStatus\checkLPModesForObjects().
|
static |
Definition at line 35 of file class.ilLPCollection.php.
References $path, ilLPObjSettings\LP_MODE_COLLECTION, ilLPObjSettings\LP_MODE_COLLECTION_MANUAL, ilLPObjSettings\LP_MODE_COLLECTION_MOBS, ilLPObjSettings\LP_MODE_COLLECTION_TLT, ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ilLPObjSettings\LP_MODE_OBJECTIVES, and ilLPObjSettings\LP_MODE_SCORM.
Referenced by ilLearningSequenceImporter\buildLPSettings(), ilObjectLP\getCollectionInstance(), ilTrackingCollectionTest\testCollectionInstance(), and ilLearningSequenceXMLWriter\writeLPSettings().
ilLPCollection::getItems | ( | ) |
Definition at line 105 of file class.ilLPCollection.php.
References $items.
Referenced by ilLPCollectionOfRepositoryObjects\getGroupedItemsForLPStatus().
ilLPCollection::hasSelectableItems | ( | ) |
Definition at line 82 of file class.ilLPCollection.php.
ilLPCollection::isAssignedEntry | ( | int | $a_item_id | ) |
Definition at line 149 of file class.ilLPCollection.php.
Referenced by addEntry(), ilLPCollectionOfRepositoryObjects\addEntry(), ilLPCollectionOfRepositoryObjects\getPossibleItems(), ilLPCollectionOfMediaObjects\getTableGUIData(), ilLPCollectionOfLMChapters\getTableGUIData(), ilLPCollectionOfSCOs\getTableGUIData(), and ilLPCollectionOfRepositoryObjects\parseTableGUIItem().
|
protected |
Definition at line 110 of file class.ilLPCollection.php.
References $items, $res, deleteEntry(), ilDBConstants\FETCHMODE_OBJECT, and validateEntry().
Referenced by __construct().
|
protected |
Definition at line 144 of file class.ilLPCollection.php.
Referenced by read().
|
protected |
Definition at line 17 of file class.ilLPCollection.php.
|
protected |
Definition at line 15 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfRepositoryObjects\getGroupedItemsForLPStatus(), getItems(), ilLPCollectionOfMediaObjects\getPossibleItems(), ilLPCollectionOfSCOs\getPossibleItems(), ilLPCollectionOfLMChapters\getPossibleItems(), ilLPCollectionOfRepositoryObjects\getTableGUIData(), ilLPCollectionOfRepositoryObjects\getTableGUItemGroup(), read(), and ilLPCollectionOfRepositoryObjects\read().
|
protected |
Definition at line 18 of file class.ilLPCollection.php.
|
protected |
Definition at line 14 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfMediaObjects\cloneCollection(), cloneCollection(), ilLPCollectionOfSCOs\cloneCollection(), and ilLPCollectionOfRepositoryObjects\cloneCollection().
|
protected |
Definition at line 13 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfMediaObjects\getPossibleItems(), ilLPCollectionOfSCOs\getPossibleItems(), and ilLPCollectionOfLMChapters\getPossibleItems().