DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Static Info Library

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed by:Stanislas Rolland
Changed:2006-06-21T11:12:11
Email:stanislas.rolland(arobas)fructifor.ca
Info 2:
Info 3:
Info 4:

EXT: Static Info Library

Extension Key: sr_static_info

Copyright 2003-2006, stanislas.rolland(arobas)fructifor.ca, <stanislas.rolland(arobas)fructifor.ca>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: Static Info Library 1

Introduction 1

What does it do? 1

Requirements 1

Change log 1

Introduction

What does it do?

This extension is now merged into the base extension Static Info Tables 2.0.0 (extension key: static_info_tables). Please refer to the manual of that extension.

Requirements

This extension has been merged into version 2.0.0 of extension Static Info Tables.

Version 1.4.6-1.4.13 of this extension requires version 1.4.0-1.8.0 of the base extension.

Version 1.4.13 of this extension requires TYPO3 4.0.0+.

Version 1.4.12 is the last version of this extension that will work with TYPO3 3.5.0-3.8.0.

Change log

Version 0.1.0:

Initial version.

Version 0.2.0:

  • Documentation.
  • Correcting a few glitches.

Version 0.3.0:

  • Main class is renamed tx_srstaticinfo_pi1 and moved to pi1/class.tx_srstaticinfo_pi1.php; now extends tslib_pibase in order to use Typo3 localization methods;
  • French and Spanish names columns dropped from all tables;
  • All names moved to pi1/locallang.php so that additional translations can be easily produced;
  • Method getStaticInfoName added.

Version 0.4.0:

Labels in pi1/locallang.php have been redefined using underscores rather than dots so that the TS Setup overriding mechanism does indeed work.

Version 0.5.0:

  • Configuration property currencyCode added.
  • Class initialization simplified.

Version 0.6.1:

  • Bug fix: retrieving country subdivisions with method getStaticInfoName did not work in many cases.
  • Configuration properties countryCode, countryZoneCode, languageCode and onChangeAttribute were added.
  • Finnish translation was merged. Thanks to the translator.

Version 0.7.0:

Method formatAddress added.

Version 0.8.0:

  • Possible values for cn_address_format raised from 3 to 8, and corresponding address formats are defined in TS setup. Method formatAddress now uses these format definitions.
  • States of Australia added to static_country_zones.

Version 0.9.0:

  • Provinces of Italy added.
  • Table static_taxes added.
  • Taxes of EU(25) countries added.
  • Taxes of Canada and Canadian provinces added.
  • Method applyConsumerTaxes added.

Version 0.9.1:

  • Excess lines after the closing php tag in pi1/locallang.php deleted.
  • VAT rate of Mexico added.

Version 0.10.0:

EU membership updated for new adherent countries.

Version 1.0.0:

  • Code cleaned up and tested with Typo3 3.6.1.
  • Default and German translation updated.

Version 1.1.0:

  • New columns added to the static_languages table: country codes and Typo3 code.
  • Class methods adapted for the new country column in static_languages table.
  • Bosnian and Brazilian Portuguese added to the static_languages table.
  • Typo3 codes added for all languages supported by Typo3 in static_languages table.

Version 1.2.0 & 1.3.0:

Keeping up with version 1.2.0 of the static_info_tables base extension.

Version 1.4.0:

  • New parameter to method getStaticInfoName: in the case of LANGUAGES, if $self is set to 1, the name of the language will be returned in the language itself.
  • A number of language labels translated in various languages.

Version 1.4.1:

Addition of counties of Ireland and United Kingdom.

Version 1.4.2:

Update to German translation.

Version 1.4.3:

Correction to method getStaticInfoName: in the case of LANGUAGES, if $self was set to 1, the name of the English language was always translated, rather than returning 'English'.

Version 1.4.4:

  • Using the TYPO3 db manipulation class when executing under TYPO3 3.6+.
  • XHTML output.
  • Correction: possibly missing character set conversion when a name is not translated in the locallang files and the default English name is taken from the static table. Static tables are in iso-8859-1. If the front end was in another character set, a character set conversion was missing.
  • New column added to the static_languages table: lg_collate_locale. Should contain a default collating locale to be used to ensure correct sorting in the back end for whatever language and character set (could also be used in the front end eventually).
  • In TYPO3 3.7+, the hot list feature on the iso code field of the Web Language form is restored.

Version 1.4.6:

  • Correction to method getStaticInfoName: in the case of COUNTRIES, the country code will be uppercased so that the caller does not have to care about it.
  • Addition of the states of Brazil.
  • Addition of address format for Brazil.
  • Addition of TYPO3 language codes for Burmese, Esperanto and Hindi.
  • Reduce number of TCA-overrides.
  • Update to translations.

Version 1.4.7:

Additional $id parameter to method buildStaticInfoSelector specifies the value of the id attribute of the select tag.

Version 1.4.9:

  • Additional $title parameter to method buildStaticInfoSelector specifies the value of the title attribute of the select tag.
  • Some new Brazilian and Turkish labels.

Version 1.4.10:

Correction to the currency data for US Dollar and Pound Sterling.

Version 1.4.11:

Correction to typo causing fatal error when using library to access currency data.

Version 1.4.12:

Correction to incorrect reference to csconv in version 1.4.11.

Version 1.4.13:

  • Corrections for DBAL-compliance.
  • htmlspecialchars where needed.

Version 2.0.0:

This extension is now merged into the base extension Static Info Tables (extension key: static_info_tables)

img-1 EXT: Static Info Library - 3