Example #1
0
 function __construct()
 {
     parent::__construct();
     //$this->needLogin = true; // раскомментируйте, чтобы закрыть неавторизованный доступ к странице
     $this->mSmsRasp = M_SmsRasp::Instance();
     $this->mRasp = M_Rasp::Instance();
 }
Example #2
0
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new M_Rasp();
     }
     return self::$instance;
 }
Example #3
0
 function __construct()
 {
     parent::__construct();
     $this->needLogin = true;
     $this->mRasp = M_Rasp::Instance();
     $this->mUsers = M_Users::Instance();
     $this->mComm = M_Comment::Instance();
 }
Example #4
0
 function __construct()
 {
     parent::__construct();
     // Менеджеры.
     $this->mSender = M_Sender::Instance();
     $this->mSms = M_Sms::Instance();
     $this->mRasp = M_Rasp::Instance();
     $this->mVK = M_VK::Instance();
 }
Example #5
0
 function __construct()
 {
     parent::__construct();
     // Подключаем менеджер работы с расписанием.
     $this->mRasp = M_Rasp::Instance();
     $this->mUsers = M_Users::Instance();
     //Получаем текущую неделю
     $this->now_week = $this->mRasp->get_num_edu_week(date("d-m-Y"));
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
     $this->needLogin = true;
     // раскомментируйте, чтобы закрыть неавторизованный доступ к странице
     // Менеджеры.
     $this->mUsers = M_Users::Instance();
     $this->mSms = M_Sms::Instance();
     $this->mRasp = M_Rasp::Instance();
     $this->mSet = M_Setting::Instance();
 }