Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
JsonApiRestServer.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\controllers\rest\api\jsonapi
;
4
5
use
Ubiquity\controllers\rest\RestServer
;
6
16
class
JsonApiRestServer
extends
RestServer
{
17
18
public
function
__construct
(&
$config
) {
19
parent::__construct (
$config
);
20
$this->headers [
'Content-Type'
] =
'application/vnd.api+json; charset=utf8'
;
21
}
22
}
23
Ubiquity\controllers\rest\RestServer
Rest server base class.
Definition
RestServer.php:21
Ubiquity\controllers\rest\RestServer\$config
$config
Definition
RestServer.php:26
Ubiquity\controllers\rest\api\jsonapi\JsonApiRestServer
Rest server for JsonAPI 1.0.
Definition
JsonApiRestServer.php:16
Ubiquity\controllers\rest\api\jsonapi\JsonApiRestServer\__construct
__construct(&$config)
Definition
JsonApiRestServer.php:18
Ubiquity\controllers\rest\api\jsonapi
JsonApi implementation.
Definition
JsonApiRestController.php:6
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity
src
Ubiquity
controllers
rest
api
jsonapi
JsonApiRestServer.php
Generated on Sun Dec 10 2023 15:04:18 for
Ubiquity
by
doxygen
1.9.8