/**
  *  Reads records from Adobe Connect server
  */
 public function readRecords()
 {
     $session = $this->xmlApi->getBreezeSession();
     if ($session != NULL && $this->xmlApi->login($this->adminLogin, $this->adminPass, $session)) {
         $ids = $this->xmlApi->getRecordIds($this->sco_id, $session);
         foreach ($ids as $id) {
             $date_created = $this->xmlApi->getDateCreated($id, $this->sco_id, $session);
             $attributes_records = array("sco-id" => $id, "name" => $this->xmlApi->getName($id, $this->getScoId(), $session), "url" => $this->xmlApi->getURL($id, $this->sco_id, $session), "date-created" => new ilDateTime(substr($date_created, 0, 10) . " " . substr($date_created, 11, 8), IL_CAL_DATETIME), "duration" => $this->xmlApi->getDuration($id, $this->sco_id, $session), "description" => $this->xmlApi->getDescription($id, $this->sco_id, $session), "type" => "record");
             $this->contents->addContent($attributes_records);
         }
         return true;
     } else {
         return false;
     }
 }