dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Transliterator::__construct> <Spoofchecker::setChecks
[edit] Last updated: Fri, 28 Jun 2013

view this page in

The Transliterator class

(PHP >= 5.4.0, PECL intl >= 2.0.0)

Introduction

Transliterator provides transliteration of strings.

Class synopsis

Transliterator {
/* Constants */
const integer FORWARD = 0 ;
const integer REVERSE = 1 ;
/* Properties */
public $id ;
/* Methods */
__construct ( void )
public static Transliterator create ( string $id [, int $direction ] )
public static Transliterator createFromRules ( string $rules [, string $direction ] )
public Transliterator createInverse ( void )
public int getErrorCode ( void )
public string getErrorMessage ( void )
public static array listIDs ( void )
public string transliterate ( string $subject [, int $start [, int $end ]] )
}

Properties

id

Predefined Constants

Transliterator::FORWARD

Transliterator::REVERSE

Table of Contents



add a note add a note User Contributed Notes Transliterator - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites