ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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) | |
Static Public Attributes | |
static | $result_buffer |
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 379 of file class.ilUnitConfigurationRepository.php.
Referenced by loadUnits().
ilUnitConfigurationRepository::checkDeleteUnit | ( | $id, | |
$category_id = null |
|||
) |
Definition at line 524 of file class.ilUnitConfigurationRepository.php.
References $DIC, $i, $id, $ilDB, $query, $res, $result, $row, $units, clearUnits(), deleteUnit(), assFormulaQuestionUnit\getBaseUnit(), assFormulaQuestionUnitCategory\getCategory(), assFormulaQuestionUnit\getCategory(), getConsumerId(), assFormulaQuestionUnit\getFactor(), assFormulaQuestionUnitCategory\getId(), assFormulaQuestionUnit\getId(), assFormulaQuestionUnit\getSequence(), assFormulaQuestionUnit\getUnit(), assFormulaQuestionUnitCategory\initFormArray(), assFormulaQuestionUnit\setBaseUnit(), assFormulaQuestionUnit\setFactor(), assFormulaQuestionUnitCategory\setId(), assFormulaQuestionUnit\setId(), and assFormulaQuestionUnit\setSequence().
Referenced by deleteUnit(), and isUnitInUse().
|
protected |
Definition at line 373 of file class.ilUnitConfigurationRepository.php.
Referenced by checkDeleteUnit(), and deleteUnit().
ilUnitConfigurationRepository::deleteUnit | ( | $id | ) |
Definition at line 281 of file class.ilUnitConfigurationRepository.php.
References $DIC, $id, $ilDB, $res, checkDeleteUnit(), and clearUnits().
Referenced by checkDeleteUnit().
ilUnitConfigurationRepository::getAdminUnitCategories | ( | ) |
Definition at line 471 of file class.ilUnitConfigurationRepository.php.
References $DIC, $ilDB, $result, $row, and getConsumerId().
ilUnitConfigurationRepository::getCategorizedUnits | ( | ) |
Definition at line 332 of file class.ilUnitConfigurationRepository.php.
References $categorizedUnits, $DIC, $ilDB, $result, $row, and getConsumerId().
ilUnitConfigurationRepository::getCategoryUnitCount | ( | $id | ) |
ilUnitConfigurationRepository::getConsumerId | ( | ) |
Definition at line 58 of file class.ilUnitConfigurationRepository.php.
References $consumer_id, $DIC, $i, $ilDB, $res, $row, and $units.
Referenced by checkDeleteUnit(), getAdminUnitCategories(), and getCategorizedUnits().
ilUnitConfigurationRepository::getUnit | ( | $id | ) |
int | $id |
Definition at line 423 of file class.ilUnitConfigurationRepository.php.
References $id, and loadUnits().
ilUnitConfigurationRepository::getUnitCategories | ( | ) |
ilUnitConfigurationRepository::getUnits | ( | ) |
Definition at line 384 of file class.ilUnitConfigurationRepository.php.
References $units, and loadUnits().
ilUnitConfigurationRepository::isUnitInUse | ( | $id | ) |
Definition at line 220 of file class.ilUnitConfigurationRepository.php.
References $DIC, $id, $ilDB, $res, $row, and checkDeleteUnit().
|
protected |
Definition at line 304 of file class.ilUnitConfigurationRepository.php.
References $DIC, $ilDB, $result, $row, $units, and addUnit().
Referenced by getUnit(), and getUnits().
ilUnitConfigurationRepository::loadUnitsForCategory | ( | $category | ) |
ilUnitConfigurationRepository::setConsumerId | ( | $consumer_id | ) |
int | $context_id |
Definition at line 50 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.
|
static |
Definition at line 302 of file class.ilUnitConfigurationRepository.php.
|
private |
Definition at line 25 of file class.ilUnitConfigurationRepository.php.
Referenced by checkDeleteUnit(), getConsumerId(), getUnits(), loadUnits(), and loadUnitsForCategory().