protected function assignViewerNames()
 {
     global $cfg;
     $db = Database::getInstance($cfg['MVC']['dsn']);
     $physicalViewers = MVCUtils::listPresent('viewer');
     for ($i = 0; $i < count($physicalViewers); $i++) {
         $tmp = preg_split('/\\./', $physicalViewers[$i]);
         $physicalViewers[$i] = $tmp[0];
     }
     if (count($physicalViewers) > 0) {
         $this->assign("viewers", $physicalViewers);
     }
 }