I'm newbie. I'm using cake bake console . Then the problem is when using
command "*cake bake controller Types*"
then the output :
<?php
class TypesController extends AppController {
var $name = 'Types';
var $scaffold;
}
?>
but if using command "*cake bake controller Types scaffold*" then the
output generate add(), edit() , etc
<?php
class TypesController extends AppController {
var $name = 'Types';
var $helpers = array('Html', 'Form');
function index() {
$this->Type->recursive = 0;
$this->set('types', $this->paginate());
}
.....
I'm using CakePHP 1.2 Night 21 may 2008. Anybody can say what happen? I'm
get chat in #cakePHP,
then somebody say it backward. I'm confuse with it. Which one good for
using?
thanks
--
yodiaditya
http://yodi.web.id
http://re.web.id
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---