|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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... | |
| getFormInput () | |
| getExportValue () | |
| getPlainText () | |
| getHTML ($link=true) | |
| getSortingValue ($link=true) | |
| getSingleHTML () | |
| getField () | |
| getId () | |
| getRecord () | |
Protected Member Functions | |
| doRead () | |
| Read object data from database. More... | |
| doCreate () | |
| Create object in database. More... | |
| loadValue () | |
| Load the value. More... | |
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 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 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().
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 102 of file class.ilDataCollectionRecordField.php.
References $query.
| ilDataCollectionRecordField::getExportValue | ( | ) |
Reimplemented in ilDataCollectionILIASRefField, ilDataCollectionNReferenceField, ilDataCollectionRatingField, ilDataCollectionReferenceField, and ilDataCollectionFormulaField.
Definition at line 186 of file class.ilDataCollectionRecordField.php.
References getValue().
Referenced by getPlainText().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionRecordField::getField | ( | ) |
Definition at line 252 of file class.ilDataCollectionRecordField.php.
References $field.
Referenced by ilDataCollectionILIASRefField\__construct(), ilDataCollectionRatingField\__construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionRatingField\delete(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionReferenceField\getExportValue(), ilDataCollectionRatingField\getHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionRatingField\getValue(), ilDataCollectionDatatype\parseFormInput(), ilDataCollectionDatatype\parseHTML(), ilDataCollectionDatatype\parseSortingValue(), and ilDataCollectionDatatype\parseValue().
Here is the caller graph for this function:| ilDataCollectionRecordField::getFormInput | ( | ) |
Reimplemented in ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 176 of file class.ilDataCollectionRecordField.php.
References getValue().
Here is the call graph for this function:| ilDataCollectionRecordField::getHTML | ( | $link = true | ) |
Definition at line 204 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 260 of file class.ilDataCollectionRecordField.php.
References $id.
Referenced by ilDataCollectionRatingField\delete(), ilDataCollectionNReferenceField\doUpdate(), ilDataCollectionRatingField\getExportValue(), ilDataCollectionNReferenceField\getHTML(), ilDataCollectionRatingField\getHTML(), ilDataCollectionRatingField\getValue(), and ilDataCollectionDatatype\parseHTML().
Here is the caller graph for this function:| ilDataCollectionRecordField::getPlainText | ( | ) |
Definition at line 196 of file class.ilDataCollectionRecordField.php.
References getExportValue().
Here is the call graph for this function:| ilDataCollectionRecordField::getRecord | ( | ) |
Definition at line 268 of file class.ilDataCollectionRecordField.php.
References $record.
Referenced by ilDataCollectionRatingField\getExportValue(), ilDataCollectionNReferenceField\getHTML(), ilDataCollectionRatingField\getHTML(), ilDataCollectionRatingField\getValue(), ilDataCollectionDatatype\parseHTML(), and ilDataCollectionDatatype\parseValue().
Here is the caller graph for this function:| ilDataCollectionRecordField::getSingleHTML | ( | ) |
Definition at line 224 of file class.ilDataCollectionRecordField.php.
References getHTML().
Here is the call graph for this function:| ilDataCollectionRecordField::getSortingValue | ( | $link = true | ) |
Definition at line 213 of file class.ilDataCollectionRecordField.php.
References getValue().
Here is the call graph for this function:| ilDataCollectionRecordField::getValue | ( | ) |
Reimplemented in ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 140 of file class.ilDataCollectionRecordField.php.
References $value, and loadValue().
Referenced by ilDataCollectionNReferenceField\doUpdate(), ilDataCollectionILIASRefField\getActionLink(), ilDataCollectionILIASRefField\getExportValue(), ilDataCollectionNReferenceField\getExportValue(), getExportValue(), ilDataCollectionReferenceField\getExportValue(), getFormInput(), getHTML(), ilDataCollectionNReferenceField\getHTML(), ilDataCollectionILIASRefField\getHTML(), ilDataCollectionILIASRefField\getLinkHTML(), ilDataCollectionNReferenceField\getSingleHTML(), ilDataCollectionILIASRefField\getSingleHTML(), getSortingValue(), ilDataCollectionILIASRefField\getStatus(), and ilDataCollectionDatatype\parseValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Load the value.
Reimplemented in ilDataCollectionNReferenceField, ilDataCollectionRatingField, and ilDataCollectionFormulaField.
Definition at line 232 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 153 of file class.ilDataCollectionRecordField.php.
References $value, ilDataCollectionDatatype\INPUTFORMAT_FILE, and loadValue().
Here is the call graph for this function:
|
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 ilDataCollectionILIASRefField\__construct(), ilDataCollectionRatingField\__construct(), __construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionFormulaField\__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 ilDataCollectionILIASRefField\__construct(), ilDataCollectionRatingField\__construct(), __construct(), ilDataCollectionReferenceField\__construct(), ilDataCollectionFormulaField\__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(), ilDataCollectionILIASRefField\getExportValue(), ilDataCollectionNReferenceField\getExportValue(), ilDataCollectionNReferenceField\getHTML(), ilDataCollectionILIASRefField\getHTML(), ilDataCollectionNReferenceField\getLinkHTML(), ilDataCollectionReferenceField\getLinkHTML(), ilDataCollectionILIASRefField\getSingleHTML(), getValue(), ilDataCollectionFormulaField\setValue(), and setValue().