app = $app; $this->parsetarget = $parsetarget; $this->Form(); } public function artikeloptionengruppeDelete() { $this->form->Execute("artikeloptionengruppe","delete"); $this->artikeloptionengruppeList(); } function Edit() { $this->form->Edit(); } function Copy() { $this->form->Copy(); } public function Create() { $this->form->Create(); } public function Search() { $this->app->Tpl->Set($this->parsetarget,"SUUUCHEEE"); } public function Summary() { $this->app->Tpl->Set($this->parsetarget,"grosse Tabelle"); } function Form() { $this->form = $this->app->FormHandler->CreateNew("artikeloptionengruppe"); $this->form->UseTable("artikeloptionengruppe"); $this->form->UseTemplate("artikeloptionengruppe.tpl",$this->parsetarget); $field = new HTMLInput("name","text","","40","","","","","","","0"); $this->form->NewField($field); $this->form->AddMandatory("name","notempty","Pflichtfeld!",MSGNAME); $field = new HTMLInput("projekt","text","","40","","","","","","","0"); $this->form->NewField($field); $field = new HTMLInput("artikel","text","","40","","","","","","","0"); $this->form->NewField($field); } } ?>