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