PHP
Internationalization

IntlCodePointBreakIterator (class)

The IntlCodePointBreakIterator class

Introduction

(No version information available, might only be in Git)

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

Class synopsis

IntlCodePointBreakIterator extends IntlBreakIterator implements Traversable {

/* Constants */

const integer DONE = -1 ;

const integer WORD_NONE = 0 ;

const integer WORD_NONE_LIMIT = 100 ;

const integer WORD_NUMBER = 100 ;

const integer WORD_NUMBER_LIMIT = 200 ;

const integer WORD_LETTER = 200 ;

const integer WORD_LETTER_LIMIT = 300 ;

const integer WORD_KANA = 300 ;

const integer WORD_KANA_LIMIT = 400 ;

const integer WORD_IDEO = 400 ;

const integer WORD_IDEO_LIMIT = 500 ;

const integer LINE_SOFT = 0 ;

const integer LINE_SOFT_LIMIT = 100 ;

const integer LINE_HARD = 100 ;

const integer LINE_HARD_LIMIT = 200 ;

const integer SENTENCE_TERM = 0 ;

const integer SENTENCE_TERM_LIMIT = 100 ;

const integer SENTENCE_SEP = 100 ;

const integer SENTENCE_SEP_LIMIT = 200 ;

/* Methods */

public ReturnType getLastCodePoint ( void )

/* Inherited methods */

private IntlBreakIterator::__construct ( void )

public static ReturnType IntlBreakIterator::createCharacterInstance ([ string $"locale" ] )

public static ReturnType IntlBreakIterator::createCodePointInstance ( void )

public static ReturnType IntlBreakIterator::createLineInstance ([ string $"locale" ] )

public static ReturnType IntlBreakIterator::createSentenceInstance ([ string $"locale" ] )

public static ReturnType IntlBreakIterator::createTitleInstance ([ string $"locale" ] )

public static ReturnType IntlBreakIterator::createWordInstance ([ string $"locale" ] )

public ReturnType IntlBreakIterator::current ( void )

public ReturnType IntlBreakIterator::first ( void )

public ReturnType IntlBreakIterator::following ( string $"offset" )

public ReturnType IntlBreakIterator::getErrorCode ( void )

ReturnType intl_get_error_code ( void )

public ReturnType IntlBreakIterator::getErrorMessage ( void )

ReturnType intl_get_error_message ( void )

public ReturnType IntlBreakIterator::getLocale ( string $"locale_type" )

public ReturnType IntlBreakIterator::getPartsIterator ([ string $"key_type" ] )

public ReturnType IntlBreakIterator::getText ( void )

public ReturnType IntlBreakIterator::isBoundary ( string $"offset" )

public ReturnType IntlBreakIterator::last ( void )

public ReturnType IntlBreakIterator::next ([ string $"offset" ] )

public ReturnType IntlBreakIterator::preceding ( string $"offset" )

public ReturnType IntlBreakIterator::previous ( void )

public ReturnType IntlBreakIterator::setText ( string $"text" )

}

Predefined Constants

IntlCodePointBreakIterator::DONEIntlCodePointBreakIterator::WORD_NONEIntlCodePointBreakIterator::WORD_NONE_LIMITIntlCodePointBreakIterator::WORD_NUMBERIntlCodePointBreakIterator::WORD_NUMBER_LIMITIntlCodePointBreakIterator::WORD_LETTERIntlCodePointBreakIterator::WORD_LETTER_LIMITIntlCodePointBreakIterator::WORD_KANAIntlCodePointBreakIterator::WORD_KANA_LIMITIntlCodePointBreakIterator::WORD_IDEOIntlCodePointBreakIterator::WORD_IDEO_LIMITIntlCodePointBreakIterator::LINE_SOFTIntlCodePointBreakIterator::LINE_SOFT_LIMITIntlCodePointBreakIterator::LINE_HARDIntlCodePointBreakIterator::LINE_HARD_LIMITIntlCodePointBreakIterator::SENTENCE_TERMIntlCodePointBreakIterator::SENTENCE_TERM_LIMITIntlCodePointBreakIterator::SENTENCE_SEPIntlCodePointBreakIterator::SENTENCE_SEP_LIMIT

Table of Contents

  • IntlCodePointBreakIterator::getLastCodePoint — Get last code point passed over after advancing or receding the iterator

← IntlRuleBasedBreakIterator::getRuleStatusVec

IntlCodePointBreakIterator::getLastCodePoint →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/class.intlcodepointbreakiterator.php