ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilDataCollectionField. More...
Public Member Functions | |
__construct (ilDataCollectionRecord $record, ilDataCollectionField $field) | |
doUpdate () | |
Update object in database. | |
delete () | |
Delete record field in database. | |
getValue () | |
setValue ($value, $omit_parsing=false) | |
Set value for record field. | |
getFormInput () | |
getExportValue () | |
getPlainText () | |
getHTML ($link=true) | |
getSortingValue ($link=true) | |
getSingleHTML () | |
getField () | |
getId () | |
getRecord () |
Protected Member Functions | |
doRead () | |
Read object data from database. | |
doCreate () | |
Create object in database. | |
loadValue () | |
Load the value. |
Protected Attributes | |
$id | |
$field | |
$record | |
$value | |
$lng | |
$user | |
$ctrl | |
$db |
Class ilDataCollectionField.
Definition at line 18 of file class.ilDataCollectionRecordField.php.
ilDataCollectionRecordField::__construct | ( | ilDataCollectionRecord | $record, |
ilDataCollectionField | $field | ||
) |
ilDataCollectionRecord | $record | |
ilDataCollectionField | $field |
Reimplemented in ilDataCollectionReferenceField, ilDataCollectionFormulaField, ilDataCollectionILIASRefField, and ilDataCollectionRatingField.
Definition at line 58 of file class.ilDataCollectionRecordField.php.
References $field, $ilCtrl, $ilDB, $ilUser, $lng, $record, and doRead().
ilDataCollectionRecordField::delete | ( | ) |
Delete record field in database.
Reimplemented in ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 126 of file class.ilDataCollectionRecordField.php.
References $query.
|
protected |
Create object in database.
Definition at line 90 of file class.ilDataCollectionRecordField.php.
Referenced by doRead().
|
protected |
Read object data from database.
Reimplemented in ilDataCollectionFormulaField, and ilDataCollectionRatingField.
Definition at line 73 of file class.ilDataCollectionRecordField.php.
References $query, doCreate(), and loadValue().
Referenced by __construct().
ilDataCollectionRecordField::doUpdate | ( | ) |
Update object in database.
Reimplemented in ilDataCollectionFormulaField, ilDataCollectionRatingField, and ilDataCollectionNReferenceField.
Definition at line 102 of file class.ilDataCollectionRecordField.php.
References $query, and $value.
ilDataCollectionRecordField::getExportValue | ( | ) |
Reimplemented in ilDataCollectionNReferenceField, ilDataCollectionReferenceField, ilDataCollectionFormulaField, ilDataCollectionILIASRefField, and ilDataCollectionRatingField.
Definition at line 186 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by getPlainText().
ilDataCollectionRecordField::getField | ( | ) |
Definition at line 252 of file class.ilDataCollectionRecordField.php.
References $field.
Referenced by ilDataCollectionRatingField\__construct(), ilDataCollectionILIASRefField\__construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionRatingField\delete(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionReferenceField\getExportValue(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionRatingField\getValue(), ilDataCollectionDatatype\parseFormInput(), ilDataCollectionDatatype\parseHTML(), ilDataCollectionDatatype\parseSortingValue(), and ilDataCollectionDatatype\parseValue().
ilDataCollectionRecordField::getFormInput | ( | ) |
Reimplemented in ilDataCollectionFormulaField, and ilDataCollectionRatingField.
Definition at line 176 of file class.ilDataCollectionRecordField.php.
References getValue().
ilDataCollectionRecordField::getHTML | ( | $link = true | ) |
Definition at line 204 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by getSingleHTML().
ilDataCollectionRecordField::getId | ( | ) |
Definition at line 260 of file class.ilDataCollectionRecordField.php.
References $id.
Referenced by ilDataCollectionRatingField\delete(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionNReferenceField\getHTML(), ilDataCollectionRatingField\getValue(), and ilDataCollectionDatatype\parseHTML().
ilDataCollectionRecordField::getPlainText | ( | ) |
Definition at line 196 of file class.ilDataCollectionRecordField.php.
References getExportValue().
ilDataCollectionRecordField::getRecord | ( | ) |
Definition at line 268 of file class.ilDataCollectionRecordField.php.
References $record.
Referenced by ilDataCollectionRatingField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionNReferenceField\getHTML(), ilDataCollectionRatingField\getValue(), ilDataCollectionDatatype\parseHTML(), and ilDataCollectionDatatype\parseValue().
ilDataCollectionRecordField::getSingleHTML | ( | ) |
Definition at line 224 of file class.ilDataCollectionRecordField.php.
References getHTML().
ilDataCollectionRecordField::getSortingValue | ( | $link = true | ) |
Definition at line 213 of file class.ilDataCollectionRecordField.php.
References getValue().
ilDataCollectionRecordField::getValue | ( | ) |
Reimplemented in ilDataCollectionFormulaField, and ilDataCollectionRatingField.
Definition at line 140 of file class.ilDataCollectionRecordField.php.
References $value, and loadValue().
Referenced by ilDataCollectionNReferenceField\doUpdate(), ilDataCollectionILIASRefField\getActionLink(), ilDataCollectionILIASRefField\getExportValue(), ilDataCollectionReferenceField\getExportValue(), getExportValue(), ilDataCollectionNReferenceField\getExportValue(), getFormInput(), ilDataCollectionILIASRefField\getHTML(), ilDataCollectionNReferenceField\getHTML(), getHTML(), ilDataCollectionILIASRefField\getLinkHTML(), ilDataCollectionILIASRefField\getSingleHTML(), ilDataCollectionNReferenceField\getSingleHTML(), getSortingValue(), ilDataCollectionILIASRefField\getStatus(), and ilDataCollectionDatatype\parseValue().
|
protected |
Load the value.
Reimplemented in ilDataCollectionFormulaField, ilDataCollectionNReferenceField, and ilDataCollectionRatingField.
Definition at line 232 of file class.ilDataCollectionRecordField.php.
References $query, and ilDataCollectionDatatype\INPUTFORMAT_RATING.
Referenced by doRead(), getValue(), and setValue().
ilDataCollectionRecordField::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 153 of file class.ilDataCollectionRecordField.php.
References $value, ilDataCollectionDatatype\INPUTFORMAT_FILE, and loadValue().
|
protected |
Definition at line 47 of file class.ilDataCollectionRecordField.php.
|
protected |
Definition at line 51 of file class.ilDataCollectionRecordField.php.
|
protected |
Definition at line 27 of file class.ilDataCollectionRecordField.php.
Referenced by __construct(), and getField().
|
protected |
Definition at line 23 of file class.ilDataCollectionRecordField.php.
Referenced by doCreate(), ilDataCollectionILIASRefField\getHTML(), getId(), and ilDataCollectionILIASRefField\getSingleHTML().
|
protected |
Definition at line 39 of file class.ilDataCollectionRecordField.php.
Referenced by __construct(), ilDataCollectionRatingField\getFormInput(), and ilDataCollectionILIASRefField\getLinkHTML().
|
protected |
Definition at line 31 of file class.ilDataCollectionRecordField.php.
Referenced by __construct(), and getRecord().
|
protected |
Definition at line 43 of file class.ilDataCollectionRecordField.php.
|
protected |
Definition at line 35 of file class.ilDataCollectionRecordField.php.
Referenced by ilDataCollectionNReferenceField\buildTemplate(), ilDataCollectionNReferenceField\doUpdate(), doUpdate(), ilDataCollectionILIASRefField\getExportValue(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionILIASRefField\getHTML(), ilDataCollectionNReferenceField\getHTML(), ilDataCollectionReferenceField\getLinkHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionILIASRefField\getSingleHTML(), getValue(), ilDataCollectionFormulaField\setValue(), and setValue().