Tabla de Contenidos

Tema anterior

< Class Phalcon\Mvc\Model\Transaction\Manager

Próximo tema

Class Phalcon\Mvc\Model\Validator\Email >

Esta página

Class Phalcon\Mvc\Model\Validator

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


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