You are here

public function hostingService_http_ssl::validate in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 web_server/ssl/hosting_ssl.service.inc \hostingService_http_ssl::validate()
  2. 7.4 web_server/ssl/hosting_ssl.service.inc \hostingService_http_ssl::validate()

Overrides hostingService::validate

File

web_server/ssl/hosting_ssl.service.inc, line 64
Define Hosting service class for SSL.

Class

hostingService_http_ssl
@file Define Hosting service class for SSL.

Code

public function validate(&$node, &$form, &$form_state) {
  parent::validate($node, $form, $form_state);
  if ((int) $this->ssl_port <= 0) {
    form_set_error('ssl_port', t("The port you specify must be a number."));
  }
}