コード例 #1
0
 public function actionStatic()
 {
     $test = new UserTest();
     echo $test->s();
     $t = new UserTest();
     echo $t->s();
     echo $test->s();
 }
コード例 #2
0
 /**
  *
  */
 public function actionTry()
 {
     UserTest::one();
     echo '控制器了!';
 }