ILIAS  Release_4_0_x_branch Revision 61816
 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 1906 of file class.ilPurchaseBMFGUI.php.

Member Function Documentation

Kunde::getEShopCustomerNumber ( )

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

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

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

References $_SESSION, and $address.

{
/* 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["language"] != NULL)
{
$this->sprache = $values["language"];
}
if ($values["firstname"] != NULL)
{
$this->vorname = utf8_decode($values["firstname"]);
}
if ($values["lastname"] != NULL)
{
$this->nachname = utf8_decode($values["lastname"]);
}
if ($values["email"] != NULL)
{
$this->EMailAdresse = utf8_decode($values["email"]);
}
$address = new Adresse();
$this->rechnungsAdresse = $address;
}

Field Documentation

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

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


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