public function EventHandler::getEditLock in Services Client 7.2
Retrieve edit lock if exists (other user is editing same event).
Return value
stdClass UID and timestamp of user which is editing.
1 call to EventHandler::getEditLock()
- EventHandler::objectCached in include/
event.inc - Retrieve instance of object initialized with object cache.
File
- include/
event.inc, line 504
Class
- EventHandler
- Event handler plugin.
Code
public function getEditLock() {
ctools_include('object-cache');
return ctools_object_cache_test('ctui_services_client', $this->event->name . '::configure');
}