Elgg
Version 2.3
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:79
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
use
http free of to any person obtaining a copy of this software and associated documentation to deal in the Software without including without limitation the rights to use
Definition:
MIT-LICENSE.txt:5
Generated on Sat Dec 21 2024 00:01:03 for Elgg by
1.8.11