コード例 #1
0
 /**
  * The purpose of this function is to return all installed message objects (messengers and message type regardless of whether they are ACTIVE or not)
  * @param string $type
  * @return array array consisting of installed messenger objects and installed message type objects.
  */
 public static function get_installed_message_objects($type = 'all')
 {
     self::_set_autoloader();
     //get all installed messengers and message_types
     $EE_MSG = new EE_messages();
     $installed_message_objects = $EE_MSG->get_installed($type);
     return $installed_message_objects;
 }
コード例 #2
0
 /**
  * The purpose of this function is to return all installed message objects (messengers and message type regardless of whether they are ACTIVE or not)
  * @return array array consisting of installed messenger objects and installed message type objects.
  */
 protected function _get_installed_message_objects()
 {
     //get all installed messengers and message_types
     $EE_MSG = new EE_messages();
     $installed_message_objects = $EE_MSG->get_installed();
     return $installed_message_objects;
 }