PHP Class CLASS_VALIDATE

Afficher le fichier Open project: baigoStudio/baigoSSO Class Usage Examples

Méthodes publiques

Méthode Description
is_digit ( $num, $min, $max, $format ) *------验证数字------
is_num ( $num, $min, $max ) *------验证个数------
is_text ( $str, $min, $max, $format ) *------验证是否为字符串------
v_leng ( $str, $min, $max ) *------验证长度------
v_reg ( $str, $format ) *------验证格式------

Method Details

is_digit() public méthode

*------验证数字------
public is_digit ( $num, $min, $max, $format )

is_num() public méthode

*------验证个数------
public is_num ( $num, $min, $max )

is_text() public méthode

*------验证是否为字符串------
public is_text ( $str, $min, $max, $format )

v_leng() public méthode

*------验证长度------
public v_leng ( $str, $min, $max )

v_reg() public méthode

*------验证格式------
public v_reg ( $str, $format )