Anyone Can Code

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

Archive for the ‘Cakephp’ Category

Cake php console command

Posted by jhalak on May 12, 2008

path/to/php/php5.2.5>php -q path/to/cake/application/cake/console/cake.php bake

Posted in Cakephp | 2 Comments »

A form without a model in cakephp

Posted by jhalak on January 10, 2008

The form without a model can be created with the $form->create(‘null’, array(‘action’, ‘functionName’));

Posted in Cakephp | 1 Comment »

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;
}

Posted in Cakephp | Leave a Comment »