ILIAS  release_4-4 Revision
Buchung Class Reference
+ Collaboration diagram for Buchung:

Public Member Functions

 Buchung ($values="")
 
 setVoucherNumber ($voucherNumber)
 
 getVoucherNumber ()
 

Data Fields

 $OBJTypeNS = array ('namespace' => 'http://schemas.xmlsoap.org/soap/encoding/', 'nsPrefix' => 'ns3', 'type' => 'Buchung', 'pnamespace' => 'http://www.bff.bund.de/ePayment', 'pnsPrefix' => 'ns2', 'item' => 'ns2:Buchung')
 

Detailed Description

Definition at line 1323 of file class.ilPurchaseBMFGUI.php.

Member Function Documentation

◆ Buchung()

Buchung::Buchung (   $values = "")

Definition at line 1327 of file class.ilPurchaseBMFGUI.php.

References $bmfConfig, and ilBMFSettings\getInstance().

1328  {
1329  $bmfSetObj = ilBMFSettings::getInstance();
1330  $bmfConfig = $bmfSetObj->getAll();
1331 
1332  if ($bmfConfig["haushaltsstelle"] != NULL)
1333  {
1334  $this->haushaltsstelle = $bmfConfig["haushaltsstelle"];
1335  }
1336  if ($bmfConfig["objektNr"] != NULL)
1337  {
1338  $this->objektnummer = $bmfConfig["objektNr"];
1339  }
1340 
1341  if (is_array($values))
1342  {
1343  if ($values["object_title"] != NULL)
1344  {
1345  $buchungstext = utf8_decode($values["object_title"]);
1346  if(strlen($buchungstext) > 16)
1347  {
1348  $buchungstext = substr($buchungstext,0,15).'...';
1349  }
1350 
1351  $this->buchungstext = $buchungstext;
1352  }
1353  if ($values["price"] != "")
1354  {
1355  $this->betrag = (float)$values["price"];
1356  }
1357  }
1358  }
static getInstance()
Static method to get the singleton instance.
$bmfConfig
+ Here is the call graph for this function:

◆ getVoucherNumber()

Buchung::getVoucherNumber ( )

Definition at line 1369 of file class.ilPurchaseBMFGUI.php.

1370  {
1371  return $this->belegNr;
1372  }

◆ setVoucherNumber()

Buchung::setVoucherNumber (   $voucherNumber)

Definition at line 1361 of file class.ilPurchaseBMFGUI.php.

1362  {
1363  if ($voucherNumber != NULL)
1364  {
1365  $this->belegNr = $voucherNumber;
1366  }
1367  }

Field Documentation

◆ $OBJTypeNS

Buchung::$OBJTypeNS = array ('namespace' => 'http://schemas.xmlsoap.org/soap/encoding/', 'nsPrefix' => 'ns3', 'type' => 'Buchung', 'pnamespace' => 'http://www.bff.bund.de/ePayment', 'pnsPrefix' => 'ns2', 'item' => 'ns2:Buchung')

Definition at line 1325 of file class.ilPurchaseBMFGUI.php.


The documentation for this class was generated from the following file: