You are here

function system_service_connect in Services 5

Same name and namespace in other branches
  1. 6 services/system_service/system_service.inc \system_service_connect()
  2. 6.2 services/system_service/system_service.inc \system_service_connect()
  3. 7 services/system_service/system_service.inc \system_service_connect()

Returns a specified node.

1 string reference to 'system_service_connect'
system_service_service in services/system_service/system_service.module
Implementation of hook_service().

File

services/system_service/system_service.module, line 136
The module which exposes services related to system activies

Code

function system_service_connect() {
  global $user;
  $return = new stdClass();
  $return->sessid = session_id();
  $return->user = $user;
  return $return;
}