Public Member Functions | |
setCountry (oxCountry $oCountry) | |
getCountry () | |
setError ($sError) | |
getError () | |
__construct (oxCountry $oCountry) | |
addChecker (oxCompanyVatInChecker $oValidator) | |
getCheckers () | |
validate (oxCompanyVatIn $oCompanyVatNumber) | |
Private Attributes | |
$_oCountry = null | |
$_aCheckers = array() | |
$_sError = '' |
Company VAT identification number validator. Executes added validators on given VATIN.
Definition at line 6 of file oxcompanyvatinvalidator.php.
oxCompanyVatInValidator.__construct | ( | oxCountry $ | oCountry | ) |
Constructor
oxCountry | $oCountry |
Definition at line 73 of file oxcompanyvatinvalidator.php.
oxCompanyVatInValidator.addChecker | ( | oxCompanyVatInChecker $ | oValidator | ) |
Adds validator
oxCompanyVatInChecker | $oValidator |
Definition at line 83 of file oxcompanyvatinvalidator.php.
oxCompanyVatInValidator.getCheckers | ( | ) |
oxCompanyVatInValidator.getCountry | ( | ) |
oxCompanyVatInValidator.getError | ( | ) |
oxCompanyVatInValidator.setCountry | ( | oxCountry $ | oCountry | ) |
Country setter
oxCountry | $oCountry |
Definition at line 33 of file oxcompanyvatinvalidator.php.
oxCompanyVatInValidator.setError | ( | $ | sError | ) |
oxCompanyVatInValidator.validate | ( | oxCompanyVatIn $ | oCompanyVatNumber | ) |
Validate company VAT identification number.
oxCompanyVatIn | $oCompanyVatNumber |
Definition at line 105 of file oxcompanyvatinvalidator.php.
oxCompanyVatInValidator.$_aCheckers = array() [private] |
Definition at line 19 of file oxcompanyvatinvalidator.php.
oxCompanyVatInValidator.$_oCountry = null [private] |
Definition at line 12 of file oxcompanyvatinvalidator.php.
oxCompanyVatInValidator.$_sError = '' [private] |
Definition at line 26 of file oxcompanyvatinvalidator.php.