Query: intlbreakiterator
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
INTLBREAKITERATOR(3) 1 INTLBREAKITERATOR(3) The IntlBreakIterator classINTRODUCTIONA "break iterator" is an ICU object that exposes methods for locating boundaries in text (e.g. word or sentence boundaries). The PHP Intl- BreakIterator serves as the base class for all types of ICU break iterators. Where extra functionality is available, the intl extension may expose the ICU break iterator with suitable subclasses, such as IntlRuleBasedBreakIterator or IntlCodePointBreaIterator. This class implements Traversable. Traversing an IntlBreakIterator yields non-negative integer values representing the successive loca- tions of the text boundaries, expressed as UTF-8 code units (byte) counts, taken from the beggining of the text (which has the location 0). The keys yielded by the iterator simply form the sequence of natural numbers {0, 1, 2, }.CLASS SYNOPSISIntlBreakIterator IntlBreakIteratorTraversable Constants o const integer$IntlBreakIterator::DONE-1 o const integer$IntlBreakIterator::WORD_NONE0 o const integer$IntlBreakIterator::WORD_NONE_LIMIT100 o const integer$IntlBreakIterator::WORD_NUMBER100 o const integer$IntlBreakIterator::WORD_NUMBER_LIMIT200 o const integer$IntlBreakIterator::WORD_LETTER200 o const integer$IntlBreakIterator::WORD_LETTER_LIMIT300 o const integer$IntlBreakIterator::WORD_KANA300 o const integer$IntlBreakIterator::WORD_KANA_LIMIT400 o const integer$IntlBreakIterator::WORD_IDEO400 o const integer$IntlBreakIterator::WORD_IDEO_LIMIT500 o const integer$IntlBreakIterator::LINE_SOFT0 o const integer$IntlBreakIterator::LINE_SOFT_LIMIT100 o const integer$IntlBreakIterator::LINE_HARD100 o const integer$IntlBreakIterator::LINE_HARD_LIMIT200 o const integer$IntlBreakIterator::SENTENCE_TERM0 o const integer$IntlBreakIterator::SENTENCE_TERM_LIMIT100 o const integer$IntlBreakIterator::SENTENCE_SEP100 o const integer$IntlBreakIterator::SENTENCE_SEP_LIMIT200 Methods o private IntlBreakIterator::__construct (void ) o publicstatic ReturnType IntlBreakIterator::createCharacterInstance ([string $"locale"]) o publicstatic ReturnType IntlBreakIterator::createCodePointInstance (void ) o publicstatic ReturnType IntlBreakIterator::createLineInstance ([string $"locale"]) o publicstatic ReturnType IntlBreakIterator::createSentenceInstance ([string $"locale"]) o publicstatic ReturnType IntlBreakIterator::createTitleInstance ([string $"locale"]) o publicstatic ReturnType IntlBreakIterator::createWordInstance ([string $"locale"]) o public ReturnType IntlBreakIterator::current (void ) o public ReturnType IntlBreakIterator::first (void ) o public ReturnType IntlBreakIterator::following (string $"offset") o public ReturnType IntlBreakIterator::getErrorCode (void ) o ReturnType intl_get_error_code (void ) o public ReturnType IntlBreakIterator::getErrorMessage (void ) o ReturnType intl_get_error_message (void ) o public ReturnType IntlBreakIterator::getLocale (string $"locale_type") o public ReturnType IntlBreakIterator::getPartsIterator ([string $"key_type"]) o public ReturnType IntlBreakIterator::getText (void ) o public ReturnType IntlBreakIterator::isBoundary (string $"offset") o public ReturnType IntlBreakIterator::last (void ) o public ReturnType IntlBreakIterator::next ([string $"offset"]) o public ReturnType IntlBreakIterator::preceding (string $"offset") o public ReturnType IntlBreakIterator::previous (void ) o public ReturnType IntlBreakIterator::setText (string $"text")PREDEFINED CONSTANTSo IntlBreakIterator::DONE - o IntlBreakIterator::WORD_NONE - o IntlBreakIterator::WORD_NONE_LIMIT - o IntlBreakIterator::WORD_NUMBER - o IntlBreakIterator::WORD_NUMBER_LIMIT - o IntlBreakIterator::WORD_LETTER - o IntlBreakIterator::WORD_LETTER_LIMIT - o IntlBreakIterator::WORD_KANA - o IntlBreakIterator::WORD_KANA_LIMIT - o IntlBreakIterator::WORD_IDEO - o IntlBreakIterator::WORD_IDEO_LIMIT - o IntlBreakIterator::LINE_SOFT - o IntlBreakIterator::LINE_SOFT_LIMIT - o IntlBreakIterator::LINE_HARD - o IntlBreakIterator::LINE_HARD_LIMIT - o IntlBreakIterator::SENTENCE_TERM - o IntlBreakIterator::SENTENCE_TERM_LIMIT - o IntlBreakIterator::SENTENCE_SEP - o IntlBreakIterator::SENTENCE_SEP_LIMIT - PHP Documentation Group INTLBREAKITERATOR(3)