intl
PHP Manual

The IntlCodePointBreakIterator class

(PHP 5 >= 5.5.0, PHP 7)

Introduction

This break iterator identifies the boundaries between UTF-8 code points.

Class synopsis

IntlCodePointBreakIterator extends IntlBreakIterator implements Traversable {
/* Inherited constants */
const integer IntlBreakIterator::DONE = -1 ;
const integer IntlBreakIterator::WORD_NONE = 0 ;
const integer IntlBreakIterator::WORD_NONE_LIMIT = 100 ;
const integer IntlBreakIterator::WORD_NUMBER = 100 ;
const integer IntlBreakIterator::WORD_LETTER = 200 ;
const integer IntlBreakIterator::WORD_KANA = 300 ;
const integer IntlBreakIterator::WORD_KANA_LIMIT = 400 ;
const integer IntlBreakIterator::WORD_IDEO = 400 ;
const integer IntlBreakIterator::WORD_IDEO_LIMIT = 500 ;
const integer IntlBreakIterator::LINE_SOFT = 0 ;
const integer IntlBreakIterator::LINE_SOFT_LIMIT = 100 ;
const integer IntlBreakIterator::LINE_HARD = 100 ;
const integer IntlBreakIterator::LINE_HARD_LIMIT = 200 ;
const integer IntlBreakIterator::SENTENCE_SEP = 100 ;
/* Methods */
public int getLastCodePoint ( void )
/* Inherited methods */
public static IntlBreakIterator IntlBreakIterator::createCharacterInstance ([ string $locale ] )
public static IntlBreakIterator IntlBreakIterator::createCodePointInstance ( void )
public static IntlBreakIterator IntlBreakIterator::createLineInstance ([ string $locale ] )
public static IntlBreakIterator IntlBreakIterator::createSentenceInstance ([ string $locale ] )
public static IntlBreakIterator IntlBreakIterator::createTitleInstance ([ string $locale ] )
public static IntlBreakIterator IntlBreakIterator::createWordInstance ([ string $locale ] )
public int IntlBreakIterator::current ( void )
public int IntlBreakIterator::first ( void )
public int IntlBreakIterator::following ( int $offset )
public int IntlBreakIterator::getErrorCode ( void )
int intl_get_error_code ( void )
public string IntlBreakIterator::getErrorMessage ( void )
string intl_get_error_message ( void )
public string IntlBreakIterator::getLocale ( string $locale_type )
public IntlPartsIterator IntlBreakIterator::getPartsIterator ([ int $key_type = IntlPartsIterator::KEY_SEQUENTIAL ] )
public string IntlBreakIterator::getText ( void )
public bool IntlBreakIterator::isBoundary ( int $offset )
public int IntlBreakIterator::last ( void )
public int IntlBreakIterator::next ([ int $offset ] )
public int IntlBreakIterator::preceding ( int $offset )
public int IntlBreakIterator::previous ( void )
public bool IntlBreakIterator::setText ( string $text )
}

Table of Contents


intl
PHP Manual