Advertisement

Adding Automagic Fields

Abstract

In many other MVC frameworks, certain database fields have special significance when a user accesses the model data. These fields are often called magic fields, because the underlying controller automatically works out which value it should contain. Cake also has such magic fields.

Keywords

Model Behavior Custom Behavior Behavior Class Attached Behavior Behavior File 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Kai Chan and John Omokore with Richard K. Miller 2009

Personalised recommendations