diff options
author | emkael <emkael@tlen.pl> | 2020-05-13 18:10:12 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-05-13 18:11:41 +0200 |
commit | a99cc025c68f4e1d7df0a20db8f2fe80cd19ce71 (patch) | |
tree | bcb3883bdcb42ddb837d83edbfff5285519efbc8 /http/api-inc.php | |
parent | eaa70b734619af7dfbc316642c1a17c623ad6e1f (diff) |
New API version
Diffstat (limited to 'http/api-inc.php')
-rw-r--r-- | http/api-inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/http/api-inc.php b/http/api-inc.php index 96c9ca7..c2336af 100644 --- a/http/api-inc.php +++ b/http/api-inc.php @@ -32,7 +32,8 @@ function run($parameters) { $versionClasses = array( '1' => 'ApiPklV1', // RegKlas 2018.11.01 '2' => 'ApiPklV2', // RegKMP 2020.01.01 - '_default' => 'ApiPklV2' + '3' => 'ApiPklV3', // local BNET 2020.05.01 + '_default' => 'ApiPklV3' ); $version = isset($parameters['version']) ? $parameters['version'] : '_default'; $apiClass = isset($versionClasses[$version]) ? $versionClasses[$version] : $versionClasses['_default']; @@ -234,4 +235,6 @@ class ApiPklV2 extends ApiPklV1 { } +class ApiPklV3 extends ApiPklV2 {} + ?> |