📜  cakephp 4 在一个方法中改变布局视图 - PHP 代码示例
📅  最后修改于: 2022-03-11 14:54:18.982000             🧑  作者: Mango
代码示例1
//chnage the layout in Cakephp 4 with the layout file called ajax.php
$this->viewBuilder()->setLayout('ajax');