Exemplo n.º 1
0
 public function actionIndex()
 {
     $model = new SysImportData();
     if (isset($_POST["SysImportData"])) {
         $_POST['SysImportData']['model'] = $_GET['m'];
         ServiceManager::start('ImportData', $_POST["SysImportData"]);
         return;
     }
     $this->renderForm("SysImportData", $model);
 }
Exemplo n.º 2
0
 public function actionStart($name)
 {
     ServiceManager::start($name, $_GET);
 }