Beispiel #1
0
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new M_Sms();
     }
     return self::$instance;
 }
Beispiel #2
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();
 }
Beispiel #3
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();
 }