Public Member Functions | |
getLastErrorMsg () | |
isEqual ($uValueA, $uValueB, $sErrorMsg='KO isEqual') | |
isStrictlyEqual ($uValueA, $uValueB, $sErrorMsg='KO isStrictlyEqual') | |
isNotEqual ($uValueA, $uValueB, $sErrorMsg='KO isNotEqual') | |
isUpperThan ($uValueA, $uValueB, $sErrorMsg='KO isUpperThan') | |
isUpperOrEqualThan ($uValueA, $uValueB, $sErrorMsg='KO isUpperOrEqualThan') | |
isLowerThan ($uValueA, $uValueB, $sErrorMsg='KO isLowerThan') | |
isLowerOrEqualThan ($uValueA, $uValueB, $sErrorMsg='KO isLowerOrEqualThan') | |
isEmpty ($uValueA, $sErrorMsg='KO isEmpty') | |
isNotEmpty ($uValueA, $sErrorMsg='KO isNotEmpty') | |
isEmailValid ($uValueA, $sErrorMsg='KO isEmailValid') | |
matchExpression ($uValueA, $sExpression, $sErrorMsg='KO matchExpression') | |
notMatchExpression ($uValueA, $sExpression, $sErrorMsg='KO notMatchExpression') | |
plugin_check classe pour verifier un lot de valeurs (verification de formulaire par exemple)
Definition at line 23 of file plugin_check.php.
getLastErrorMsg | ( | ) |
retourne le dernier message d'erreur (utilise par la classe plugin_valid)
Definition at line 30 of file plugin_check.php.
isEmailValid | ( | $uValueA, | |
$sErrorMsg = 'KO isEmailValid' |
|||
) |
verifie si le $uValueA est un email valide public
undefined | $uValueA | valeur A |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 174 of file plugin_check.php.
isEmpty | ( | $uValueA, | |
$sErrorMsg = 'KO isEmpty' |
|||
) |
verifie si $uValueA est vide public
undefined | $uValueA | valeur A |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 146 of file plugin_check.php.
isEqual | ( | $uValueA, | |
$uValueB, | |||
$sErrorMsg = 'KO isEqual' |
|||
) |
verifie si $uValueA est egal a $uValueB public
undefined | $uValueA | valeur A |
undefined | $uValueB | valeur B |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 42 of file plugin_check.php.
isLowerOrEqualThan | ( | $uValueA, | |
$uValueB, | |||
$sErrorMsg = 'KO isLowerOrEqualThan' |
|||
) |
verifie si $uValueA est inferieur ou egal a $uValueB public
undefined | $uValueA | valeur A |
undefined | $uValueB | valeur B |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 132 of file plugin_check.php.
isLowerThan | ( | $uValueA, | |
$uValueB, | |||
$sErrorMsg = 'KO isLowerThan' |
|||
) |
verifie si $uValueA est inferieur a $uValueB public
undefined | $uValueA | valeur A |
undefined | $uValueB | valeur B |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 117 of file plugin_check.php.
isNotEmpty | ( | $uValueA, | |
$sErrorMsg = 'KO isNotEmpty' |
|||
) |
verifie si $uValueA n'est pas vide public
undefined | $uValueA | valeur A |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 160 of file plugin_check.php.
isNotEqual | ( | $uValueA, | |
$uValueB, | |||
$sErrorMsg = 'KO isNotEqual' |
|||
) |
verifie si $uValueA n'est pas egal a $uValueB public
undefined | $uValueA | valeur A |
undefined | $uValueB | valeur B |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 72 of file plugin_check.php.
isStrictlyEqual | ( | $uValueA, | |
$uValueB, | |||
$sErrorMsg = 'KO isStrictlyEqual' |
|||
) |
verifie si $uValueA est strictement egal a $uValueB public
undefined | $uValueA | valeur A |
undefined | $uValueB | valeur B |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 57 of file plugin_check.php.
isUpperOrEqualThan | ( | $uValueA, | |
$uValueB, | |||
$sErrorMsg = 'KO isUpperOrEqualThan' |
|||
) |
verifie si $uValueA est superieur ou egal a $uValueB public
undefined | $uValueA | valeur A |
undefined | $uValueB | valeur B |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 102 of file plugin_check.php.
isUpperThan | ( | $uValueA, | |
$uValueB, | |||
$sErrorMsg = 'KO isUpperThan' |
|||
) |
verifie si $uValueA est superieur a $uValueB public
undefined | $uValueA | valeur A |
undefined | $uValueB | valeur B |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 87 of file plugin_check.php.
matchExpression | ( | $uValueA, | |
$sExpression, | |||
$sErrorMsg = 'KO matchExpression' |
|||
) |
verifie si le champ $sName verifie l'expression public
string | $sName | nom du champ a verifier |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 188 of file plugin_check.php.
notMatchExpression | ( | $uValueA, | |
$sExpression, | |||
$sErrorMsg = 'KO notMatchExpression' |
|||
) |
verifie si le champ $sName ne verifie pas l'expression public
string | $sName | nom du champ a verifier |
string | $sErrorMsg | message d'erreur a afficher |
Definition at line 202 of file plugin_check.php.