Anyone Can Code

Not everyone is a coder, but a coder can come from anywhere

A Model without a database table in cakephp

Posted by jhalak on January 9, 2008

To create a model without a database table in cakephp you have to create a model of the controller which will contain :

class ControllerClass extends AppModel
{
var $useTable = false;
}

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>