1.

How To Display The Schema Of The Model?

Answer»

If you want to DISPLAY the schema of particular MODEL then you just need to add the FOLLOWING single line of code.For example we have “Posts” CONTROLLER.

pr($this->POST->schema());

If you want to display the schema of particular model then you just need to add the following single line of code.For example we have “Posts” Controller.

pr($this->Post->schema());



Discussion

No Comment Found