function system_service_connect in Services 6.2
Same name and namespace in other branches
- 5 services/system_service/system_service.module \system_service_connect()
- 6 services/system_service/system_service.inc \system_service_connect()
- 7 services/system_service/system_service.inc \system_service_connect()
Create a new anonymous session for services.
Return value
A new session object.
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 14 - Link general system functionalities to services module.
Code
function system_service_connect() {
global $user;
$return = new stdClass();
$return->sessid = session_id();
$return->user = $user;
return $return;
}