Method | Description | |
---|---|---|
alphaNumeric ( string $check ) : boolean | Checks for Persian/Farsi characters and number an zero width non-joiner space. | |
cc ( string $check ) : boolean | Validation of Iran credit card numbers. | |
mobile ( string $check ) : boolean | Checks mobile numbers for Iran. | |
numeric ( string $check ) : boolean | Checks for Persian/Farsi digits only and won't accept Arabic and Latin digits. | |
personId ( string $check ) : boolean | Checks a social security number for Iran. | |
phone ( string $check ) : boolean | Checks a phone number for Iran. | |
postal ( string $check ) : boolean | Checks a postal code for Iran. |
public static alphaNumeric ( string $check ) : boolean | ||
$check | string | The value to check. |
return | boolean | Success. |