/**
  * Initialisiert das Objekt (auch gelöschte)
  * @param null $nr
  */
 public function __construct($nr = null)
 {
     parent::__construct($nr);
     $this->content['titel'] = null;
     // Originaltitel
     $this->content['atitel'] = null;
     // Arbeitstitel
     $this->content['utitel'] = null;
     // Untertitel
     $this->content['sid'] = null;
     // Serien - ID
     $this->content['sfolge'] = null;
     // Serienfolge
     $this->content['prod_jahr'] = null;
     $this->content['anmerk'] = null;
     $this->content['quellen'] = null;
     $this->content['thema'] = [];
     // Schlagwortverzeichnis
     if (isset($nr) and is_numeric($nr)) {
         $db = MDB2::singleton();
         $data = $db->extended->getRow(self::SQL_GET_DATA, list2array(self::TYPE_FIBI), $nr, 'integer');
         IsDbError($data);
         if (!empty($data['thema'])) {
             $data['thema'] = list2array($data['thema']);
         }
         self::WertZuwCont($data);
         // Serientitel holen, soweit vorhanden
         if ($this->content['sid']) {
             $data = $db->extended->getRow(self::SQL_GET_STITEL, null, $this->content['sid'], 'integer');
             IsDbError($data);
             $this->stitel = $data['titel'];
             $this->sdescr = $data['descr'];
         }
     }
 }
 /**
  * Initialisiert das Objekt
  *
  * @param int|null $nr
  */
 function __construct($nr = null)
 {
     parent::__construct($nr);
     $this->content['vname'] = '-';
     $this->content['nname'] = '';
     if (isset($nr) and is_numeric($nr)) {
         $db = MDB2::singleton();
         $data = $db->extended->getRow(self::SQL_GET_DATA, list2array(self::TYPENAME), $nr, 'integer');
         IsDbError($data);
         if ($data) {
             $this->content['vname'] = $data['vname'];
             $this->content['nname'] = $data['nname'];
             $this->alias = self::getPerson();
         } else {
             feedback(4, 'error');
             exit(4);
         }
     }
 }