You are here

function hostingService_http_ssl::insert in Hosting 7.3

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

Overrides hostingService::insert

File

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

Class

hostingService_http_ssl
@file Define Hosting service class for SSL.

Code

function insert() {
  parent::insert();
  $id = db_insert('hosting_ssl_server')
    ->fields(array(
    'vid' => $this->server->vid,
    'nid' => $this->server->nid,
    'ssl_port' => $this->ssl_port,
  ))
    ->execute();
}