31 $this->
init(
'oxcountry');
41 return !in_array($this->
getId(), $this->
getConfig()->getConfigParam(
'aHomeCountry'));
51 return (
bool) ($this->oxcountry__oxvatstatus->value == 1);
61 if (!is_null($this->_aStates)) {
65 $sCountryId = $this->
getId();
67 $sQ =
"select * from {$sViewName} where `oxcountryid` = '$sCountryId' order by `oxtitle` ";
68 $this->_aStates =
oxNew(
"oxlist");
69 $this->_aStates->init(
"oxstate");
70 $this->_aStates->selectString($sQ);
86 return $oDb->getOne(
"select oxid from oxcountry where oxisoalpha2 = " . $oDb->quote($sCode));
96 return $this->oxcountry__oxvatinprefix->value;