Quantcast
Viewing all articles
Browse latest Browse all 3491

Re : Using Setters To Reject/Prevent Changes

You can override attr() to check the values before kicking up to _super(), but I think using the attributes plugin and writing a converter that checks for bad values is a cleaner approach.


Viewing all articles
Browse latest Browse all 3491

Trending Articles