You are here

function Messaging_Object::key in Messaging 6.4

Get unike id key

7 calls to Messaging_Object::key()
Messaging_Cached_Object::cache_delete in includes/messaging_object.class.inc
Delete object from cache
Messaging_Cached_Object::cache_save in includes/messaging_object.class.inc
Save object to cache
Messaging_Cached_Object::delete in includes/messaging_object.class.inc
Delete from system and from static cache
Messaging_Object::delete in includes/messaging_object.class.inc
Delete from system database
Messaging_Object::is_instance in includes/messaging_object.class.inc
Check whether this object is an instance or just a template

... See full list

File

includes/messaging_object.class.inc, line 186
Drupal Messaging Framework - Base classes

Class

Messaging_Object
Messaging persistent object

Code

function key() {
  return isset($this->{$this
    ->db_key()}) ? $this->{$this
    ->db_key()} : NULL;
}