You are here

function hosting_node_help in Hosting 7.4

Same name and namespace in other branches
  1. 5 hosting_help.inc \hosting_node_help()
  2. 6.2 hosting.module \hosting_node_help()
  3. 7.3 hosting.module \hosting_node_help()

Per node type description text. To be stored in the node_type table.

Parameters

string $type: The node type.

Return value

string Description text for the node type.

6 calls to hosting_node_help()
hosting_client_node_info in client/hosting_client.module
Implements hook_node_info().
hosting_package_node_info in package/hosting_package.module
Implements hook_node_info().
hosting_platform_node_info in platform/hosting_platform.module
Implements hook_node_info().
hosting_server_node_info in server/hosting_server.module
Implements hook_node_info().
hosting_site_node_info in site/hosting_site.nodeapi.inc
Implements hook_node_info().

... See full list

File

./hosting.module, line 483
Hosting module.

Code

function hosting_node_help($type) {
  switch ($type) {
    case 'site':
      return t("<strong>An instance of a hosted site.</strong>\nIt contains information relating to the site, most notably the domain name, database server and platform it is being published on. A site may also have several aliases for additional domains the site needs to be accessible on.");
    case 'platform':
      return t("<strong>The file system location on a specific web server on which to publish sites.</strong>\nMultiple platforms can co-exist on the same web server, and need to do so for upgrades to be managed, as this is accomplished by migrating the site between platforms. Platforms are most commonly built for specific releases of Drupal.");
    case 'client':
      return t("<strong>The person or group that runs the site.</strong>\nThis information is usually required for billing and access purposes, to ensure that only certain people are able to view the information for sites they run. If you do not intend on having more than one client access the system, you will not need to create any additional clients for your purposes.");
    case 'server':
      return t("<strong>The physical machine which will provide various services to your site.</strong>\n Each server can have multiple services associated to it. To host a site you require a database service and a web service, which can either be provided by a single or multiple servers.");
    case 'task':
      return t("<strong>The mechanism whereby Hostmaster keeps track of all changes that occur to the system.</strong>\nEach task acts as a command for the back-end, and contains a full log of all changes that have occurred. If a task should fail, the administrator will be notified with an explanation of exactly what went wrong, and how to fix it.");
    case 'package':
      return t("PLACEHOLDER");
  }
}