PHP 8.1.0 Released!

The IntlPartsIterator class

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

Introdução

Objects of this class can be obtained from IntlBreakIterator objects. While the break iterators provide a sequence of boundary positions when iterated, IntlPartsIterator objects provide, as a convenience, the text fragments comprehended between two successive boundaries.

The keys may represent the offset of the left boundary, right boundary, or they may just the sequence of non-negative integers. See IntlBreakIterator::getPartsIterator().

Sinopse da classe

class IntlPartsIterator extends IntlIterator implements Iterator {
/* Constants */
const int KEY_SEQUENTIAL = 0;
const int KEY_LEFT = 1;
const int KEY_RIGHT = 2;
/* Métodos */
public getBreakIterator(): ReturnType
/* Métodos herdados */
public IntlIterator::current(): ReturnType
public IntlIterator::key(): ReturnType
public IntlIterator::next(): ReturnType
public IntlIterator::rewind(): ReturnType
public IntlIterator::valid(): ReturnType
}

Constantes pré-definidas

IntlPartsIterator::KEY_SEQUENTIAL

IntlPartsIterator::KEY_LEFT

IntlPartsIterator::KEY_RIGHT

Índice

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top