You are here

protected function EventHandler::getConnectionId in Services Client 7.2

Retrieve remote connection id.

Return value

string Remote connection id if exists.

3 calls to EventHandler::getConnectionId()
EntityDeleteHandler::execute in include/event.inc
Execute event and send event to remove endpoint.
EntitySaveHandler::execute in include/event.inc
Execute event and send event to remove endpoint.
EventHandler::getControlData in include/event.inc
Retrieve controll data for current entity.

File

include/event.inc, line 103

Class

EventHandler
Event handler plugin.

Code

protected function getConnectionId() {
  $connection = services_client_connection_load($this->event->connection);
  return isset($connection->services_client_id) ? $connection->services_client_id : NULL;
}