Documentation

ValidatorInterface

Validator interface

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.0.0

Table of Contents

Methods

evaluate()  : bool
Evaluate
getInput()  : mixed
Get the validator input
getMessage()  : string|null
Get the validator default message
getResults()  : mixed
Get the validator results
getValue()  : mixed
Get the validator value
hasResults()  : bool
Has validator results
setInput()  : ValidatorInterface
Set the validator input
setMessage()  : ValidatorInterface
Set the validator default message
setValue()  : ValidatorInterface
Set the validator value

Methods

evaluate()

Evaluate

public evaluate([mixed $input = null ]) : bool
Parameters
$input : mixed = null
Return values
bool

getMessage()

Get the validator default message

public getMessage() : string|null
Return values
string|null

hasResults()

Has validator results

public hasResults() : bool
Return values
bool

        
On this page

Search results