ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 1326 of file class.ilPurchaseBMFGUI.php.

Member Function Documentation

◆ Buchung()

Buchung::Buchung (   $values = "")

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

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

References $bmfConfig, and ilBMFSettings\getInstance().

+ Here is the call graph for this function:

◆ getVoucherNumber()

Buchung::getVoucherNumber ( )

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

1373 {
1374 return $this->belegNr;
1375 }

◆ setVoucherNumber()

Buchung::setVoucherNumber (   $voucherNumber)

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

1365 {
1366 if ($voucherNumber != NULL)
1367 {
1368 $this->belegNr = $voucherNumber;
1369 }
1370 }

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 1328 of file class.ilPurchaseBMFGUI.php.


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