We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

[SOLVED] Phalcon\Mvc\Model::validation() and non-model validators

Guys,

I've described the problem here:

https://stackoverflow.com/questions/19101271/phalcon-mvc-modelvalidation-and-non-model-validators

Any idea what am I doing wrong?

Thanks!



51.4k

I've updated StackOverflow question with workaround code.



51.4k

That's what I am using, I didn't notice that I pasted aliased class names. Fixed it.

You think there's "more correct" solution?