diff --git a/webapp/controller/BaseController.class.php b/webapp/controller/BaseController.class.php index 548fe7f7..af2212d8 100644 --- a/webapp/controller/BaseController.class.php +++ b/webapp/controller/BaseController.class.php @@ -7,6 +7,7 @@ class BaseController { private $nowtime = 0; private $marketDbConn = null; private $relationDbConn = null; + private $timeOffset = 0; function __construct() { @@ -27,7 +28,17 @@ class BaseController { public function _getNowTime() { - return $this->nowtime; + return $this->nowtime + $this->timeOffset; + } + + public function _getTimeOffset() + { + return $this->timeOffset; + } + + public function _setTimeOffset($seconds) + { + $this->timeOffset = seconds; } public function _getTodayLeadStr()