You are here

public static function Notifications_Entity::build_object in Notifications 7

Build from db object or template

2 methods override Notifications_Entity::build_object()
Notifications_Event::build_object in ./notifications.event.inc
Build Event from db object
Notifications_Subscription::build_object in ./notifications.subscription.inc
Build from db object or template.

File

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

Class

Notifications_Entity
Base class for all Notifications entities

Code

public static function build_object($object) {
  return new Notifications_Entity($object);
}