mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-27 07:00:29 +01:00
43 lines
987 B
PHP
43 lines
987 B
PHP
|
<?php
|
||
|
include ("_gen/widget.gen.adresse_typ.php");
|
||
|
|
||
|
class WidgetAdresse_typ extends WidgetGenAdresse_typ
|
||
|
{
|
||
|
private $app;
|
||
|
function __construct($app,$parsetarget)
|
||
|
{
|
||
|
$this->app = $app;
|
||
|
$this->parsetarget = $parsetarget;
|
||
|
parent::__construct($app,$parsetarget);
|
||
|
$this->ExtendsForm();
|
||
|
}
|
||
|
|
||
|
function ExtendsForm()
|
||
|
{
|
||
|
$this->app->YUI->AutoComplete("projekt","projektname",1);
|
||
|
$this->form->ReplaceFunction("projekt",$this,"ReplaceProjekt");
|
||
|
}
|
||
|
|
||
|
function ReplaceProjekt($db,$value,$fromform)
|
||
|
{
|
||
|
return $this->app->erp->ReplaceProjekt($db,$value,$fromform);
|
||
|
}
|
||
|
|
||
|
public function Table()
|
||
|
{
|
||
|
$this->app->YUI->TableSearch('INHALT',"adresse_typlist");
|
||
|
$this->app->Tpl->Parse($this->parsetarget,"rahmen70.tpl");
|
||
|
|
||
|
}
|
||
|
|
||
|
public function Search()
|
||
|
{
|
||
|
//$this->app->Tpl->Set($this->parsetarget,"suchmaske");
|
||
|
//$this->app->Table(
|
||
|
//$table = new OrderTable("veranstalter");
|
||
|
//$table->Heading(array('Name','Homepage','Telefon'));
|
||
|
}
|
||
|
|
||
|
}
|
||
|
?>
|