Typo, PHP-Doc
This commit is contained in:
parent
77fbc8d391
commit
8ea3bfc8f7
@ -38,7 +38,10 @@ class Order extends Order_parent
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $sOrderId
|
* @param string $sFilename
|
||||||
|
* @param string $sOrderId
|
||||||
|
* @param int $iSelLang
|
||||||
|
* @param bool $saveContent
|
||||||
* @return true
|
* @return true
|
||||||
*/
|
*/
|
||||||
protected function getXRechnungXml(string $sFilename, string $sOrderId, int $iSelLang, bool $saveContent = false)
|
protected function getXRechnungXml(string $sFilename, string $sOrderId, int $iSelLang, bool $saveContent = false)
|
||||||
|
@ -54,7 +54,7 @@ Der Pfad und Zugangsschutz zum Generator wird in der Konfiguration des Moduls hi
|
|||||||
'group' => 'd3xrechnung',
|
'group' => 'd3xrechnung',
|
||||||
'name' => 'd3xrechnung_PATH_GENERATOR',
|
'name' => 'd3xrechnung_PATH_GENERATOR',
|
||||||
'type' => 'str',
|
'type' => 'str',
|
||||||
'value' => 'https://xrechnung.DOMAIN.TLD/xrechnung.php?'
|
'value' => 'https://xrechnung.DOMAIN.TLD/xrechnung.php'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'group' => 'd3xrechnung',
|
'group' => 'd3xrechnung',
|
||||||
|
@ -20,12 +20,12 @@ class connect extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
$this->checkParameter();
|
$this->checkParamter();
|
||||||
//dumpvar($this->processRequest());
|
//dumpvar($this->processRequest());
|
||||||
//echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
//echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
||||||
|
|
||||||
//dumpvar($this->prepareFromTansport($this->prepareDataForTansport($this->processRequest())));
|
#dumpvar($this->prepareFromTansport($this->prepareDataForTansport($this->processRequest())));
|
||||||
//echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
#echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
||||||
//die();
|
//die();
|
||||||
echo $this->prepareDataForTansport($this->processRequest());
|
echo $this->prepareDataForTansport($this->processRequest());
|
||||||
}
|
}
|
||||||
@ -95,7 +95,6 @@ MSQL;
|
|||||||
$sTable = Registry::get(TableViewNameGenerator::class)->getViewName('oxorder');
|
$sTable = Registry::get(TableViewNameGenerator::class)->getViewName('oxorder');
|
||||||
$Db = DatabaseProvider::getDb(DatabaseProvider::FETCH_MODE_ASSOC);
|
$Db = DatabaseProvider::getDb(DatabaseProvider::FETCH_MODE_ASSOC);
|
||||||
$sQuery = "SELECT * FROM ".$sTable." WHERE OXID= ?";
|
$sQuery = "SELECT * FROM ".$sTable." WHERE OXID= ?";
|
||||||
//echo $sQuery;
|
|
||||||
return $Db->getRow($sQuery,[$OXID]);
|
return $Db->getRow($sQuery,[$OXID]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -184,9 +183,9 @@ MSQL;
|
|||||||
return $Db->getAll($sQuery,[$OXID]);
|
return $Db->getAll($sQuery,[$OXID]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function checkParameter()
|
public function checkParamter()
|
||||||
{
|
{
|
||||||
|
// todo check accesstoken
|
||||||
//fnc
|
//fnc
|
||||||
//oxid
|
//oxid
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user