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