function Messaging_Send_Method::__construct in Messaging 6.4
Same name and namespace in other branches
- 6.3 classes/messaging_method.class.inc \Messaging_Send_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
Overrides Messaging_Method::__construct
File
- includes/
messaging_method.class.inc, line 176 - Drupal Messaging Framework - Send_Method class file
Class
- Messaging_Send_Method
- Sending method, implements all specific method functionality
Code
function __construct($method, $info = array()) {
parent::__construct($method, $info);
$this
->set_properties($info, 'address_type', 'anonymous', 'queue', 'log');
// Pull methods will have always queueing enabled
$this->queue = $this->queue || $this->type & self::TYPE_PULL;
}