how to add validation for a specific class

Discussion for TimeTrex open source community developers.
Post Reply
joshsard
Posts: 55
Joined: Sun Feb 14, 2016 6:09 pm

how to add validation for a specific class

Post by joshsard » Thu Mar 03, 2016 2:51 am

Hi,

As i know, we have a Validator.class.php, wherein its functions are called from different classes like ScheduleFactory.class.php.
I want to know if there's an existing way on adding custom validation function in a specific class, and not creating and calling it from Validator.class.php?

Thanks

Post Reply