Example #1
0
 public static function Instance()
 {
     if (self::$instance == null) {
         self::$instance = new M_Comment();
     }
     return self::$instance;
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->needLogin = true;
     $this->mRasp = M_Rasp::Instance();
     $this->mUsers = M_Users::Instance();
     $this->mComm = M_Comment::Instance();
 }