Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to set layout in the controller?



How to set layout in the controller?..

Answer / Rakesh Kumar Lohani

To set a specific layout in a CakePHP controller, you can use the 'layout' property within your controller class. For example: class MyController extends AppController { public $layout = 'my_layout'; }

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CakePHP Interview Questions

how to check cakephp version in ubuntu?

1 Answers  


Which function is executed before every action in the controller?

1 Answers  


List some commonly used cakephp components?

1 Answers  


List different type of cache cakephp supports?

1 Answers  


What are are drawbacks of cakephp.

1 Answers  


What is composer?

1 Answers  


What is default function and default controller of cakephp which is called automatically?

1 Answers  


What is cakephp used for?

1 Answers  


What is a element?

1 Answers  


How to fetch data from database in cakephp?

1 Answers  


What are components in cakephp.

1 Answers  


What is habtm?

1 Answers  


Categories