function Messaging_Method::__construct in Messaging 6.4
Same name and namespace in other branches
- 7 messaging.method.inc \Messaging_Method::__construct()
Build send method from info array
Some of the array values will be set as properties for the object. Some others won't as they're just for formatting, so they'll be kept only in the $object->info array
1 call to Messaging_Method::__construct()
- Messaging_Send_Method::__construct in includes/
messaging_method.class.inc - Build send method from info array
1 method overrides Messaging_Method::__construct()
- Messaging_Send_Method::__construct in includes/
messaging_method.class.inc - Build send method from info array
File
- includes/
messaging_method.class.inc, line 42 - Drupal Messaging Framework - Send_Method class file
Class
- Messaging_Method
- Base class for all Incoming and Sending methods
Code
function __construct($method, $info = array()) {
$this->method = $method;
$this->info = $info;
$this
->set_properties($info, 'type', 'title', 'name', 'group', 'description', 'enabled');
}