|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilDataCollectionField. More...
Inheritance diagram for ilDataCollectionRecordField:
Collaboration diagram for ilDataCollectionRecordField: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 |
Reimplemented in ilDataCollectionILIASRefField, ilDataCollectionRatingField, ilDataCollectionReferenceField, and ilDataCollectionFormulaField.
Definition at line 58 of file class.ilDataCollectionRecordField.php.
References $field, $ilCtrl, $ilDB, $ilUser, $lng, $record, and doRead().
Here is the call graph for this function:| ilDataCollectionRecordField::delete | ( | ) |
Delete record field in database.
Reimplemented in ilDataCollectionRatingField, and ilDataCollectionFormulaField.
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().
Here is the caller graph for this function:
|
protected |
Read object data from database.
Reimplemented in ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 73 of file class.ilDataCollectionRecordField.php.
References $query, doCreate(), and loadValue().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordField::doUpdate | ( | ) |
Update object in database.
Reimplemented in ilDataCollectionNReferenceField, ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 106 of file class.ilDataCollectionRecordField.php.
References $query, and doCreate().
Here is the call graph for this function:| ilDataCollectionRecordField::fillExcelExport | ( | $worksheet, | |
| & | $row, | ||
| & | $col | ||
| ) |
| $worksheet | |
| $row | |
| $col |
Reimplemented in ilDataCollectionTextField.
Definition at line 243 of file class.ilDataCollectionRecordField.php.
References $row, and getExportValue().
Here is the call graph for this function:| ilDataCollectionRecordField::fillFormInput | ( | & | $form | ) |
| $form | ilPropertyFormGUI |
Reimplemented in ilDataCollectionTextField.
Definition at line 213 of file class.ilDataCollectionRecordField.php.
References $value, and getFormInput().
Here is the call graph for this function:| ilDataCollectionRecordField::getExportValue | ( | ) |
Reimplemented in ilDataCollectionILIASRefField, ilDataCollectionNReferenceField, ilDataCollectionRatingField, ilDataCollectionReferenceField, ilDataCollectionFormulaField, and ilDataCollectionTextField.
Definition at line 232 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by fillExcelExport(), and getPlainText().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordField::getField | ( | ) |
Definition at line 307 of file class.ilDataCollectionRecordField.php.
References $field.
Referenced by ilDataCollectionILIASRefField\__construct(), ilDataCollectionRatingField\__construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionNReferenceFieldGUI\buildTemplate(), ilDataCollectionRatingField\delete(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionReferenceField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionRatingField\getValue(), ilDataCollectionTextField\hasProperty(), ilDataCollectionNReferenceField\loadValueSorted(), ilDataCollectionDatatype\parseHTML(), ilDataCollectionDatatype\parseSortingValue(), and ilDataCollectionDatatype\parseValue().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 222 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by fillFormInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordField::getHTML | ( | $link = true | ) |
Definition at line 260 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by getSingleHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordField::getId | ( | ) |
Definition at line 315 of file class.ilDataCollectionRecordField.php.
References $id.
Referenced by ilDataCollectionRatingField\delete(), ilDataCollectionNReferenceField\doUpdate(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionRatingField\getValue(), and ilDataCollectionDatatype\parseHTML().
Here is the caller graph for this function:| ilDataCollectionRecordField::getPlainText | ( | ) |
Definition at line 252 of file class.ilDataCollectionRecordField.php.
References getExportValue().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| ilDataCollectionRecordField::getSingleHTML | ( | ) |
Definition at line 279 of file class.ilDataCollectionRecordField.php.
References getHTML().
Here is the call graph for this function:| ilDataCollectionRecordField::getSortingValue | ( | $link = true | ) |
Definition at line 269 of file class.ilDataCollectionRecordField.php.
References getValue().
Here is the call graph for this function:| ilDataCollectionRecordField::getValue | ( | ) |
Reimplemented in ilDataCollectionNReferenceField, ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 147 of file class.ilDataCollectionRecordField.php.
References $value, and loadValue().
Referenced by ilDataCollectionTextField\fillFormInput(), ilDataCollectionILIASRefField\getActionLink(), ilDataCollectionILIASRefField\getExportValue(), getExportValue(), ilDataCollectionReferenceField\getExportValue(), ilDataCollectionTextField\getExportValue(), getFormInput(), getHTML(), ilDataCollectionILIASRefField\getHTML(), ilDataCollectionILIASRefField\getLinkHTML(), ilDataCollectionILIASRefField\getSingleHTML(), getSortingValue(), ilDataCollectionILIASRefField\getStatus(), and ilDataCollectionDatatype\parseValue().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordField::getValueFromExcel | ( | $excel, | |
| $row, | |||
| $col | |||
| ) |
| $excel | |
| $row | |
| $col |
Reimplemented in ilDataCollectionNReferenceField, ilDataCollectionReferenceField, and ilDataCollectionTextField.
Definition at line 199 of file class.ilDataCollectionRecordField.php.
References $row, $value, and ilDataCollectionDatatype\INPUTFORMAT_DATETIME.
|
protected |
Load the value.
Reimplemented in ilDataCollectionNReferenceField, ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 287 of file class.ilDataCollectionRecordField.php.
References $query, and ilDataCollectionDatatype\INPUTFORMAT_RATING.
Referenced by doRead(), getValue(), and setValue().
Here is the caller graph for this function:| 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(), setValueFromForm(), and ilDataCollectionTextField\setValueFromForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordField::setValueFromForm | ( | & | $form | ) |
| $form | ilPropertyFormGUI |
Reimplemented in ilDataCollectionTextField.
Definition at line 182 of file class.ilDataCollectionRecordField.php.
References $value, ilDataCollectionDatatype\INPUTFORMAT_FILE, ilDataCollectionDatatype\INPUTFORMAT_MOB, and setValue().
Here is the call graph for this function:
|
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 ilDataCollectionILIASRefField\__construct(), ilDataCollectionRatingField\__construct(), __construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionFormulaField\__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 ilDataCollectionILIASRefField\__construct(), ilDataCollectionRatingField\__construct(), __construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionFormulaField\__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 ilDataCollectionNReferenceField\doUpdate(), ilDataCollectionTextField\fillExcelExport(), fillFormInput(), ilDataCollectionTextField\fillFormInput(), ilDataCollectionILIASRefField\getExportValue(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionILIASRefField\getHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionReferenceField\getLinkHTML(), ilDataCollectionReferenceField\getReferenceFromValue(), ilDataCollectionILIASRefField\getSingleHTML(), ilDataCollectionNReferenceField\getValue(), getValue(), getValueFromExcel(), ilDataCollectionReferenceField\getValueFromExcel(), ilDataCollectionTextField\getValueFromExcel(), ilDataCollectionFormulaField\setValue(), setValue(), setValueFromForm(), and ilDataCollectionTextField\setValueFromForm().