Answers for "cakephp 4 change layout view in a method"

PHP
1

cakephp 4 change layout view in a method

//chnage the layout in Cakephp 4 with the layout file called ajax.php
$this->viewBuilder()->setLayout('ajax');
Posted by: Guest on October-26-2020

Browse Popular Code Answers by Language