Question : cakephp 4 change layout view in a method
Answered by : fierce-falcon-ogu3htcorphu
//chnage the layout in Cakephp 4 with the layout file called ajax.php
$this->viewBuilder()->setLayout('ajax');
Source : | Last Update : Mon, 02 Nov 20
Question : cakephp
Answered by : zany-zebra-elvv0w3dmekm
composer create-project --prefer-dist cakephp/app:~4.0 my_app_name
Source : https://book.cakephp.org/4/en/installation.html | Last Update : Tue, 20 Jul 21
Question : cakephp 3
Answered by : ahsan-habib-3ts9b0ozoyzt
$data = $this->SpecialOffer->find('all',array('conditions' => array('SpecialOffer.user_id' => $userId ,'FIND_IN_SET(''. $storeId .'',SpecialOffer.stores1)')));
Source : | Last Update : Wed, 19 Jan 22