oxcountry.php

Go to the documentation of this file.
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 }

Generated on Thu Dec 4 12:04:56 2008 for OXID eShop CE by  doxygen 1.5.5