3require_once(
"./Services/DataSet/classes/class.ilDataSet.php");
 
   18        return array(
'5.2.0', 
'5.3.0');
 
   30        return 'http://www.ilias.de/xml/Modules/IndividualAssessment/' . $entity;
 
   48                    "description" => 
"text",
 
   50                    "recordTemplate" => 
"text",
 
   51                    "eventTimePlaceRequired" => 
"integer",
 
   52                    "file_required" => 
"integer",
 
   54                    "responsibility" => 
"text",
 
   57                    "consultation_hours" => 
"text" 
   88        $this->
data = array();
 
   89        if (!is_array($ids)) {
 
  105                foreach ($ids as $iass_id) {
 
  108                        $settings = $obj->getSettings();
 
  109                        $info = $obj->getInfoSettings();
 
  112                            'title' => $obj->getTitle(),
 
  113                            'description' => $obj->getDescription(),
 
  114                            'content' => $settings->content(),
 
  115                            'recordTemplate' => $settings->recordTemplate(),
 
  116                            'eventTimePlaceRequired' => (
int) $settings->eventTimePlaceRequired(),
 
  117                            'file_required' => (
int) $settings->fileRequired(),
 
  118                            "contact" => 
$info->contact(),
 
  119                            "responsibility" => 
$info->responsibility(),
 
  120                            "phone" => 
$info->phone(),
 
  121                            "mails" => 
$info->mails(),
 
  122                            "consultation_hours" => 
$info->consultationHours()
 
  144        assert(
'is_string($entity)');
 
  145        assert(
'is_object($types) || is_null($types)');
 
  146        assert(
'is_string($schema_version)');
 
  150                if ($new_id = $mapping->
getMapping(
'Services/Container', 
'objs', $rec[
'Id'])) {
 
  159                    $rec[
"recordTemplate"],
 
  160                    $rec[
'file_required'],
 
  161                    $rec[
'eventTimePlaceRequired']
 
  167                    $rec[
'responsibility'],
 
  170                    $rec[
'consultation_hours']
 
  173                $newObj->setTitle($rec[
"title"]);
 
  174                $newObj->setDescription($rec[
"description"]);
 
  175                $newObj->setSettings($settings);
 
  176                $newObj->setInfoSettings(
$info);
 
  178                $newObj->updateInfo();
 
  180                $mapping->
addMapping(
"Modules/IndividualAssessment", 
"iass", $rec[
"Id"], $newObj->getId());
 
An exception for terminatinating execution or to throw for unit testing.
A dataset contains in data in a common structure that can be shared and transformed for different pur...
getMapping($a_comp, $a_entity, $a_old_id)
Get a mapping.
addMapping($a_comp, $a_entity, $a_old_id, $a_new_id)
Add mapping.
Individual Assessment dataset class.
readData($entity, $version, $ids)
Read data from Cache for a given entity and ID(s)
importRecord($entity, $types, array $rec, ilImportMapping $mapping, $schema_version)
Import record.
_readData($entity, $ids)
Build data array, data is read from cache except iass object itself.
getDependencies($entity, $version, $rec, $ids)
Return dependencies form entities to other entities (in our case these are all the DB relations)
getXmlNamespace($entity, $schema_version)
getTypes($entity, $version)
Map XML attributes of entities to datatypes (text, integer...)
A simple carrier for iass info-settings.
An object carrying settings of an Individual Assessment obj beyond the standart information.
For the purpose of streamlining the grading and learning-process status definition outside of tests,...
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
static _lookupType($a_id, $a_reference=false)
lookup object type