/** * Creates a new model. * If creation is successful, the browser will be redirected to the 'view' page. */ public function actionCreate() { $model=new Templates; $name='Templates'; parent::actionCreate($model, $name); }
/** * Creates a new model. * If creation is successful, the browser will be redirected to the 'view' page. */ public function actionCreate() { $model=new MarketingChild; $name='MarketingChild'; parent::actionCreate($model, $name); }