Cakephp controller without a model

To force cakephp controller not to use a model set the $uses variable to an empty array like the snippet below:

Class MyController extends AppController {

var $uses = array();


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>