I want to create a model in which there are SOME attributes that are not stored in the database. For example, I want to save the "age" field in the model, but I only store the birthday information in the database (I can calculate the "age" after loading the DOB information). I tried to add a simple attribute to the model extension, but as far as I can tell, it ignored CakePHP. What is the right way to do this?
I am new to CakePHP, so forgive me if I miss something obvious.
source share