ILIAS  release_4-4 Revision
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 1141 of file class.ilPurchaseBMFGUI.php.

Member Function Documentation

◆ getEShopCustomerNumber()

Kunde::getEShopCustomerNumber ( )

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

1188  {
1189  return $this->EShopKundenNr;
1190  }

◆ Kunde()

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

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

References $_SESSION.

1146  {
1147 /* if ($customerNumber != "")
1148  {
1149  $this->EShopKundenNr = $customerNumber;
1150  }
1151  else
1152  {*/
1153  $this->EShopKundenNr = time() . "_" . substr(md5(uniqid(rand(), true)), 0, 4);
1154  if ($customerNumber != "")
1155  {
1156  $this->EShopKundenNr = $customerNumber . "_" . time() . "_" . substr(md5(uniqid(rand(), true)), 0, 4);
1157  }
1158 /* }*/
1159 
1160  if ($values == "")
1161  {
1162  $values = $_SESSION["bmf"]["personal_data"];
1163  }
1164 
1165  if ($values["language"] != NULL)
1166  {
1167  $this->sprache = $values["language"];
1168  }
1169  if ($values["firstname"] != NULL)
1170  {
1171  $this->vorname = utf8_decode($values["firstname"]);
1172  }
1173  if ($values["lastname"] != NULL)
1174  {
1175  $this->nachname = utf8_decode($values["lastname"]);
1176  }
1177  if ($values["email"] != NULL)
1178  {
1179  $this->EMailAdresse = utf8_decode($values["email"]);
1180  }
1181 
1182  $address = new Adresse();
1183 
1184  $this->rechnungsAdresse = $address;
1185  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

Field Documentation

◆ $OBJTypeNS

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

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


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