Output = new CustomOutput($this); /* $this->Type->RegisterType('YesNo', 'Enumeration', array('Ano', 'Ne')); $this->Type->RegisterType('NoYes', 'Enumeration', array('Ne', 'Ano')); $this->Type->RegisterType('TaskState', 'Enumeration', array('Čekající', 'Běžící', 'Dokončeno')); $this->Type->RegisterType('OnlineState', 'Enumeration', array('Nedostupný', 'Dostupný')); $this->Type->RegisterType('PointerToCorporation', 'PointerOneToOne', array('Table' => 'Corporation', 'Id' => 'Id', 'Name' => 'Name')); $this->Type->RegisterType('PointerToAddress', 'PointerOneToOne', array('Table' => 'Address', 'Id' => 'Id', 'Name' => 'CONCAT(Street, ", ", City)')); $this->Type->RegisterType('PointerToControlCard', 'PointerOneToOne', array('Table' => 'ControlCard', 'Id' => 'Id', 'Name' => 'Name')); $this->Type->RegisterType('PointerToLiftEventCode', 'PointerOneToOne', array('Table' => 'LiftEventCode', 'Id' => 'Id', 'Name' => 'Name')); */ //$this->AddModule('Log'); //$this->AddModule('UserList'); //if(isset($_SERVER['REMOTE_ADDR'])) $this->Modules['UserList']->Check(); // else $this->Modules['UserList']->CurrentUser = new User(0); //Header('Content-type: application/xhtml+xml'); } }