20 protected $m_oCatalogDB = null;
25 protected $m_oShippingDB = null;
37 $this->m_oCatalogDB = $oCatalogDB;
38 $this->m_oShippingDB = $oShippingDB;
51 if ($sEmail ==
"Invalid Request")
55 if (filter_var($sEmail, FILTER_VALIDATE_EMAIL) ===
false)
58 throw new \SDExtension\SDException\ValidatorException(EXCEPTION_MSG_INVALID_EMAIL, EXCEPTION_CODE_INVALID_EMAIL);
73 $aResult = $this->m_oCatalogDB->Select(
'currencies',
'*', [[
'SINTLSYMBOL', $sCurrency]])->fetch(\PDO::FETCH_ASSOC);
76 throw new \SDExtension\SDException\InvalidCurrencyException($sCurrency);
static get($sChannel="default", $sLogRoot="")
ValidateCurrency($sCurrency)
__construct($oCatalogDB, $oShippingDB)