Phalcon\Test\Models\Subscriptores::beforeValidation PHP 메소드

beforeValidation() 공개 메소드

public beforeValidation ( )
    public function beforeValidation()
    {
        if ($this->email == '[email protected]') {
            $this->appendMessage(new Message('Sorry Marina, but you are not allowed here'));
            return false;
        }
        return true;
    }