public function hostingService::getName in Hosting 7.4
Same name and namespace in other branches
- 7.3 server/hosting_server.service.inc \hostingService::getName()
Returns human readable name for this service.
File
- server/
hosting_server.service.inc, line 37 - Define the base Hosting service class.
Class
- hostingService
- @file Define the base Hosting service class.
Code
public function getName() {
if (empty($this->name)) {
return $this->type;
}
else {
return $this->name;
}
}