You are here

public function Notifications_Object::index in Notifications 7

Get object unique key as string. The default will be 'type:value'

File

./notifications.object.inc, line 160
Drupal Notifications Framework - Default class file

Class

Notifications_Object
Wrapper for Drupal objects

Code

public function index() {
  return $this->type . ':' . (isset($this->value) ? $this->value : 'empty');
}