You are here

public function hostingService::update in Hosting 7.3

Same name and namespace in other branches
  1. 6.2 server/hosting_server.service.inc \hostingService::update()
  2. 7.4 server/hosting_server.service.inc \hostingService::update()
3 calls to hostingService::update()
hostingService_db_mysql::update in db_server/hosting_db_server.service.inc
hostingService_example_basic::update in example/example_service/hosting_example.service.inc
Update a record in the database.
hostingService_http_public::update in web_server/hosting_web_server.service.inc
3 methods override hostingService::update()
hostingService_db_mysql::update in db_server/hosting_db_server.service.inc
hostingService_example_basic::update in example/example_service/hosting_example.service.inc
Update a record in the database.
hostingService_http_public::update in web_server/hosting_web_server.service.inc

File

server/hosting_server.service.inc, line 111
Define the base Hosting service class.

Class

hostingService
@file Define the base Hosting service class.

Code

public function update() {
  $this
    ->delete_revision();
  $this
    ->insert();
}