Wiki articles tagged with "virtual attribute"

Showing 1-1 of 1 item.

A universal model attribute for its synthetic representation

Created 5 years ago by Alexandre Rodichevski, updated 5 years ago by Alexandre Rodichevski.

It is convenient to use the same identification attribute, say info, in all of the active records of your application. It should be a virtual read-only attribute defined by a getter method, its label being the model name.

0 0
Viewed: 12 324 times
Version: 2.0
Category: Tips