<?php
// $Id: french_polynesia_258_1.cif,v 1.1 2011-02-23 10:24:18 tr Exp $

function french_polynesia_install() {
  // Make the entry in the country table.
  // VALUES = Country ID, Country Name, 2-digit Code, 3-digit Code, File Version
  db_insert('uc_countries')
    ->fields(array(
      'country_id' => 258,
      'country_name' => 'French Polynesia',
      'country_iso_code_2' => 'PF',
      'country_iso_code_3' => 'PYF',
      'version' => 1,
    ))
    ->execute();

  // No zones

  // Set address format
  uc_set_address_format(
    258,
    "!company\r\n".
    "!first_name !last_name\r\n".
    "!street1\r\n".
    "!street2\r\n".
    "!city  !postal_code\r\n".
    "!country_name_if"
  );
}
