Example #1
0
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new M_VK();
     }
     return self::$instance;
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     // Менеджеры.
     $this->mVK = M_VK::Instance();
     $this->token = $this->mVK->OAuth(LOGIN, PASSWORD);
 }
Example #3
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 #4
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();
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     $this->mVK = M_VK::Instance();
 }