La clase Transliterator

(PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0)

Introducción

La clase Transliterator proporciona transliteraciones de cadenas.

Sinopsis de la Clase

class Transliterator {
/* Constantes */
const integer FORWARD = 0;
const integer REVERSE = 1;
/* Propiedades */
public $id;
/* Métodos */
public static create(string $id, int $direction = ?): Transliterator
public static createFromRules(string $rules, string $direction = ?): Transliterator
public getErrorCode(): int
public static listIDs(): array
public transliterate(string $subject, int $start = ?, int $end = ?): string
}

Propiedades

id

Constantes predefinidas

Transliterator::FORWARD

Transliterator::REVERSE

Tabla de contenidos

add a note add a note

User Contributed Notes 2 notes

To Top