3 declare(strict_types=1);
    42             "obj_id" => [
"integer", $settings->
getObjId()],
    43             "content" => [
"text", $settings->
getContent()],
    49         $this->db->insert(self::IASS_SETTINGS_TABLE, $values);
    51         $values = [
"obj_id" => [
"integer", $settings->
getObjId()]];
    52         $this->db->insert(self::IASS_SETTINGS_INFO_TABLE, $values);
    73              "SELECT content, record_template, event_time_place_required, file_required" . PHP_EOL
    74             . 
"FROM " . self::IASS_SETTINGS_TABLE . PHP_EOL
    75             . 
"WHERE obj_id = " . $this->db->quote($obj->
getId(), 
'integer') . PHP_EOL
    78         $result = $this->db->query($sql);
    80         if ($this->db->numRows($result) == 0) {
    84         $row = $this->db->fetchAssoc($result);
    91             $row[
"record_template"],
    92             (bool) $row[
"event_time_place_required"],
    93             (
bool) $row[
'file_required']
   102         $where = [
"obj_id" => [
"integer", $settings->
getObjId()]];
   105             "content" => [
"text", $settings->
getContent()],
   111         $this->db->update(self::IASS_SETTINGS_TABLE, $values, $where);
   124             "SELECT contact, responsibility, phone, mails, consultation_hours" . PHP_EOL
   125             . 
"FROM " . self::IASS_SETTINGS_INFO_TABLE . PHP_EOL
   126             . 
"WHERE obj_id = " . $this->db->quote($obj->
getId(), 
'integer') . PHP_EOL
   129         $result = $this->db->query($sql);
   131         if ($this->db->numRows($result) == 0) {
   135         $row = $this->db->fetchAssoc($result);
   140             $row[
"responsibility"],
   143             $row[
'consultation_hours']
   152         $where = [
"obj_id" => [
"integer", $settings->
getObjId()]];
   155             "contact" => [
"text", $settings->
getContact()],
   157             "phone" => [
"text", $settings->
getPhone()],
   158             "mails" => [
"text", $settings->
getMails()],
   162         $this->db->update(self::IASS_SETTINGS_INFO_TABLE, $values, $where);
   170         $sql = 
"DELETE FROM " . self::IASS_SETTINGS_TABLE . 
" WHERE obj_id = %s";
   171         $this->db->manipulateF($sql, array(
"integer"), array($obj->
getId()));
   173         $sql = 
"DELETE FROM " . self::IASS_SETTINGS_INFO_TABLE . 
" WHERE obj_id = %s";
   174         $this->db->manipulateF($sql, array(
"integer"), array($obj->
getId()));
 loadInfoSettings(ilObjIndividualAssessment $obj)
Load info-screen settings corresponding to obj. 
 
For the purpose of streamlining the grading and learning-process status definition outside of tests...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
isEventTimePlaceRequired()
Get the value of the checkbox event_time_place_require. 
 
An object carrying settings of an Individual Assessment obj beyond the standard information. 
 
const IASS_SETTINGS_TABLE
 
getObjId()
Get the id of corresponding iass-object. 
 
__construct(ilDBInterface $db)
 
getContent()
Get the content of this assessment, e.g. 
 
const IASS_SETTINGS_INFO_TABLE
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data 
 
updateSettings(ilIndividualAssessmentSettings $settings)
Update settings entry. 
 
loadSettings(ilObjIndividualAssessment $obj)
Load settings corresponding to obj. 
 
isFileRequired()
Get the value of the checkbox file_required. 
 
getRecordTemplate()
Get the record template to be used as default record with corresponding object. 
 
deleteSettings(ilObjIndividualAssessment $obj)
Delete settings entry corresponding to obj. 
 
createSettings(ilIndividualAssessmentSettings $settings)
Create an entry corresponding to $settings. 
 
updateInfoSettings(ilIndividualAssessmentInfoSettings $settings)
Update info-screen settings entry.