[Extension] Pcclassexistsvalidator

Hi all,

I’ve published an extension that is used as a class validator to verify that an AR class attribute can take as value only valid names of classes. This is useful in occasions when you have a class file that refers to other models in your system, like ‘views counter’, ‘like functionality’ etc. In such an example, you could have a widget of ‘views counter’ and that will need to be told which class name (and id) it needs to display its counter for. This validator can make sure that only valid class names are used when such widgets are fired up.

The extension can be found here.