oxcountry.php

Go to the documentation of this file.
00001 <?php
00002 
00003 
00006 class oxCountry extends oxI18n
00007 {
00013     protected $_sClassName = 'oxcountry';
00014 
00018     public function __construct()
00019     {
00020         parent::__construct();
00021         $this->init( 'oxcountry' );
00022     }
00023 
00029     public function isForeignCountry()
00030     {
00031         return !in_array($this->getId(), $this->getConfig()->getConfigParam( 'aHomeCountry' ));
00032     }
00033 
00039     public function isInEU()
00040     {
00041         return (bool) ($this->oxcountry__oxvatstatus->value == 1);
00042     }
00043 }

Generated on Wed May 13 13:25:51 2009 for OXID eShop CE by  doxygen 1.5.5