Esempio n. 1
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->wydatekDodaj($data->kwota, $data->budzet_id, $data->secret);
Esempio n. 2
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->przychodDodaj($data->kwota, $data->budzet_id, $data->secret);
Esempio n. 3
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->budzetEdytuj($data->budzet, $data->secret);
Esempio n. 4
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->budzetUsun($data->id, $data->secret);
Esempio n. 5
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->operacjeWyplujWszystkie($data->id, $data->secret);
Esempio n. 6
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
$budzet->transferWykonaj($data->kwota, $data->budzet_dawca_id, $data->budzet_biorca_id, $data->secret);
Esempio n. 7
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->operacjeUsunWszystkiePoBudzetId($data->budzet_id);
Esempio n. 8
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->budzetWyplujWszystkie($data->secret);
Esempio n. 9
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->budzetDodaj($data->budzet->nazwa ? $data->budzet->nazwa : '', $data->secret);
Esempio n. 10
0
<?php

require_once '../../../Class/Budzet.php';
$postdata = file_get_contents('php://input');
$data = json_decode($postdata);
$budzet = new Budzet();
print $budzet->budzetWyplujPoId($data->id, $data->secret);