Example #1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return NOTIFICATIONS_BOL_NotificationDao
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Example #2
0
 public function setNotificationStatusByPluginKey($pluginKey, $status)
 {
     $this->notificationDao->setNotificationStatusByPluginKey($pluginKey, $status);
 }