Commit 06280e10 authored by Jon Pugh's avatar Jon Pugh

Create stub methods for Service::server_options(), Service::platform_options()...

Create stub methods for Service::server_options(), Service::platform_options() and Service::site_options()
parent 618b1691
......@@ -64,6 +64,34 @@ class Service {
public function getName() {
return $this::SERVICE;
}
/**
* Return a list of user configurable options that this service provides to Server Context objects.
*/
static function server_options() {
return [
'http_port' => 'The port which the web service is running on.',
'web_group' => 'server with http: OS group for permissions; working default will be attempted',
];
}
/**
* Return a list of user configurable options that this service provides to Platform Context objects.
*/
static function platform_options() {
return [
'platform_extra_config' => 'Extra lines of configuration to add to this platform.',
];
}
/**
* Return a list of user configurable options that this service provides to Site Context objects.
*/
static function site_options() {
return [
'site_mail' => 'The email address to use for the ServerAdmin configuration.',
];
}
/**
* LEGACY
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment