Posted By

jpsirois on 07/21/09


Tagged

controller cakephp model


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

irishsk
esritter


CakePHP controller without a model


 / Published in: PHP
 

URL: http://cakebaker.42dh.com/2006/02/01/a-controller-without-a-model/

  1. //### A controller without a model
  2. //### From CakeBaker at :
  3. //### http://cakebaker.42dh.com/2006/02/01/a-controller-without-a-model/
  4.  
  5. class MyController extends AppController
  6. {
  7. // var $uses = null; works too
  8. var $uses = array();
  9.  
  10. function index()
  11. {
  12. }
  13. }

Report this snippet  

You need to login to post a comment.