ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
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 1144 of file class.ilPurchaseBMFGUI.php.

Member Function Documentation

◆ getEShopCustomerNumber()

Kunde::getEShopCustomerNumber ( )

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

1191  {
1192  return $this->EShopKundenNr;
1193  }

◆ Kunde()

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

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

References $_SESSION.

1149  {
1150 /* if ($customerNumber != "")
1151  {
1152  $this->EShopKundenNr = $customerNumber;
1153  }
1154  else
1155  {*/
1156  $this->EShopKundenNr = time() . "_" . substr(md5(uniqid(rand(), true)), 0, 4);
1157  if ($customerNumber != "")
1158  {
1159  $this->EShopKundenNr = $customerNumber . "_" . time() . "_" . substr(md5(uniqid(rand(), true)), 0, 4);
1160  }
1161 /* }*/
1162 
1163  if ($values == "")
1164  {
1165  $values = $_SESSION["bmf"]["personal_data"];
1166  }
1167 
1168  if ($values["language"] != NULL)
1169  {
1170  $this->sprache = $values["language"];
1171  }
1172  if ($values["firstname"] != NULL)
1173  {
1174  $this->vorname = utf8_decode($values["firstname"]);
1175  }
1176  if ($values["lastname"] != NULL)
1177  {
1178  $this->nachname = utf8_decode($values["lastname"]);
1179  }
1180  if ($values["email"] != NULL)
1181  {
1182  $this->EMailAdresse = utf8_decode($values["email"]);
1183  }
1184 
1185  $address = new Adresse();
1186 
1187  $this->rechnungsAdresse = $address;
1188  }
< 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 1146 of file class.ilPurchaseBMFGUI.php.


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