4 include_once
'./Modules/DataCollection/classes/class.ilDataCollectionField.php';
5 include_once
'./Modules/DataCollection/classes/class.ilDataCollectionDatatype.php';
26 $message =
"Standard fields cannot be read from DB";
28 $ilLog->write(
"[ilDataCollectionStandardField] ".$message);
37 $message =
"Standard fields cannot be written to DB";
39 $ilLog->write(
"[ilDataCollectionStandardField] ".$message);
90 array(
"id"=>
"last_edit_by",
"title" => $lng->txt(
"dcl_last_edited_by"),
"description" => $lng->txt(
"dcl_last_edited_by_description"),
"datatype_id" =>
ilDataCollectionDatatype::INPUTFORMAT_TEXT,
"required" =>
true),
101 $stdFields = array();
102 foreach(self::_getStandardFieldsAsArray() as $array)
107 $field->buildFromDBRecord($array);
108 $stdFields[] = $field;
119 foreach(self::_getStandardFieldsAsArray() as $field)
121 if($field[
"id"] == $field_id)
137 foreach (self::_getStandardFieldsAsArray() as $fields_data) {
138 if (
$id == $fields_data[
'id']) {