Validation\Message\Group::filter

public array filter (string $fieldName) Filters the message group by field name

Validation\Message\Group::current

public current () Returns the current message in the iterator

Validation\Message\Group::count

public count () Returns the number of messages in the list

Validation\Message\Group::appendMessages

public appendMessages (Phalcon\Validation\MessageInterface[] $messages) Appends an array of messages to the group $messages->appendMessages($messagesArray);

Validation\Message\Group::appendMessage

public appendMessage (Phalcon\Validation\MessageInterface $message) Appends a message to the group $messages->appendMessage(new \Phalcon\Validation\Message('This is a message'));

Validation\Message\Group

implements Countable, ArrayAccess, Iterator, Traversable Source on GitHub Represents a group of validation messages Methods public __construct ([array $messages]) Phalcon\Validation\Message\Group constructor public Phalcon\Validation\Message offsetGet (int $index) Gets an attribute a message using the array syntax print_r($messages[0]); public offsetSet (int $index, Phalcon\Validation\Message $message) Sets an attribute using the array-syntax $messages[0] = new \Phalcon\Validation\Message('Thi

Validation\MessageInterface::__set_state

abstract public static __set_state (array $message) ...

Validation\MessageInterface::setType

abstract public setType (mixed $type) ...

Validation\MessageInterface::setMessage

abstract public setMessage (mixed $message) ...

Validation\MessageInterface::setField

abstract public setField (mixed $field) ...