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); }
public function actionStart($name) { ServiceManager::start($name, $_GET); }