You are here

function Messaging_Method::method_info in Messaging 7

Get info property

4 calls to Messaging_Method::method_info()
Messaging_Method::get_description in ./messaging.method.inc
Get method description, may be overridden by info properties
Messaging_Method::get_name in ./messaging.method.inc
Get method name, may be overridden by info properties
Messaging_Method::get_title in ./messaging.method.inc
Get method title for administrator list
Messaging_Send_Method::user_access in ./messaging.method.inc
Check user access to this method

File

./messaging.method.inc, line 60
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Method
Base class for all Incoming and Sending methods

Code

function method_info($property = NULL, $default = NULL) {
  if ($property) {
    return isset($this->info[$property]) ? $this->info[$property] : $default;
  }
  else {
    return $this->info;
  }
}