KO 2.3.4 - Accessing validation array from callbacks in models
- by kenny99
Hi,
Apologies if this is an oversight or sheer stupidity on my part but I can't quite figure out how to access the validation array from a callback in a model (using ORM and KO 2.3.4). I want to be able to add specific error messages to the validation array if a callback returns false.
e.g
This register method:
public function register(array…