Esempio n. 1
0
	/**
	 * 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);
	}
Esempio n. 2
0
	/**
	 * 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);
	}