/** * Function to handle HTTP-POST-requests. * @param Array, $requestData are the requested data */ function post(array $requestData) { $requestData['#'] = __buildHashCode($requestData); if ($requestData['#']) { __delete('PASSWORDS', $requestData); } $result = __save('PASSWORDS', $requestData, true); return 1 == __saved($requestData, $result); }
/** * Function to handle HTTP-POST-requests. * @param Array, $requestData are the requested data */ function put(array $requestData, $isPost = false) { $row = __joinAccounts($requestData); __save('ADDRESSES', $row, $isPost); return get($requestData); }
/** * Function to handle HTTP-POST-requests. * @param Array, $requestData are the requested data */ function post(array $requestData) { return __save('DOMAINS', $requestData, true); }
/** * Function to handle HTTP-POST-requests. * @param Array, $requestData are the requested data */ function post(array $requestData) { __save('ACCOUNTS', prepareSave($requestData), true); return get($requestData); }