You are here

public static function Messaging_Object::build_object in Messaging 7

They need a build function

2 methods override Messaging_Object::build_object()
Messaging_Destination::build_object in ./messaging.destination.inc
Build destination from db object
Messaging_Simple::build_object in messaging_simple/messaging_simple.inc
Build from db object

File

./messaging.module, line 48

Class

Messaging_Object
Base class for all Notifications objects

Code

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