Elgg
Version 5.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Http
WebAppManifestResource.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Http
;
4
15
class
WebAppManifestResource
{
16
18
private
$site;
19
25
public
function
__construct
(\
ElggSite
$site) {
26
$this->site = $site;
27
}
28
34
public
function
get
() {
35
return
[
36
'display'
=>
'standalone'
,
37
'name'
=> $this->site->getDisplayName(),
38
'start_url'
=> $this->site->getUrl(),
39
];
40
}
41
}
Elgg\Http\WebAppManifestResource\__construct
__construct(\ElggSite $site)
Constructor.
Definition:
WebAppManifestResource.php:25
Elgg\Http\WebAppManifestResource
Overview: http://html5doctor.com/web-manifest-specification/ Spec: https://w3c.github.io/manifest/.
Definition:
WebAppManifestResource.php:15
Elgg\Http
Definition:
Client.php:3
ElggSite
Definition:
ElggSite.php:26
Generated on Thu Dec 7 2023 00:00:24 for Elgg by
1.8.11