Commit 12471b1
committed
Add support to "serialize" option when set to true
When the viewBuilder's "serialize" option is set to true, all the view
variables are serialized. Some controllers classes can use this feature
in your 'initialize' methods to avoid set up this option in all your
actions.
[1] - https://api.cakephp.org/4.2/class-Cake.View.JsonView.html
[2] - https://api.cakephp.org/4.2/class-Cake.View.XmlView.html1 parent 66a6843 commit 12471b1
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
0 commit comments