回答編集履歴
1
追記
test
CHANGED
@@ -1 +1,43 @@
|
|
1
1
|
Endif おおくありませんか?
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
追記
|
6
|
+
|
7
|
+
---
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
通常以下のように `render` にて第二引数に指定した配列に定義したものしかシンプルネームで処理ができません。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
```php
|
18
|
+
|
19
|
+
return $app->render('Product/list.twig', array(
|
20
|
+
|
21
|
+
'subtitle' => $this->getPageTitle($searchData),
|
22
|
+
|
23
|
+
'pagination' => $pagination,
|
24
|
+
|
25
|
+
'search_form' => $searchForm->createView(),
|
26
|
+
|
27
|
+
'disp_number_form' => $dispNumberForm->createView(),
|
28
|
+
|
29
|
+
'order_by_form' => $orderByForm->createView(),
|
30
|
+
|
31
|
+
'forms' => $forms,
|
32
|
+
|
33
|
+
'Category' => $Category,
|
34
|
+
|
35
|
+
));
|
36
|
+
|
37
|
+
```
|
38
|
+
|
39
|
+
イベント TwigEvent のフックポイントでこのパラメーターは追加変更が可能です。
|
40
|
+
|
41
|
+
※この場合のフックポイント名は [Product/list.twig] だったはず
|
42
|
+
|
43
|
+
|