コード例 #1
0
ファイル: M_Sender.php プロジェクト: ninetw/chsuinfo
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new M_Sender();
     }
     return self::$instance;
 }
コード例 #2
0
ファイル: C_Sender.php プロジェクト: ninetw/chsuinfo
 function __construct()
 {
     parent::__construct();
     // Менеджеры.
     $this->mSender = M_Sender::Instance();
     $this->mSms = M_Sms::Instance();
     $this->mRasp = M_Rasp::Instance();
     $this->mVK = M_VK::Instance();
 }