Documentation

目次

前のトピックへ

< Class Phalcon\Mvc\Model\ValidationFailed

次のトピックへ

Class Phalcon\Mvc\Model\Validator\Email >

このページ

Abstract 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