|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
LP collection base class. More...
Inheritance diagram for ilLPCollection:
Collaboration diagram for ilLPCollection: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 | ||
| ) |
Reimplemented in ilLPCollectionOfRepositoryObjects.
Definition at line 34 of file class.ilLPCollection.php.
References $DIC, ILIAS\Repository\logger(), and read().
Here is the call graph for this function:| ilLPCollection::activateEntries | ( | array | $a_item_ids | ) |
| int[] | $a_item_ids |
Reimplemented in ilLPCollectionOfRepositoryObjects.
Definition at line 208 of file class.ilLPCollection.php.
|
protected |
Reimplemented in ilLPCollectionOfRepositoryObjects.
Definition at line 171 of file class.ilLPCollection.php.
| ilLPCollection::cloneCollection | ( | int | $a_target_id, |
| int | $a_copy_id | ||
| ) |
Reimplemented in ilLPCollectionOfRepositoryObjects, and ilLPCollectionOfSCOs.
Definition at line 101 of file class.ilLPCollection.php.
References ilCopyWizardOptions\_getInstance(), ilObject\_lookupObjId(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilLPCollection::deactivateEntries | ( | array | $a_item_ids | ) |
| int[] | $a_item_ids |
Reimplemented in ilLPCollectionOfRepositoryObjects.
Definition at line 198 of file class.ilLPCollection.php.
| ilLPCollection::delete | ( | ) |
Definition at line 141 of file class.ilLPCollection.php.
|
protected |
Reimplemented in ilLPCollectionOfRepositoryObjects.
Definition at line 186 of file class.ilLPCollection.php.
|
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.
|
static |
Definition at line 49 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_MANUAL_BY_TUTOR, ilLPObjSettings\LP_MODE_OBJECTIVES, and ilLPObjSettings\LP_MODE_SCORM.
Referenced by ilLearningSequenceImporter\buildLPSettings(), ilObjectLP\getCollectionInstance(), ilTrackingCollectionTest\testCollectionInstance(), and ilLearningSequenceXMLWriter\writeLPSettings().
Here is the caller graph for this function:| ilLPCollection::getItems | ( | ) |
Definition at line 119 of file class.ilLPCollection.php.
| ilLPCollection::hasSelectableItems | ( | ) |
Reimplemented in ilLPCollectionOfObjectives.
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 ilLPCollectionOfRepositoryObjects\getPossibleItems(), ilLPCollectionOfLMChapters\getTableGUIData(), ilLPCollectionOfMediaObjects\getTableGUIData(), and ilLPCollectionOfSCOs\getTableGUIData().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilLPCollectionOfObjectives, and ilLPCollectionOfRepositoryObjects.
Definition at line 124 of file class.ilLPCollection.php.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilLPCollectionOfRepositoryObjects.
Definition at line 158 of file class.ilLPCollection.php.
|
protected |
Definition at line 31 of file class.ilLPCollection.php.
|
protected |
Definition at line 29 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfMediaObjects\getPossibleItems(), ilLPCollectionOfSCOs\getPossibleItems(), and ilLPCollectionOfLMChapters\getPossibleItems().
|
protected |
Definition at line 32 of file class.ilLPCollection.php.
|
protected |
Definition at line 28 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfMediaObjects\cloneCollection().
|
protected |
Definition at line 27 of file class.ilLPCollection.php.
Referenced by ilLPCollectionOfMediaObjects\getPossibleItems(), ilLPCollectionOfSCOs\getPossibleItems(), and ilLPCollectionOfLMChapters\getPossibleItems().