public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Exemple #2
0
 private function __construct()
 {
     $this->markDto = BOOKMARKS_BOL_MarkDao::getInstance();
     $this->notifyLogDao = BOOKMARKS_BOL_NotifyLogDao::getInstance();
 }
Exemple #3
0
 public function onUserLogin(OW_Event $event)
 {
     $params = $event->getParams();
     BOOKMARKS_BOL_NotifyLogDao::getInstance()->notifyLogDeleteByUserId($params['userId']);
 }