<?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);
<?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);
<?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);
<?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);
<?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);
<?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);
<?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);
<?php require_once '../../../Class/Budzet.php'; $postdata = file_get_contents('php://input'); $data = json_decode($postdata); $budzet = new Budzet(); print $budzet->budzetWyplujWszystkie($data->secret);
<?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);
<?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);