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();
}
Roger's Blog
Author Archive
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();
}
If you ever wonder how to use cake model without a database table, check the snippet below:
Class MyModel extends AppModel {
$useTable = false;
}
One of the ways to redirect back to referrer page inside the controller is to use Controller::referer() method :
$this->redirect(Controller::referer());
I was wondering if it is possible to connect these two great applications and here you go I am writing in Journal and the post is saved in wordpress blog very sweet and very easy to setup
Yes finally Roger’s Blog is online