1.

How To Add Scaffolding In Your Application?

Answer»

To add scaffolding to your APPLICATION,just add the $scaffold VARIABLE in the controller,

<?php
CLASS PostsController extends AppController {
var $scaffold;
}
?>

Assuming you’ve created POST model class FILE (in /app/Model/post.php).

To add scaffolding to your application,just add the $scaffold variable in the controller,

<?php
class PostsController extends AppController {
var $scaffold;
}
?>

Assuming you’ve created Post model class file (in /app/Model/post.php).



Discussion

No Comment Found