ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDclBaseFieldModel. More...
Public Member Functions | |
__construct (ilDclBaseRecordModel $record, ilDclBaseFieldModel $field) | |
addHiddenItemsToConfirmation (ilConfirmationGUI &$confirmation) | |
setValue ($value, $omit_parsing=false) | |
Set value for record field. More... | |
doUpdate () | |
doRead () | |
getExportValue () | |
return Export values More... | |
getValue () | |
delete () | |
delete More... | |
Public Member Functions inherited from ilDclBaseRecordFieldModel | |
__construct (ilDclBaseRecordModel $record, ilDclBaseFieldModel $field) | |
doCreate () | |
Creates an Id and a database entry. More... | |
doUpdate () | |
Update object in database. More... | |
delete () | |
Delete record field in database. More... | |
getValue () | |
getValueForRepresentation () | |
serializeData ($value) | |
Serialize data before storing to db. More... | |
deserializeData ($value) | |
Deserialize data before applying to field. More... | |
setValue ($value, $omit_parsing=false) | |
Set value for record field. More... | |
setValueFromForm ($form) | |
getFormulaValue () | |
parseExportValue ($value) | |
Function to parse incoming data from form input value $value. More... | |
getValueFromExcel ($excel, $row, $col) | |
parseValue ($value) | |
Function to parse incoming data from form input value $value. More... | |
getExportValue () | |
fillExcelExport (ilExcel $worksheet, &$row, &$col) | |
getPlainText () | |
getSortingValue ($link=true) | |
addHiddenItemsToConfirmation (ilConfirmationGUI &$confirmation) | |
parseSortingValue ($value, $link=true) | |
Returns sortable value for the specific field-types. More... | |
cloneStructure (ilDclBaseRecordFieldModel $old_record_field) | |
afterClone () | |
getField () | |
getId () | |
getRecord () | |
getRecordRepresentation () | |
setRecordRepresentation ($record_representation) | |
getFieldRepresentation () | |
setFieldRepresentation ($field_representation) | |
Protected Member Functions | |
loadValue () | |
override the loadValue. More... | |
Protected Member Functions inherited from ilDclBaseRecordFieldModel | |
doRead () | |
Read object data from database. More... | |
loadValue () | |
Load the value. More... | |
Protected Attributes | |
$rated | |
$dcl_obj_id | |
Protected Attributes inherited from ilDclBaseRecordFieldModel | |
$id | |
$field | |
$record | |
$record_representation | |
$field_representation | |
$value | |
$user | |
$ctrl | |
$db | |
$lng | |
Class ilDclBaseFieldModel.
Definition at line 16 of file class.ilDclRatingRecordFieldModel.php.
ilDclRatingRecordFieldModel::__construct | ( | ilDclBaseRecordModel | $record, |
ilDclBaseFieldModel | $field | ||
) |
Definition at line 29 of file class.ilDclRatingRecordFieldModel.php.
References ilDclBaseRecordFieldModel\getField(), and ilDclCache\getTableCache().
ilDclRatingRecordFieldModel::addHiddenItemsToConfirmation | ( | ilConfirmationGUI & | $confirmation | ) |
Definition at line 38 of file class.ilDclRatingRecordFieldModel.php.
ilDclRatingRecordFieldModel::delete | ( | ) |
delete
Definition at line 102 of file class.ilDclRatingRecordFieldModel.php.
References $DIC, $ilDB, ilDclBaseRecordFieldModel\getField(), and ilDclBaseRecordFieldModel\getId().
ilDclRatingRecordFieldModel::doRead | ( | ) |
Definition at line 71 of file class.ilDclRatingRecordFieldModel.php.
ilDclRatingRecordFieldModel::doUpdate | ( | ) |
Definition at line 65 of file class.ilDclRatingRecordFieldModel.php.
ilDclRatingRecordFieldModel::getExportValue | ( | ) |
return Export values
Definition at line 82 of file class.ilDclRatingRecordFieldModel.php.
References ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), ilRating\getOverallRatingForObject(), and ilDclBaseRecordFieldModel\getRecord().
ilDclRatingRecordFieldModel::getValue | ( | ) |
Definition at line 93 of file class.ilDclRatingRecordFieldModel.php.
References ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), ilRating\getOverallRatingForObject(), and ilDclBaseRecordFieldModel\getRecord().
|
protected |
override the loadValue.
Definition at line 47 of file class.ilDclRatingRecordFieldModel.php.
ilDclRatingRecordFieldModel::setValue | ( | $value, | |
$omit_parsing = false |
|||
) |
Set value for record field.
mixed | $value | |
bool | $omit_parsing | If true, does not parse the value and stores it in the given format |
Definition at line 59 of file class.ilDclRatingRecordFieldModel.php.
|
protected |
Definition at line 26 of file class.ilDclRatingRecordFieldModel.php.
|
protected |
Definition at line 22 of file class.ilDclRatingRecordFieldModel.php.