You are here

function system_service_connect in Services 7

Same name and namespace in other branches
  1. 5 services/system_service/system_service.module \system_service_connect()
  2. 6 services/system_service/system_service.inc \system_service_connect()
  3. 6.2 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.inc, line 11
@author Services Dev Team

Code

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