public static function HeartbeatMessagePool::getInstance in Heartbeat 7
getInstance().
File
- ./
heartbeat.module, line 976 - Module file for heartbeat activity. Basic hook implementations and helper functions will be found here.
Class
- HeartbeatMessagePool
- Class to keep HeartbeatActivity messages in a pool so plugins and such can get the message instead of reloading them.
Code
public static function getInstance() {
if (!isset(self::$instance)) {
self::$instance = new HeartbeatMessagePool();
}
return self::$instance;
}