abstract class Messaging_Object in Messaging 7
Same name and namespace in other branches
- 6.4 includes/messaging_object.class.inc \Messaging_Object
Base class for all Notifications objects
Hierarchy
- class \Messaging_Object
Expanded class hierarchy of Messaging_Object
File
- ./
messaging.module, line 32
View source
abstract class Messaging_Object {
/**
* Constructor
*/
public function __construct($template = NULL) {
if ($template) {
$properties = (array) $template;
foreach ($properties as $key => $value) {
$this->{$key} = $value;
}
}
}
/**
* They need a build function
*/
public static function build_object($object) {
return new Messaging_Object($object);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Messaging_Object:: |
public static | function | They need a build function | 2 |
Messaging_Object:: |
public | function | Constructor |