00001 <?php
00002
00003
00007 class oxCountry extends oxI18n
00008 {
00014 protected $_sClassName = 'oxcountry';
00015
00019 public function __construct()
00020 {
00021 parent::__construct();
00022 $this->init( 'oxcountry' );
00023 }
00024
00030 public function isForeignCountry()
00031 {
00032 return !in_array($this->getId(), $this->getConfig()->getConfigParam( 'aHomeCountry' ));
00033 }
00034
00040 public function isInEU()
00041 {
00042 return (bool) ($this->oxcountry__oxvatstatus->value == 1);
00043 }
00044 }