Elgg
Version 1.11
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
namespace
Elgg\Http
;
3
4
use
ElggSite
;
5
18
class
WebAppManifestResource
{
20
private
$site;
21
27
public
function
__construct
(
ElggSite
$site) {
28
$this->
site
= $site;
29
}
30
36
public
function
get
() {
37
return
[
38
'display'
=>
'standalone'
,
39
'name'
=> $this->
site
->getDisplayName(),
40
'start_url'
=> $this->
site
->getUrl(),
41
];
42
}
43
}
site
$CONFIG site
The current site object.
Definition:
config.php:136
Elgg\Http\WebAppManifestResource\__construct
__construct(ElggSite $site)
Constructor.
Definition:
WebAppManifestResource.php:27
ElggSite
Elgg\Http\WebAppManifestResource
Definition:
WebAppManifestResource.php:18
Elgg\Http
Definition:
DatabaseSessionHandler.php:2
Generated on Sat Dec 21 2024 00:00:49 for Elgg by
1.8.11