コード例 #1
0
ファイル: notify_log_dao.php プロジェクト: hardikamutech/loov
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
コード例 #2
0
ファイル: service.php プロジェクト: hardikamutech/loov
 private function __construct()
 {
     $this->markDto = BOOKMARKS_BOL_MarkDao::getInstance();
     $this->notifyLogDao = BOOKMARKS_BOL_NotifyLogDao::getInstance();
 }
コード例 #3
0
ファイル: event_handler.php プロジェクト: hardikamutech/loov
 public function onUserLogin(OW_Event $event)
 {
     $params = $event->getParams();
     BOOKMARKS_BOL_NotifyLogDao::getInstance()->notifyLogDeleteByUserId($params['userId']);
 }