Exemplo n.º 1
0
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new M_SmsRasp();
     }
     return self::$instance;
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     //$this->needLogin = true; // раскомментируйте, чтобы закрыть неавторизованный доступ к странице
     $this->mSmsRasp = M_SmsRasp::Instance();
     $this->mRasp = M_Rasp::Instance();
 }
Exemplo n.º 3
0
 function __construct()
 {
     $this->needLogin = false;
     $this->user = null;
     $this->mUsers = M_Users::Instance();
     $this->mVK = M_VK::Instance();
     $this->mUsers = M_Users::Instance();
     $this->mSmsRasp = M_SmsRasp::Instance();
 }