Table Of Contents

Previous topic

Class Phalcon\Mvc\Model\Transaction\Manager

Next topic

Class Phalcon\Mvc\Model\Validator\Email

This Page

Class Phalcon\Mvc\Model\Validator

This is a base class for Phalcon\Mvc\Model validators

Methods

public __construct (array $options)

Phalcon\Mvc\Model\Validator constructor

protected appendMessage ()

Appends a message to the validator

public array getMessages ()

Returns messages generated by the validator

protected array getOptions ()

Returns all the options from the validator

protected mixed getOption ()

Returns an option

protected boolean isSetOption ()

Check whether a option has been defined in the validator options