$response = $this->sendRawRequest($requestString);
// Check the response header if all is fine
- if (strpos($response[0], '200') === false) {
+ if (strpos($response[0], '200') === FALSE) {
// Something bad happend... :(
return array(
'status' => "request_error",
// Widthdraw this amount
private function executeWithdraw ($amount) {
// First all fails...
- $result = false;
+ $result = FALSE;
// Prepare the purpose
$purpose = "\"Bube oder Dame\"-Einsatz gesetzt.";
if ($return['status'] == $this->statusOkay) {
// All fine!
- $result = true;
+ $result = TRUE;
} else {
// Status failture text
$this->setStatusMessage($return['message'], $return['status']);
// Payout this amount
private function executePayout ($amount) {
// First all fails...
- $result = false;
+ $result = FALSE;
// Prepare the purpose
$purpose = "\"Bube oder Dame\"-Gewinn erhalten.";
if ($return['status'] == $this->statusOkay) {
// All fine!
- $result = true;
+ $result = TRUE;
} else {
// Status failture text
$this->setStatusMessage($return['message'], $return['status']);