public function getAll()
 {
     if (!isset($this->Elements) || $this->countElements() < 0) {
         return Device::getEmptyInstance();
     }
     return $this->Elements;
 }
 /**
  * Aktualisiert das Gerät
  * @param from Request all
  * @return true/false
  *
  */
 public function showEditDevice($ErrorString = "", $StatusString = "")
 {
     if (Controler_Main::getInstance()->getUserLevel() < BACKEND_USERLEVEL) {
         $ControlerStart = new Controler_Start();
         $ControlerStart->start();
         return false;
     }
     $Request = new Request();
     $this->Device = Device::getEmptyInstance();
     $DeviceFinder = new DeviceFinder();
     $ID = $Request->getAsInt("DeviceID");
     $DeviceCollection = $DeviceFinder->findByID($ID);
     $Template = Template::getInstance("tpl_BE_DeviceManager.php");
     $Template->assign("Device", $DeviceCollection);
     $Template->assign("HtmlSelector", "showEditDevice");
     $Template->assign("ErrorString", $ErrorString);
     $Template->assign("StatusString", $StatusString);
     $Template->render();
 }