Return to Snippet

Revision: 15949
at July 21, 2009 11:13 by jpsirois


Initial Code
//### A controller without a model
//### From CakeBaker at :
//### http://cakebaker.42dh.com/2006/02/01/a-controller-without-a-model/

class MyController extends AppController
{
    // var $uses = null; works too
    var $uses = array();

    function index()
    {
    }
}

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

Initial Description

                                

Initial Title
CakePHP controller without a model

Initial Tags
cakephp

Initial Language
PHP