ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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 25 of file class.ilLPCollection.php.
ilLPCollection::__construct | ( | int | $a_obj_id, |
int | $a_mode | ||
) |
Definition at line 34 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 208 of file class.ilLPCollection.php.
References addEntry().
|
protected |
Definition at line 171 of file class.ilLPCollection.php.
References isAssignedEntry().
Referenced by activateEntries().
ilLPCollection::cloneCollection | ( | int | $a_target_id, |
int | $a_copy_id | ||
) |
Definition at line 101 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 198 of file class.ilLPCollection.php.
References deleteEntry().
ilLPCollection::delete | ( | ) |
Definition at line 141 of file class.ilLPCollection.php.
|
protected |
Definition at line 186 of file class.ilLPCollection.php.
Referenced by deactivateEntries(), and read().
|
static |
Definition at line 79 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 49 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, ilLPObjSettings\LP_MODE_SCORM, and null.
Referenced by ilLearningSequenceImporter\buildLPSettings(), ilObjectLP\getCollectionInstance(), ilTrackingCollectionTest\testCollectionInstance(), and ilLearningSequenceXMLWriter\writeLPSettings().
ilLPCollection::getItems | ( | ) |
Definition at line 119 of file class.ilLPCollection.php.
References $items.
Referenced by ilLPCollectionOfRepositoryObjects\getGroupedItemsForLPStatus().
ilLPCollection::hasSelectableItems | ( | ) |
Definition at line 96 of file class.ilLPCollection.php.
ilLPCollection::isAssignedEntry | ( | int | $a_item_id | ) |
Definition at line 163 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 124 of file class.ilLPCollection.php.
References $items, $res, deleteEntry(), ilDBConstants\FETCHMODE_OBJECT, and validateEntry().
Referenced by __construct().
|
protected |
Definition at line 158 of file class.ilLPCollection.php.
Referenced by read().
|
protected |
Definition at line 31 of file class.ilLPCollection.php.
|
protected |
Definition at line 29 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 32 of file class.ilLPCollection.php.
|
protected |
Definition at line 28 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfMediaObjects\cloneCollection(), cloneCollection(), ilLPCollectionOfSCOs\cloneCollection(), and ilLPCollectionOfRepositoryObjects\cloneCollection().
|
protected |
Definition at line 27 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfMediaObjects\getPossibleItems(), ilLPCollectionOfSCOs\getPossibleItems(), and ilLPCollectionOfLMChapters\getPossibleItems().