ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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 (int $a_item_group_ref_id=0) | |
setItemGroupId (int $a_val) | |
getItemGroupId () | |
setItemGroupRefId (int $a_val) | |
getItemGroupRefId () | |
setItems (array $a_val) | |
getItems () | |
addItem (int $a_item_ref_id) | |
delete () | |
update () | |
read () | |
getAssignableItems () | |
getValidItems () | |
cloneItems (int $a_source_id, int $a_copy_id) | |
Static Public Member Functions | |
static | _getItemsOfContainer (int $a_ref_id) |
Data Fields | |
ilTree | $tree |
ilLanguage | $lng |
int | $item_group_id = 0 |
int | $item_group_ref_id = 0 |
array | $items = array() |
Protected Attributes | |
ilDBInterface | $db |
ilObjectDefinition | $obj_def |
ilObjectDataCache | $obj_data_cache |
ilLogger | $log |
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 Item group items. This class is used to store the materials (items) that are assigned to an item group. Main table used is item_group_item
Definition at line 25 of file class.ilItemGroupItems.php.
ilItemGroupItems::__construct | ( | int | $a_item_group_ref_id = 0 | ) |
Definition at line 37 of file class.ilItemGroupItems.php.
References $DIC, ilObject\_lookupObjId(), getItemGroupId(), getItemGroupRefId(), ILIAS\Repository\lng(), read(), setItemGroupId(), and setItemGroupRefId().
|
static |
Definition at line 214 of file class.ilItemGroupItems.php.
References $DIC, $ilDB, $items, $res, ilDBConstants\FETCHMODE_OBJECT, and ilTree\getChildsByType().
Referenced by ilRepositoryExplorer\isVisible().
ilItemGroupItems::addItem | ( | int | $a_item_ref_id | ) |
Definition at line 92 of file class.ilItemGroupItems.php.
Referenced by ilObjItemGroupGUI\afterSaveCallback().
ilItemGroupItems::cloneItems | ( | int | $a_source_id, |
int | $a_copy_id | ||
) |
Definition at line 187 of file class.ilItemGroupItems.php.
References $log, ilCopyWizardOptions\_getInstance(), setItems(), update(), and ilLogger\write().
ilItemGroupItems::delete | ( | ) |
Definition at line 99 of file class.ilItemGroupItems.php.
References getItemGroupId().
ilItemGroupItems::getAssignableItems | ( | ) |
Definition at line 132 of file class.ilItemGroupItems.php.
References $obj_def, ilObjFileAccess\_isFileHidden(), getItemGroupRefId(), and ilArrayUtil\sortArray().
Referenced by getValidItems().
ilItemGroupItems::getItemGroupId | ( | ) |
Definition at line 64 of file class.ilItemGroupItems.php.
References $item_group_id.
Referenced by __construct(), delete(), and update().
ilItemGroupItems::getItemGroupRefId | ( | ) |
Definition at line 74 of file class.ilItemGroupItems.php.
References $item_group_ref_id.
Referenced by __construct(), and getAssignableItems().
ilItemGroupItems::getItems | ( | ) |
Definition at line 87 of file class.ilItemGroupItems.php.
References $items.
Referenced by ilItemGroupItemsTableGUI\__construct(), getValidItems(), and ilObjItemGroupGUI\saveItemAssignment().
ilItemGroupItems::getValidItems | ( | ) |
Definition at line 174 of file class.ilItemGroupItems.php.
References getAssignableItems(), and getItems().
ilItemGroupItems::read | ( | ) |
Definition at line 120 of file class.ilItemGroupItems.php.
Referenced by __construct().
ilItemGroupItems::setItemGroupId | ( | int | $a_val | ) |
Definition at line 59 of file class.ilItemGroupItems.php.
Referenced by __construct().
ilItemGroupItems::setItemGroupRefId | ( | int | $a_val | ) |
Definition at line 69 of file class.ilItemGroupItems.php.
Referenced by __construct().
ilItemGroupItems::setItems | ( | array | $a_val | ) |
int[] | $a_val items (array of ref ids) |
Definition at line 82 of file class.ilItemGroupItems.php.
Referenced by cloneItems().
ilItemGroupItems::update | ( | ) |
Definition at line 106 of file class.ilItemGroupItems.php.
References getItemGroupId().
Referenced by cloneItems().
|
protected |
Definition at line 27 of file class.ilItemGroupItems.php.
int ilItemGroupItems::$item_group_id = 0 |
Definition at line 33 of file class.ilItemGroupItems.php.
Referenced by getItemGroupId().
int ilItemGroupItems::$item_group_ref_id = 0 |
Definition at line 34 of file class.ilItemGroupItems.php.
Referenced by getItemGroupRefId().
array ilItemGroupItems::$items = array() |
Definition at line 35 of file class.ilItemGroupItems.php.
Referenced by _getItemsOfContainer(), and getItems().
ilLanguage ilItemGroupItems::$lng |
Definition at line 32 of file class.ilItemGroupItems.php.
|
protected |
Definition at line 30 of file class.ilItemGroupItems.php.
Referenced by cloneItems().
|
protected |
Definition at line 29 of file class.ilItemGroupItems.php.
|
protected |
Definition at line 28 of file class.ilItemGroupItems.php.
Referenced by getAssignableItems().
ilTree ilItemGroupItems::$tree |
Definition at line 31 of file class.ilItemGroupItems.php.