src/Eccube/Controller/Admin/Product/ClassCategoryController.php 1 location
|
@@ 132-140 (lines=9) @@
|
129 |
|
return $this->redirectToRoute('admin_product_class_category', ['class_name_id' => $ClassName->getId()]); |
130 |
|
} |
131 |
|
|
132 |
|
foreach ($forms as $editForm) { |
133 |
|
$editForm->handleRequest($request); |
134 |
|
if ($editForm->isSubmitted() && $editForm->isValid()) { |
135 |
|
$this->classCategoryRepository->save($editForm->getData()); |
136 |
|
$this->addSuccess('admin.common.save_complete', 'admin'); |
137 |
|
|
138 |
|
return $this->redirectToRoute('admin_product_class_category', ['class_name_id' => $ClassName->getId()]); |
139 |
|
} |
140 |
|
} |
141 |
|
} |
142 |
|
|
143 |
|
$formViews = []; |
src/Eccube/Controller/Admin/Product/ClassNameController.php 1 location
|
@@ 113-122 (lines=10) @@
|
110 |
|
/* |
111 |
|
* 編集処理 |
112 |
|
*/ |
113 |
|
foreach ($forms as $editForm) { |
114 |
|
$editForm->handleRequest($request); |
115 |
|
if ($editForm->isSubmitted() && $editForm->isValid()) { |
116 |
|
$this->classNameRepository->save($editForm->getData()); |
117 |
|
|
118 |
|
$this->addSuccess('admin.common.save_complete', 'admin'); |
119 |
|
|
120 |
|
return $this->redirectToRoute('admin_product_class_name'); |
121 |
|
} |
122 |
|
} |
123 |
|
} |
124 |
|
$formViews = []; |
125 |
|
foreach ($forms as $key => $value) { |
src/Eccube/Controller/Admin/Product/TagController.php 1 location
|
@@ 99-110 (lines=12) @@
|
96 |
|
/* |
97 |
|
* 編集処理 |
98 |
|
*/ |
99 |
|
foreach ($forms as $editForm) { |
100 |
|
$editForm->handleRequest($request); |
101 |
|
if ($editForm->isSubmitted() && $editForm->isValid()) { |
102 |
|
$this->tagRepository->save($editForm->getData()); |
103 |
|
|
104 |
|
$this->dispatchComplete($request, $editForm, $editForm->getData()); |
105 |
|
|
106 |
|
$this->addSuccess('admin.common.save_complete', 'admin'); |
107 |
|
|
108 |
|
return $this->redirectToRoute('admin_product_tag'); |
109 |
|
} |
110 |
|
} |
111 |
|
} |
112 |
|
|
113 |
|
$formViews = []; |