ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilDataCollectionField. More...
Public Member Functions | |
__construct (ilDataCollectionRecord $record, ilDataCollectionField $field) | |
doUpdate () | |
Update object in database. More... | |
delete () | |
Delete record field in database. More... | |
getValue () | |
setValue ($value, $omit_parsing=false) | |
Set value for record field. More... | |
setValueFromForm (&$form) | |
getValueFromExcel ($excel, $row, $col) | |
fillFormInput (&$form) | |
getExportValue () | |
fillExcelExport ($worksheet, &$row, &$col) | |
getPlainText () | |
getHTML ($link=true) | |
getSortingValue ($link=true) | |
getSingleHTML () | |
getField () | |
getId () | |
getRecord () | |
Protected Member Functions | |
doRead () | |
Read object data from database. More... | |
doCreate () | |
Creates an Id and a database entry. More... | |
getFormInput () | |
loadValue () | |
Load the value. More... | |
Protected Attributes | |
$id | |
$field | |
$record | |
$value | |
$user | |
$ctrl | |
$db | |
$lng | |
Class ilDataCollectionField.
Definition at line 18 of file class.ilDataCollectionRecordField.php.
ilDataCollectionRecordField::__construct | ( | ilDataCollectionRecord | $record, |
ilDataCollectionField | $field | ||
) |
ilDataCollectionRecord | $record | |
ilDataCollectionField | $field |
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.
Definition at line 133 of file class.ilDataCollectionRecordField.php.
References $query.
|
protected |
Creates an Id and a database entry.
Definition at line 94 of file class.ilDataCollectionRecordField.php.
Referenced by doRead(), and doUpdate().
|
protected |
Read object data from database.
Definition at line 73 of file class.ilDataCollectionRecordField.php.
References $query, doCreate(), and loadValue().
Referenced by __construct().
ilDataCollectionRecordField::doUpdate | ( | ) |
Update object in database.
Definition at line 106 of file class.ilDataCollectionRecordField.php.
References $query, $value, and doCreate().
ilDataCollectionRecordField::fillExcelExport | ( | $worksheet, | |
& | $row, | ||
& | $col | ||
) |
$worksheet | |
$row | |
$col |
Definition at line 243 of file class.ilDataCollectionRecordField.php.
References $row, and getExportValue().
ilDataCollectionRecordField::fillFormInput | ( | & | $form | ) |
$form | ilPropertyFormGUI |
Definition at line 213 of file class.ilDataCollectionRecordField.php.
References $value, and getFormInput().
ilDataCollectionRecordField::getExportValue | ( | ) |
Definition at line 232 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by fillExcelExport(), and getPlainText().
ilDataCollectionRecordField::getField | ( | ) |
Definition at line 307 of file class.ilDataCollectionRecordField.php.
References $field.
Referenced by ilDataCollectionRatingField\__construct(), ilDataCollectionILIASRefField\__construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionNReferenceFieldGUI\buildTemplate(), ilDataCollectionRatingField\delete(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionReferenceField\getExportValue(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionRatingField\getValue(), ilDataCollectionTextField\hasProperty(), ilDataCollectionNReferenceField\loadValueSorted(), ilDataCollectionDatatype\parseHTML(), ilDataCollectionDatatype\parseSortingValue(), and ilDataCollectionDatatype\parseValue().
|
protected |
Definition at line 222 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by fillFormInput().
ilDataCollectionRecordField::getHTML | ( | $link = true | ) |
Definition at line 260 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by ilDataCollectionReferenceField\__construct(), and getSingleHTML().
ilDataCollectionRecordField::getId | ( | ) |
Definition at line 315 of file class.ilDataCollectionRecordField.php.
References $id.
Referenced by ilDataCollectionRatingField\delete(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionRatingField\getValue(), and ilDataCollectionDatatype\parseHTML().
ilDataCollectionRecordField::getPlainText | ( | ) |
Definition at line 252 of file class.ilDataCollectionRecordField.php.
References getExportValue().
ilDataCollectionRecordField::getRecord | ( | ) |
Definition at line 323 of file class.ilDataCollectionRecordField.php.
References $record.
Referenced by ilDataCollectionRatingField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionRatingField\getValue(), ilDataCollectionDatatype\parseHTML(), and ilDataCollectionDatatype\parseValue().
ilDataCollectionRecordField::getSingleHTML | ( | ) |
Definition at line 279 of file class.ilDataCollectionRecordField.php.
References getHTML().
ilDataCollectionRecordField::getSortingValue | ( | $link = true | ) |
Definition at line 269 of file class.ilDataCollectionRecordField.php.
References getValue().
ilDataCollectionRecordField::getValue | ( | ) |
Definition at line 147 of file class.ilDataCollectionRecordField.php.
References $value, and loadValue().
Referenced by ilDataCollectionReferenceField\__construct(), ilDataCollectionTextField\fillFormInput(), ilDataCollectionILIASRefField\getActionLink(), ilDataCollectionTextField\getExportValue(), ilDataCollectionILIASRefField\getExportValue(), ilDataCollectionReferenceField\getExportValue(), getExportValue(), getFormInput(), ilDataCollectionILIASRefField\getHTML(), getHTML(), ilDataCollectionILIASRefField\getLinkHTML(), ilDataCollectionReferenceField\getReferenceFromValue(), ilDataCollectionILIASRefField\getSingleHTML(), getSortingValue(), ilDataCollectionILIASRefField\getStatus(), and ilDataCollectionDatatype\parseValue().
ilDataCollectionRecordField::getValueFromExcel | ( | $excel, | |
$row, | |||
$col | |||
) |
$excel | |
$row | |
$col |
Definition at line 199 of file class.ilDataCollectionRecordField.php.
References $row, $value, and ilDataCollectionDatatype\INPUTFORMAT_DATETIME.
|
protected |
Load the value.
Definition at line 287 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 160 of file class.ilDataCollectionRecordField.php.
References $value, ilDataCollectionDatatype\INPUTFORMAT_FILE, and loadValue().
Referenced by ilDataCollectionNReferenceFieldGUI\buildTemplate(), ilDataCollectionTextField\fillFormInput(), ilDataCollectionTextField\setValueFromForm(), and setValueFromForm().
ilDataCollectionRecordField::setValueFromForm | ( | & | $form | ) |
$form | ilPropertyFormGUI |
Definition at line 182 of file class.ilDataCollectionRecordField.php.
References $value, ilDataCollectionDatatype\INPUTFORMAT_FILE, ilDataCollectionDatatype\INPUTFORMAT_MOB, and setValue().
|
protected |
Definition at line 43 of file class.ilDataCollectionRecordField.php.
|
protected |
Definition at line 47 of file class.ilDataCollectionRecordField.php.
|
protected |
Definition at line 27 of file class.ilDataCollectionRecordField.php.
Referenced by __construct(), getField(), and ilDataCollectionReferenceField\getReferenceFromValue().
|
protected |
Definition at line 23 of file class.ilDataCollectionRecordField.php.
Referenced by doCreate(), ilDataCollectionILIASRefField\getHTML(), getId(), and ilDataCollectionILIASRefField\getSingleHTML().
|
protected |
|
protected |
Definition at line 31 of file class.ilDataCollectionRecordField.php.
Referenced by __construct(), getRecord(), and ilDataCollectionReferenceField\getReferenceFromValue().
|
protected |
Definition at line 39 of file class.ilDataCollectionRecordField.php.
|
protected |
Definition at line 35 of file class.ilDataCollectionRecordField.php.
Referenced by ilDataCollectionReferenceField\__construct(), ilDataCollectionNReferenceField\doUpdate(), doUpdate(), ilDataCollectionTextField\fillExcelExport(), ilDataCollectionTextField\fillFormInput(), fillFormInput(), ilDataCollectionILIASRefField\getExportValue(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionILIASRefField\getHTML(), ilDataCollectionReferenceField\getLinkHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionReferenceField\getReferenceFromValue(), ilDataCollectionILIASRefField\getSingleHTML(), ilDataCollectionNReferenceField\getValue(), getValue(), ilDataCollectionTextField\getValueFromExcel(), ilDataCollectionReferenceField\getValueFromExcel(), getValueFromExcel(), ilDataCollectionFormulaField\setValue(), setValue(), ilDataCollectionTextField\setValueFromForm(), and setValueFromForm().