You are here

function Notifications_Event::get_object in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications.event.inc \Notifications_Event::get_object()

Get single object

File

includes/notifications_event.class.inc, line 221
Drupal Notifications Framework - Default class file

Class

Notifications_Event
Message destination class

Code

function get_object($type) {
  $this
    ->load_objects();
  return isset($this->objects[$type]) ? $this->objects[$type] : NULL;
}