PHP Classes

File: application/config/foreign_chars.php

Recommend this page to a friend!
  Classes of Kishor Mali   PHP Hotel Booking System   application/config/foreign_chars.php   Download  
File: application/config/foreign_chars.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Hotel Booking System
Manage the booking of hotel rooms for customers
Author: By
Last change:
Date: 8 months ago
Size: 3,231 bytes
 

Contents

Class file image Download
<?php
defined
('BASEPATH') OR exit('No direct script access allowed');

/*
| -------------------------------------------------------------------
| Foreign Characters
| -------------------------------------------------------------------
| This file contains an array of foreign characters for transliteration
| conversion used by the Text helper
|
*/
$foreign_characters = array(
   
'/ä|æ|?/' => 'ae',
   
'/ö|?/' => 'oe',
   
'/ü/' => 'ue',
   
'/Ä/' => 'Ae',
   
'/Ü/' => 'Ue',
   
'/Ö/' => 'Oe',
   
'/À|Á|Â|Ã|Ä|Å|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'A',
   
'/à|á|â|ã|å|?|?|?|?|?|ª|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'a',
   
'/?/' => 'B',
   
'/?/' => 'b',
   
'/Ç|?|?|?|?/' => 'C',
   
'/ç|?|?|?|?/' => 'c',
   
'/?|?/' => 'D',
   
'/?|?/' => 'd',
   
'/Ð|?|?/' => 'Dj',
   
'/ð|?|?/' => 'dj',
   
'/È|É|Ê|Ë|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'E',
   
'/è|é|ê|ë|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'e',
   
'/?/' => 'F',
   
'/?/' => 'f',
   
'/?|?|?|?|?|?|?/' => 'G',
   
'/?|?|?|?|?|?|?/' => 'g',
   
'/?|?/' => 'H',
   
'/?|?/' => 'h',
   
'/Ì|Í|Î|Ï|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'I',
   
'/ì|í|î|ï|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'i',
   
'/?/' => 'J',
   
'/?/' => 'j',
   
'/?/' => 'TH',
   
'/?/' => 'th',
   
'/?|?|?/' => 'K',
   
'/?|?|?/' => 'k',
   
'/?|?|?|?|?|?|?/' => 'L',
   
'/?|?|?|?|?|?|?/' => 'l',
   
'/?/' => 'M',
   
'/?/' => 'm',
   
'/Ñ|?|?|?|?|?/' => 'N',
   
'/ñ|?|?|?|?|?|?/' => 'n',
   
'/Ò|Ó|Ô|Õ|?|?|?|?|?|Ø|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'O',
   
'/ò|ó|ô|õ|?|?|?|?|?|ø|?|º|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'o',
   
'/?/' => 'P',
   
'/?/' => 'p',
   
'/?|?|?|?|?/' => 'R',
   
'/?|?|?|?|?/' => 'r',
   
'/?|?|?|?|?|?|?/' => 'S',
   
'/?|?|?|?|?|?|?|?|?/' => 's',
   
'/?|?|?|?|?|?/' => 'T',
   
'/?|?|?|?|?|?/' => 't',
   
'/Þ|þ/' => 'th',
   
'/Ù|Ú|Û|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'U',
   
'/ù|ú|û|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?/' => 'u',
   
'/?|?|?|?|?|?|?|Ý|?|?|?|?|?|?|?|?|?|?/' => 'Y',
   
'/?|?|?|?|?|?|?|?|?|ý|ÿ|?|?|?|?|?|?/' => 'y',
   
'/?/' => 'V',
   
'/?/' => 'v',
   
'/?/' => 'W',
   
'/?/' => 'w',
   
'/?/' => 'F',
   
'/?/' => 'f',
   
'/?/' => 'CH',
   
'/?/' => 'ch',
   
'/?|?|?|?|?/' => 'Z',
   
'/?|?|?|?|?/' => 'z',
   
'/Æ|?/' => 'AE',
   
'/ß/' => 'ss',
   
'/?/' => 'IJ',
   
'/?/' => 'ij',
   
'/?/' => 'OE',
   
'/?/' => 'f',
   
'/?/' => 'KS',
   
'/?/' => 'ks',
   
'/?/' => 'P',
   
'/?/' => 'p',
   
'/?/' => 'V',
   
'/?/' => 'v',
   
'/?/' => 'M',
   
'/?/' => 'm',
   
'/?/' => 'PS',
   
'/?/' => 'ps',
   
'/?/' => 'Yo',
   
'/?/' => 'yo',
   
'/?/' => 'Ye',
   
'/?/' => 'ye',
   
'/?/' => 'Yi',
   
'/?/' => 'Zh',
   
'/?/' => 'zh',
   
'/?/' => 'Kh',
   
'/?/' => 'kh',
   
'/?/' => 'Ts',
   
'/?/' => 'ts',
   
'/?/' => 'Ch',
   
'/?/' => 'ch',
   
'/?/' => 'Sh',
   
'/?/' => 'sh',
   
'/?/' => 'Shch',
   
'/?/' => 'shch',
   
'/?|?|?|?/' => '',
   
'/?/' => 'Yu',
   
'/?/' => 'yu',
   
'/?/' => 'Ya',
   
'/?/' => 'ya'
);