|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilUnitConfigurationRepository. More...
Collaboration diagram for ilUnitConfigurationRepository:Public Member Functions | |
| setConsumerId ($consumer_id) | |
| getConsumerId () | |
| getCategoryUnitCount ($id) | |
| isUnitInUse ($id) | |
| deleteUnit ($id) | |
| getCategorizedUnits () | |
| getUnits () | |
| loadUnitsForCategory ($category) | |
| getUnit ($id) | |
| getUnitCategories () | |
| getAdminUnitCategories () | |
| checkDeleteUnit ($id, $category_id=null) | |
Protected Member Functions | |
| loadUnits () | |
| clearUnits () | |
| addUnit ($unit) | |
Protected Attributes | |
| $consumer_id = 0 | |
| $lng | |
Private Attributes | |
| $units = array() | |
| $categorizedUnits = array() | |
Class ilUnitConfigurationRepository.
Definition at line 10 of file class.ilUnitConfigurationRepository.php.
|
protected |
Definition at line 359 of file class.ilUnitConfigurationRepository.php.
Referenced by loadUnits().
Here is the caller graph for this function:| ilUnitConfigurationRepository::checkDeleteUnit | ( | $id, | |
$category_id = null |
|||
| ) |
Definition at line 499 of file class.ilUnitConfigurationRepository.php.
References $id, $ilDB, and $result.
Referenced by deleteUnit().
Here is the caller graph for this function:
|
protected |
Definition at line 354 of file class.ilUnitConfigurationRepository.php.
Referenced by deleteUnit().
Here is the caller graph for this function:| ilUnitConfigurationRepository::deleteUnit | ( | $id | ) |
Definition at line 273 of file class.ilUnitConfigurationRepository.php.
References $id, $ilDB, $res, checkDeleteUnit(), and clearUnits().
Here is the call graph for this function:| ilUnitConfigurationRepository::getAdminUnitCategories | ( | ) |
Definition at line 449 of file class.ilUnitConfigurationRepository.php.
| ilUnitConfigurationRepository::getCategorizedUnits | ( | ) |
Definition at line 314 of file class.ilUnitConfigurationRepository.php.
References $categorizedUnits, $ilDB, $result, $row, and getConsumerId().
Here is the call graph for this function:| ilUnitConfigurationRepository::getCategoryUnitCount | ( | $id | ) |
Definition at line 202 of file class.ilUnitConfigurationRepository.php.
| ilUnitConfigurationRepository::getConsumerId | ( | ) |
Definition at line 57 of file class.ilUnitConfigurationRepository.php.
References $consumer_id.
Referenced by getCategorizedUnits().
Here is the caller graph for this function:| ilUnitConfigurationRepository::getUnit | ( | $id | ) |
| int | $id |
Definition at line 402 of file class.ilUnitConfigurationRepository.php.
References $id, and loadUnits().
Here is the call graph for this function:| ilUnitConfigurationRepository::getUnitCategories | ( | ) |
Definition at line 422 of file class.ilUnitConfigurationRepository.php.
| ilUnitConfigurationRepository::getUnits | ( | ) |
Definition at line 364 of file class.ilUnitConfigurationRepository.php.
References $units, and loadUnits().
Here is the call graph for this function:| ilUnitConfigurationRepository::isUnitInUse | ( | $id | ) |
Definition at line 214 of file class.ilUnitConfigurationRepository.php.
|
protected |
Definition at line 292 of file class.ilUnitConfigurationRepository.php.
References $ilDB, $result, $row, and addUnit().
Referenced by getUnit(), and getUnits().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUnitConfigurationRepository::loadUnitsForCategory | ( | $category | ) |
Definition at line 372 of file class.ilUnitConfigurationRepository.php.
| ilUnitConfigurationRepository::setConsumerId | ( | $consumer_id | ) |
| int | $context_id |
Definition at line 49 of file class.ilUnitConfigurationRepository.php.
References $consumer_id.
|
private |
Definition at line 30 of file class.ilUnitConfigurationRepository.php.
Referenced by getCategorizedUnits().
|
protected |
Definition at line 15 of file class.ilUnitConfigurationRepository.php.
Referenced by getConsumerId(), and setConsumerId().
|
protected |
Definition at line 20 of file class.ilUnitConfigurationRepository.php.
|
private |
Definition at line 25 of file class.ilUnitConfigurationRepository.php.
Referenced by getUnits(), and loadUnitsForCategory().