Table Of Contents

Previous topic

< Interface Phalcon\Mvc\Model\Transaction\ManagerInterface

Next topic

Interface Phalcon\Mvc\ModuleDefinitionInterface >

Interface Phalcon\Mvc\Model\ValidatorInterface

Phalcon\Mvc\Model\ValidatorInterface initializer

Methods

abstract public array getMessages ()

Returns messages generated by the validator

abstract public boolean validate (Phalcon\Mvc\ModelInterface $record)

Executes the validator