You are here

public function Notifications_Object::set_object in Notifications 7

Set object

1 call to Notifications_Object::set_object()
Notifications_Object::set_value in ./notifications.object.inc
Set value (reset object)

File

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

Class

Notifications_Object
Wrapper for Drupal objects

Code

public function set_object($object) {
  $this->object = $object;
  $this->value = $this
    ->object_value($object);
  return $this;
}