ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
Kreditkarte Class Reference
+ Collaboration diagram for Kreditkarte:

Public Member Functions

 Kreditkarte ($values="")

Data Fields

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

Detailed Description

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

Member Function Documentation

Kreditkarte::Kreditkarte (   $values = "")

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

References $_SESSION.

{
if ($values == "")
{
$values = $_SESSION["bmf"]["credit_card"];
}
if (is_array($values))
{
if ($values["karteninhaber"] != NULL)
{
$this->karteninhaber = utf8_decode($values["karteninhaber"]);
}
if ($values["kartenpruefnummer"] != NULL)
{
$this->kartenpruefnummer = utf8_decode($values["kartenpruefnummer"]);
}
if (is_array ($values["kreditkartenNr"]) &&
count($values["kreditkartenNr"]) == 4)
{
for ($i = 1; $i <= count($values["kreditkartenNr"]); $i++)
{
$this->kreditkartenNr .= utf8_decode($values["kreditkartenNr"]["block_".$i]);# . "-";
}
# $this->kreditkartenNr = substr($this->kreditkartenNr, 0, strlen($this->kreditkartenNr)-1);
}
if (is_array($values["gueltigkeit"]) &&
$values["gueltigkeit"]["monat"] != "" &&
$values["gueltigkeit"]["jahr"] != "")
{
$this->gueltigkeit = utf8_decode($values["gueltigkeit"]["monat"]);
$this->gueltigkeit .= utf8_decode($values["gueltigkeit"]["jahr"]);
}
}
}

Field Documentation

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

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


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