コード例 #1
0
ファイル: AdminController.php プロジェクト: anton-itscript/WM
 public function actionSMSCommandSetup()
 {
     $SMSCOMPort = new SMSCOMPort();
     if ($_POST['setup_com']) {
         $SMSCOMPort->COM = $_POST['setup_com'];
         $SMSCOMPort->save();
     }
     return $this->render('setup_sms_command', array('SMSCOMPort' => $SMSCOMPort));
 }