Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
resources
manifest.json.php
Go to the documentation of this file.
1
<?php
2
3
elgg_set_http_header
(
'Content-Type: application/json;charset=utf-8'
);
4
5
$site
=
elgg_get_site_entity
();
6
$resource
= new \Elgg\Http\WebAppManifestResource(
$site
);
7
8
echo json_encode(
$resource
->get());
$site
$site
Definition:
manifest.json.php:5
$resource
$resource
Definition:
manifest.json.php:6
elgg_set_http_header
elgg_set_http_header(string $header, bool $replace=true)
Set a response HTTP header.
Definition:
elgglib.php:26
elgg_get_site_entity
elgg_get_site_entity()
Get the current site entity.
Definition:
entities.php:101
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11