OpenXE/www/pages/_gen/partner.php
2021-05-21 08:49:41 +02:00

59 lines
1.8 KiB
PHP

<?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 GenPartner {
function __construct(&$app) {
$this->app=&$app;
$this->app->ActionHandlerInit($this);
$this->app->ActionHandler("create","PartnerCreate");
$this->app->ActionHandler("edit","PartnerEdit");
$this->app->ActionHandler("copy","PartnerCopy");
$this->app->ActionHandler("list","PartnerList");
$this->app->ActionHandler("delete","PartnerDelete");
$this->app->Tpl->Set("HEADING","Partner"); $this->app->ActionHandlerListen($app);
}
function PartnerCreate(){
$this->app->Tpl->Set("HEADING","Partner (Anlegen)");
$this->app->PageBuilder->CreateGen("partner_create.tpl");
}
function PartnerEdit(){
$this->app->Tpl->Set("HEADING","Partner (Bearbeiten)");
$this->app->PageBuilder->CreateGen("partner_edit.tpl");
}
function PartnerCopy(){
$this->app->Tpl->Set("HEADING","Partner (Kopieren)");
$this->app->PageBuilder->CreateGen("partner_copy.tpl");
}
function PartnerDelete(){
$this->app->Tpl->Set("HEADING","Partner (L&ouml;schen)");
$this->app->PageBuilder->CreateGen("partner_delete.tpl");
}
function PartnerList(){
$this->app->Tpl->Set("HEADING","Partner (&Uuml;bersicht)");
$this->app->PageBuilder->CreateGen("partner_list.tpl");
}
}
?>