Validation\Message::getMessage

public getMessage () Returns verbose message

Validation\Message::getField

public mixed getField () Returns field name related to message

Validation\Message::getCode

public getCode () Returns the message code

Validation\Message

implements Phalcon\Validation\MessageInterface Source on GitHub Encapsulates validation info generated in the validation process Methods public __construct (mixed $message, [mixed $field], [mixed $type], [mixed $code]) Phalcon\Validation\Message constructor public setType (mixed $type) Sets message type public getType () Returns message type public setMessage (mixed $message) Sets verbose message public getMessage () Returns verbose message public setField (mixed $field) Sets field name related

Validation\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Validation\CombinedFieldsValidator

extends abstract class Phalcon\Validation\Validator implements Phalcon\Validation\ValidatorInterface Source on GitHub Methods public __construct ([array $options]) inherited from Phalcon\Validation\Validator Phalcon\Validation\Validator constructor public isSetOption (mixed $key) inherited from Phalcon\Validation\Validator Checks if an option has been defined public hasOption (mixed $key) inherited from Phalcon\Validation\Validator Checks if an option is defined public getOption (mixed $key,

ValidationInterface::validate

abstract public validate ([mixed $data], [mixed $entity]) ...

ValidationInterface::setLabels

abstract public setLabels (array $labels) ...

ValidationInterface::setFilters

abstract public setFilters (mixed $field, mixed $filters) ...

ValidationInterface::setDefaultMessages

abstract public setDefaultMessages ([array $messages]) ...