Fork me on GitHub
Heads up!
These docs are for Crud v3 - that only works with CakePHP 2.x. For CRUD v4 docs please go to the new documentation site
The CRUD v4 documentation has been completely rewritten, and since CRUD v3 and CRUD v4 API is ~95% identical, it may be worth a look for CRUD v3 users as well until v4 docs are backported for v3.
...toc....

Conventions

The Crud component always operates on the $modelClass of your controller, that’s the first model in your $uses array

Crud follows the CakePHP bake / scaffold conventions by default.

UsersController::index() will have a $users property with the paginated list of users

UsersController::view() will have a $user property with the single user

Listeners names is in UpperCamelBack format like Helpers, Behaviors and Components in CakePHP




comments powered by Disqus