mirror of
https://github.com/VTECRM/vtenext.git
synced 2026-02-26 16:18:47 +00:00
18 lines
690 B
PHP
18 lines
690 B
PHP
<?php
|
|
/*************************************
|
|
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <info@vtenext.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
************************************/
|
|
require_once 'include/Webservices/Create.php';
|
|
require_once 'include/Webservices/Update.php';
|
|
require_once 'include/Webservices/Delete.php';
|
|
require_once 'modules/WSAPP/Utils.php';
|
|
|
|
function wsapp_put ($key, $element, $user) {
|
|
$name = wsapp_getApplicationName($key);
|
|
$handlerDetails = wsapp_getHandler($name);
|
|
require_once $handlerDetails['handlerpath'];
|
|
$handler = new $handlerDetails['handlerclass']($key);
|
|
return $handler->put($element,$user);
|
|
}
|