ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
Kunde Class Reference
+ Collaboration diagram for Kunde:

Public Member Functions

 Kunde ($customerNumber="", $values="")
 getEShopCustomerNumber ()

Data Fields

 $OBJTypeNS = array ('namespace' => 'http://www.bff.bund.de/ePayment' , 'type' => 'Kunde')

Detailed Description

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

Member Function Documentation

Kunde::getEShopCustomerNumber ( )

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

{
return $this->EShopKundenNr;
}
Kunde::Kunde (   $customerNumber = "",
  $values = "" 
)

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

References $_SESSION.

{
/* if ($customerNumber != "")
{
$this->EShopKundenNr = $customerNumber;
}
else
{*/
$this->EShopKundenNr = time() . "_" . substr(md5(uniqid(rand(), true)), 0, 4);
if ($customerNumber != "")
{
$this->EShopKundenNr = $customerNumber . "_" . time() . "_" . substr(md5(uniqid(rand(), true)), 0, 4);
}
/* }*/
if ($values == "")
{
$values = $_SESSION["bmf"]["personal_data"];
}
if ($values["sprache"] != NULL)
{
$this->sprache = $values["sprache"];
}
if ($values["vorname"] != NULL)
{
$this->vorname = utf8_decode($values["vorname"]);
}
if ($values["nachname"] != NULL)
{
$this->nachname = utf8_decode($values["nachname"]);
}
if ($values["EMailAdresse"] != NULL)
{
$this->EMailAdresse = utf8_decode($values["EMailAdresse"]);
}
$address = new Adresse();
$this->rechnungsAdresse = $address;
}

Field Documentation

Kunde::$OBJTypeNS = array ('namespace' => 'http://www.bff.bund.de/ePayment' , 'type' => 'Kunde')

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


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