PHP Classes

File: application/config/foreign_chars.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   CodeIgniter ion Auth Login   application/config/foreign_chars.php   Download  
File: application/config/foreign_chars.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: CodeIgniter ion Auth Login
Manage user records in a database with CodeIgniter
Author: By
Last change:
Date: 7 years ago
Size: 2,993 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',
   
'/?|?|?/' => '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',
   
'/?|?|?|?|?/' => 'Z',
   
'/?|?|?|?|?/' => 'z',
   
'/Æ|?/' => 'AE',
   
'/ß/' => 'ss',
   
'/?/' => 'IJ',
   
'/?/' => 'ij',
   
'/?/' => 'OE',
   
'/?/' => 'f',
   
'/?/' => 'ks',
   
'/?/' => 'p',
   
'/?/' => 'v',
   
'/?/' => 'm',
   
'/?/' => 'ps',
   
'/?/' => 'Yo',
   
'/?/' => 'yo',
   
'/?/' => 'Ye',
   
'/?/' => 'ye',
   
'/?/' => 'Yi',
   
'/?/' => 'Zh',
   
'/?/' => 'zh',
   
'/?/' => 'Kh',
   
'/?/' => 'kh',
   
'/?/' => 'Ts',
   
'/?/' => 'ts',
   
'/?/' => 'Ch',
   
'/?/' => 'ch',
   
'/?/' => 'Sh',
   
'/?/' => 'sh',
   
'/?/' => 'Shch',
   
'/?/' => 'shch',
   
'/?|?|?|?/' => '',
   
'/?/' => 'Yu',
   
'/?/' => 'yu',
   
'/?/' => 'Ya',
   
'/?/' => 'ya'
);