ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilUnitConfigurationRepository. More...
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 345 of file class.ilUnitConfigurationRepository.php.
Referenced by loadUnits().
ilUnitConfigurationRepository::checkDeleteUnit | ( | $id, | |
$category_id = null |
|||
) |
Definition at line 493 of file class.ilUnitConfigurationRepository.php.
References $result.
Referenced by deleteUnit().
|
protected |
Definition at line 340 of file class.ilUnitConfigurationRepository.php.
Referenced by deleteUnit().
ilUnitConfigurationRepository::deleteUnit | ( | $id | ) |
Definition at line 262 of file class.ilUnitConfigurationRepository.php.
References $res, checkDeleteUnit(), and clearUnits().
ilUnitConfigurationRepository::getAdminUnitCategories | ( | ) |
Definition at line 444 of file class.ilUnitConfigurationRepository.php.
References $result.
ilUnitConfigurationRepository::getCategorizedUnits | ( | ) |
Definition at line 299 of file class.ilUnitConfigurationRepository.php.
References $categorizedUnits, $result, and getConsumerId().
ilUnitConfigurationRepository::getCategoryUnitCount | ( | $id | ) |
Definition at line 192 of file class.ilUnitConfigurationRepository.php.
References $result.
ilUnitConfigurationRepository::getConsumerId | ( | ) |
Definition at line 57 of file class.ilUnitConfigurationRepository.php.
References $consumer_id.
Referenced by getCategorizedUnits().
ilUnitConfigurationRepository::getUnit | ( | $id | ) |
int | $id |
Definition at line 390 of file class.ilUnitConfigurationRepository.php.
References loadUnits().
ilUnitConfigurationRepository::getUnitCategories | ( | ) |
Definition at line 416 of file class.ilUnitConfigurationRepository.php.
References $result.
ilUnitConfigurationRepository::getUnits | ( | ) |
Definition at line 350 of file class.ilUnitConfigurationRepository.php.
References $units, and loadUnits().
ilUnitConfigurationRepository::isUnitInUse | ( | $id | ) |
Definition at line 203 of file class.ilUnitConfigurationRepository.php.
|
protected |
Definition at line 276 of file class.ilUnitConfigurationRepository.php.
References $result, and addUnit().
Referenced by getUnit(), and getUnits().
ilUnitConfigurationRepository::loadUnitsForCategory | ( | $category | ) |
Definition at line 359 of file class.ilUnitConfigurationRepository.php.
References $result, and $units.
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().