EUVAT
[ class tree: EUVAT ] [ index: EUVAT ] [ all elements ]

Procedural File: functions.php

Source Location: /modules/xbs_vat/include/functions.php



Page Details:

API Functions



Tags:

copyright:  (c) 2006 Ashley Kitson, Great Britain
author:  Ashley Kitson http://xoobs.net


Includes:

include_once(XOOPS_ROOT_PATH.'/modules/xbs_vat/class/class.vat.base.php') [line 46]
VAT base class







EUVATCheckNumber [line 70]

boolean EUVATCheckNumber( mixed $cntryCd, string $vnum, [string $lang = CDM_DEF_LANG], string $CntryCd)

Check a VAT number against VIES database



Tags:

return:  True if Code is valid else false


Parameters

string   $CntryCd   VAT Country Code
string   $vnum   VAT Number (no country code prefix)
string   $lang   Language set to use [optional]
[ Top ]



EUVATGetCodeObj [line 55]

EUVAT EUVATGetCodeObj( string $cntryCd, [string $lang = CDM_DEF_LANG])

Return an EUVAT object



Tags:

return:  (CDMCode) object


Parameters

string   $cntryCd   EU VAT Country code
string   $lang   Language set for code set
[ Top ]



Documentation generated on Fri, 03 Mar 2006 08:56:04 +0000 by phpDocumentor 1.3.0RC3