Interface Phalcon\ValidationInterface

Source on GitHub

Methods

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

abstract public add (mixed $field, Phalcon\Validation\ValidatorInterface $validator)

abstract public rule (mixed $field, Phalcon\Validation\ValidatorInterface $validator)

abstract public rules (mixed $field, array $validators)

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

abstract public getFilters ([mixed $field])

abstract public getValidators ()

abstract public getEntity ()

abstract public setDefaultMessages ([array $messages])

abstract public getDefaultMessage (mixed $type)

abstract public getMessages ()

abstract public setLabels (array $labels)

abstract public getLabel (mixed $field)

abstract public appendMessage (Phalcon\Validation\MessageInterface $message)

abstract public bind (mixed $entity, mixed $data)

abstract public getValue (mixed $field)