39         $this->notes_manager = $DIC->notes()->internal()->domain()->notes();
    40         $this->notes_data = $DIC->notes()->internal()->data();
    45         return array(
"4.3.0");
    48     protected function getXmlNamespace(
string $a_entity, 
string $a_schema_version): string
    50         return "https://www.ilias.de/xml/Services/Notes/" . $a_entity;
    58         if ($a_entity === 
"user_notes") {
    63                         "RepObjId" => 
"integer",
    67                         "Author" => 
"integer",
    68                         "CreationDate" => 
"timestamp",
    72                         "NoRepository" => 
"integer"    87         if ($a_entity === 
"user_notes") {
    91                         " author, note_text, creation_date, label, subject, no_repository " .
    94                         $ilDB->in(
"author", $a_ids, 
false, 
"integer") .
    95                         " AND obj_type = " . 
$ilDB->quote(
"pd", 
"text"));
   106         string $a_schema_version
   111                 $usr_id = $a_mapping->
getMapping(
"Services/User", 
"usr", $a_rec[
"Author"]);
   115                     if ((
int) $a_rec[
"RepObjId"] === 0 &&
   116                         $a_rec[
"ObjId"] == $a_rec[
"Author"] &&
   117                         $a_rec[
"Type"] == Note::PRIVATE &&
   118                         $a_rec[
"ObjType"] === 
"pd") {
   119                         $context = $this->notes_data->context(
   125                         $note = $this->notes_data->note(
   131                             $a_rec[
"CreationDate"]
   133                         $this->notes_manager->createNote(
 getTypes(string $a_entity, string $a_version)
 
ILIAS Notes InternalDataService $notes_data
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
readData(string $a_entity, string $a_version, array $a_ids)
 
getMapping(string $a_comp, string $a_entity, string $a_old_id)
 
getDirectDataFromQuery(string $a_query, bool $a_convert_to_leading_upper=true, bool $a_set=true)
Get data from query.This is a standard procedure, all db field names are directly mapped to abstract ...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
importRecord(string $a_entity, array $a_types, array $a_rec, ilImportMapping $a_mapping, string $a_schema_version)
 
ILIAS Notes NotesManager $notes_manager
 
stripTags(array $rec, array $omit_keys=[])
 
getXmlNamespace(string $a_entity, string $a_schema_version)