<?php /* **** COPYRIGHT & LICENSE NOTICE *** DO NOT REMOVE **** * * Xentral (c) Xentral ERP Sorftware GmbH, Fuggerstrasse 11, D-86150 Augsburg, * Germany 2019 * * This file is licensed under the Embedded Projects General Public License *Version 3.1. * * You should have received a copy of this license from your vendor and/or *along with this file; If not, please visit www.wawision.de/Lizenzhinweis * to obtain the text of the corresponding license version. * **** END OF COPYRIGHT & LICENSE NOTICE *** DO NOT REMOVE **** */ ?> <?php class GenLager { function __construct(&$app) { $this->app=&$app; $this->app->ActionHandlerInit($this); $this->app->ActionHandler("create","LagerCreate"); $this->app->ActionHandler("edit","LagerEdit"); $this->app->ActionHandler("copy","LagerCopy"); $this->app->ActionHandler("list","LagerList"); $this->app->ActionHandler("delete","LagerDelete"); $this->app->Tpl->Set("HEADING","Lager"); //$this->app->ActionHandlerListen($app); } function LagerCreate(){ $this->app->Tpl->Set("HEADING","Lager (Anlegen)"); $this->app->PageBuilder->CreateGen("lager_create.tpl"); } function LagerEdit(){ $this->app->Tpl->Set("HEADING","Lager (Bearbeiten)"); $this->app->PageBuilder->CreateGen("lager_edit.tpl"); } function LagerCopy(){ $this->app->Tpl->Set("HEADING","Lager (Kopieren)"); $this->app->PageBuilder->CreateGen("lager_copy.tpl"); } function LagerDelete(){ $this->app->Tpl->Set("HEADING","Lager (Löschen)"); $this->app->PageBuilder->CreateGen("lager_delete.tpl"); } function LagerList(){ $this->app->Tpl->Set("HEADING","Lager (Übersicht)"); $this->app->PageBuilder->CreateGen("lager_list.tpl"); } } ?>