public function getIso($code = null)
    {
        $data = (array) gplcart_config_get(GC_FILE_CONFIG_COUNTRY);

        if (isset($code)) {
            return isset($data[$code]) ? $data[$code] : '';
        }

        return $data;
    }
public function getIso($code = null)
    {
        $data = (array) gplcart_config_get(GC_FILE_CONFIG_COUNTRY);

        if (isset($code)) {
            return isset($data[$code]) ? $data[$code] : '';
        }

        return $data;
    }
public function getIso ( $ code = null ) { $ data = ( array ) gplcart_config_get ( GC_FILE_CONFIG_COUNTRY ) ; if ( isset ( $ code ) ) { return isset ( $ data [ $ code ] ) ? $ data [ $ code ] : '' ; } return $ data ; }
Returns an array of country names or a country name if the code parameter is set
@param null|string $code
@return array|string
Returns an array of country names or a country name if the code parameter is set