PHP Interface Pop\Validator\ValidatorInterface

Author: Nick Sagona, III ([email protected])
Afficher le fichier Open project: nicksagona/PopPHP

Méthodes publiques

Méthode Description
getCondition ( ) : boolean Method to get the validator condition
getInput ( ) : mixed Method to get the validator input
getMessage ( ) : boolean Method to get the validator default message
getValue ( ) : mixed Method to get the validator value
setCondition ( boolean $condition ) : Validator Method to set the validator condition
setInput ( mixed $input ) : Validator Method to set the validator input
setMessage ( string $message ) : Validator Method to set the validator default message
setValue ( mixed $value ) : Validator Method to set the validator value

Method Details

getCondition() public méthode

Method to get the validator condition
public getCondition ( ) : boolean
Résultat boolean

getInput() public méthode

Method to get the validator input
public getInput ( ) : mixed
Résultat mixed

getMessage() public méthode

Method to get the validator default message
public getMessage ( ) : boolean
Résultat boolean

getValue() public méthode

Method to get the validator value
public getValue ( ) : mixed
Résultat mixed

setCondition() public méthode

Method to set the validator condition
public setCondition ( boolean $condition ) : Validator
$condition boolean
Résultat Validator

setInput() public méthode

Method to set the validator input
public setInput ( mixed $input ) : Validator
$input mixed
Résultat Validator

setMessage() public méthode

Method to set the validator default message
public setMessage ( string $message ) : Validator
$message string
Résultat Validator

setValue() public méthode

Method to set the validator value
public setValue ( mixed $value ) : Validator
$value mixed
Résultat Validator