示例#1
0
 /**
  * Lists all models.
  */
 public function actionIndex()
 {
     $model = new SmsLog('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['SmsLog'])) {
         $model->attributes = $_GET['SmsLog'];
     }
     $this->render('index', array('model' => $model));
 }