Documentation

Alpha extends AbstractValidator
in package

Alphabetical validator class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
3.2.0

Table of Contents

$input  : mixed
Input value to test
$message  : string
Validator message
$value  : mixed
Validator value to test against
__construct()  : mixed
Constructor
evaluate()  : bool
Method to evaluate the validator
getInput()  : mixed
GEt the validator input
getMessage()  : bool
Get the validator default message
getValue()  : mixed
Get the validator value
setInput()  : AbstractValidator
Set the validator input
setMessage()  : AbstractValidator
Set the validator condition
setValue()  : AbstractValidator
Set the validator value

Properties

Methods

__construct()

Constructor

public __construct([mixed $value = null ][, string $message = null ]) : mixed

Instantiate the validator object

Parameters
$value : mixed = null
$message : string = null
Return values
mixed

evaluate()

Method to evaluate the validator

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

getInput()

GEt the validator input

public getInput() : mixed
Return values
mixed

getMessage()

Get the validator default message

public getMessage() : bool
Return values
bool

getValue()

Get the validator value

public getValue() : mixed
Return values
mixed

Search results