PHP 클래스 Intervention\Validation\Validator

파일 보기 프로젝트 열기: intervention/validation 1 사용 예제들

공개 메소드들

메소드 설명
isAlphaSpace ( mixed $value ) : boolean Checks if value only has alphabetic characters and/or spaces
isBic ( mixed $value ) : boolean Checks if given value is valid International Bank Account Number (IBAN).
isCreditcard ( mixed $value ) : boolean Checks if value is valid creditcard number.
isHexcolor ( mixed $value ) : boolean Checks if value is valid hexadecimal color code.
isHtmlclean ( mixed $value ) : boolean Checks if value is free of HTML code
isIban ( mixed $value ) : boolean Checks if given value is valid International Bank Account Number (IBAN).
isIsbn ( mixed $value ) : boolean Checks if given value is valid International Standard Book Number (ISBN).
isIsin ( mixed $value ) : boolean Checks if given value is International Securities Identification Number (ISIN)
isIsodate ( mixed $value ) : boolean Checks if given value is date in ISO 8601 format.
isPassword ( mixed $value ) : boolean Checks if password has certain strength
isUsername ( mixed $value ) : boolean Checks if value is Username

비공개 메소드들

메소드 설명
getIbanLength ( string $iban ) : integer Returns the designated length of IBAN for given IBAN

메소드 상세

isAlphaSpace() 공개 정적인 메소드

Checks if value only has alphabetic characters and/or spaces
public static isAlphaSpace ( mixed $value ) : boolean
$value mixed
리턴 boolean

isBic() 공개 정적인 메소드

Checks if given value is valid International Bank Account Number (IBAN).
public static isBic ( mixed $value ) : boolean
$value mixed
리턴 boolean

isCreditcard() 공개 정적인 메소드

Checks if value is valid creditcard number.
public static isCreditcard ( mixed $value ) : boolean
$value mixed
리턴 boolean

isHexcolor() 공개 정적인 메소드

Checks if value is valid hexadecimal color code.
public static isHexcolor ( mixed $value ) : boolean
$value mixed
리턴 boolean

isHtmlclean() 공개 정적인 메소드

Checks if value is free of HTML code
public static isHtmlclean ( mixed $value ) : boolean
$value mixed
리턴 boolean

isIban() 공개 정적인 메소드

Checks if given value is valid International Bank Account Number (IBAN).
public static isIban ( mixed $value ) : boolean
$value mixed
리턴 boolean

isIsbn() 공개 정적인 메소드

Checks if given value is valid International Standard Book Number (ISBN).
public static isIsbn ( mixed $value ) : boolean
$value mixed
리턴 boolean

isIsin() 공개 정적인 메소드

Checks if given value is International Securities Identification Number (ISIN)
public static isIsin ( mixed $value ) : boolean
$value mixed
리턴 boolean

isIsodate() 공개 정적인 메소드

Checks if given value is date in ISO 8601 format.
public static isIsodate ( mixed $value ) : boolean
$value mixed
리턴 boolean

isPassword() 공개 정적인 메소드

Checks if password has certain strength
public static isPassword ( mixed $value ) : boolean
$value mixed
리턴 boolean

isUsername() 공개 정적인 메소드

Checks if value is Username
public static isUsername ( mixed $value ) : boolean
$value mixed
리턴 boolean