Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Grapheme

Fonctions membres publiques statiques

static grapheme_extract ($s, $size, $type=\GRAPHEME_EXTR_COUNT, $start=0, &$next=0)
 
static grapheme_strlen ($s)
 
static grapheme_substr ($s, $start, $len=null)
 
static grapheme_strpos ($s, $needle, $offset=0)
 
static grapheme_stripos ($s, $needle, $offset=0)
 
static grapheme_strrpos ($s, $needle, $offset=0)
 
static grapheme_strripos ($s, $needle, $offset=0)
 
static grapheme_stristr ($s, $needle, $beforeNeedle=false)
 
static grapheme_strstr ($s, $needle, $beforeNeedle=false)
 

Champs de données

const GRAPHEME_CLUSTER_RX = '(?:\r\n|(?:[ -~\x{200C}\x{200D}]|[ᆨ-ᇹ]+|[ᄀ-ᅟ]*(?:[가개갸걔거게겨계고과괘괴교구궈궤귀규그긔기까깨꺄꺠꺼께껴꼐꼬꽈꽤꾀꾜꾸꿔꿰뀌뀨끄끠끼나내냐냬너네녀녜노놔놰뇌뇨누눠눼뉘뉴느늬니다대댜댸더데뎌뎨도돠돼되됴두둬뒈뒤듀드듸디따때땨떄떠떼뗘뗴또똬뙈뙤뚀뚜뚸뛔뛰뜌뜨띄띠라래랴럐러레려례로롸뢔뢰료루뤄뤠뤼류르릐리마매먀먜머메며몌모뫄뫠뫼묘무뭐뭬뮈뮤므믜미바배뱌뱨버베벼볘보봐봬뵈뵤부붜붸뷔뷰브븨비빠빼뺘뺴뻐뻬뼈뼤뽀뽜뽸뾔뾰뿌뿨쀄쀠쀼쁘쁴삐사새샤섀서세셔셰소솨쇄쇠쇼수숴쉐쉬슈스싀시싸쌔쌰썌써쎄쎠쎼쏘쏴쐐쐬쑈쑤쒀쒜쒸쓔쓰씌씨아애야얘어에여예오와왜외요우워웨위유으의이자재쟈쟤저제져졔조좌좨죄죠주줘줴쥐쥬즈즤지짜째쨔쨰쩌쩨쪄쪠쪼쫘쫴쬐쬬쭈쭤쮀쮜쮸쯔쯰찌차채챠챼처체쳐쳬초촤쵀최쵸추춰췌취츄츠츼치카캐캬컈커케켜켸코콰쾌쾨쿄쿠쿼퀘퀴큐크킈키타태탸턔터테텨톄토톼퇘퇴툐투퉈퉤튀튜트틔티파패퍄퍠퍼페펴폐포퐈퐤푀표푸풔풰퓌퓨프픠피하해햐햬허헤혀혜호화홰회효후훠훼휘휴흐희히]?[ᅠ-ᆢ]+|[가-힣])[ᆨ-ᇹ]*|[ᄀ-ᅟ]+|[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}])[\p{Mn}\p{Me}\x{09BE}\x{09D7}\x{0B3E}\x{0B57}\x{0BBE}\x{0BD7}\x{0CC2}\x{0CD5}\x{0CD6}\x{0D3E}\x{0D57}\x{0DCF}\x{0DDF}\x{200C}\x{200D}\x{1D165}\x{1D16E}-\x{1D172}]*|[\p{Cc}\p{Cf}\p{Zl}\p{Zp}])'
 

Fonctions membres privées statiques

static grapheme_position ($s, $needle, $offset, $mode)
 

Attributs privés

const CASE_FOLD
 

Description détaillée

Partial intl implementation in pure PHP.

Implemented:

  • grapheme_extract - Extract a sequence of grapheme clusters from a text buffer, which must be encoded in UTF-8
  • grapheme_stripos - Find position (in grapheme units) of first occurrence of a case-insensitive string
  • grapheme_stristr - Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack
  • grapheme_strlen - Get string length in grapheme units
  • grapheme_strpos - Find position (in grapheme units) of first occurrence of a string
  • grapheme_strripos - Find position (in grapheme units) of last occurrence of a case-insensitive string
  • grapheme_strrpos - Find position (in grapheme units) of last occurrence of a string
  • grapheme_strstr - Returns part of haystack string from the first occurrence of needle to the end of haystack
  • grapheme_substr - Return part of a string
Auteur
Nicolas Grekas p@tch.nosp@m.work.nosp@m..com

Documentation des fonctions membres

◆ grapheme_extract()

static grapheme_extract (   $s,
  $size,
  $type = \GRAPHEME_EXTR_COUNT,
  $start = 0,
$next = 0 
)
static

◆ grapheme_position()

static grapheme_position (   $s,
  $needle,
  $offset,
  $mode 
)
staticprivate

◆ grapheme_stripos()

static grapheme_stripos (   $s,
  $needle,
  $offset = 0 
)
static

◆ grapheme_stristr()

static grapheme_stristr (   $s,
  $needle,
  $beforeNeedle = false 
)
static

◆ grapheme_strlen()

static grapheme_strlen (   $s)
static

◆ grapheme_strpos()

static grapheme_strpos (   $s,
  $needle,
  $offset = 0 
)
static

◆ grapheme_strripos()

static grapheme_strripos (   $s,
  $needle,
  $offset = 0 
)
static

◆ grapheme_strrpos()

static grapheme_strrpos (   $s,
  $needle,
  $offset = 0 
)
static

◆ grapheme_strstr()

static grapheme_strstr (   $s,
  $needle,
  $beforeNeedle = false 
)
static

◆ grapheme_substr()

static grapheme_substr (   $s,
  $start,
  $len = null 
)
static

Documentation des champs

◆ CASE_FOLD

const CASE_FOLD
private
Valeur initiale :
= [
['µ', 'ſ', "\xCD\x85", 'ς', "\xCF\x90", "\xCF\x91", "\xCF\x95", "\xCF\x96", "\xCF\xB0", "\xCF\xB1", "\xCF\xB5", "\xE1\xBA\x9B", "\xE1\xBE\xBE"],
['μ', 's', 'ι', 'σ', 'β', 'θ', 'φ', 'π', 'κ', 'ρ', 'ε', "\xE1\xB9\xA1", 'ι'],
]

◆ GRAPHEME_CLUSTER_RX

const GRAPHEME_CLUSTER_RX = '(?:\r\n|(?:[ -~\x{200C}\x{200D}]|[ᆨ-ᇹ]+|[ᄀ-ᅟ]*(?:[가개갸걔거게겨계고과괘괴교구궈궤귀규그긔기까깨꺄꺠꺼께껴꼐꼬꽈꽤꾀꾜꾸꿔꿰뀌뀨끄끠끼나내냐냬너네녀녜노놔놰뇌뇨누눠눼뉘뉴느늬니다대댜댸더데뎌뎨도돠돼되됴두둬뒈뒤듀드듸디따때땨떄떠떼뗘뗴또똬뙈뙤뚀뚜뚸뛔뛰뜌뜨띄띠라래랴럐러레려례로롸뢔뢰료루뤄뤠뤼류르릐리마매먀먜머메며몌모뫄뫠뫼묘무뭐뭬뮈뮤므믜미바배뱌뱨버베벼볘보봐봬뵈뵤부붜붸뷔뷰브븨비빠빼뺘뺴뻐뻬뼈뼤뽀뽜뽸뾔뾰뿌뿨쀄쀠쀼쁘쁴삐사새샤섀서세셔셰소솨쇄쇠쇼수숴쉐쉬슈스싀시싸쌔쌰썌써쎄쎠쎼쏘쏴쐐쐬쑈쑤쒀쒜쒸쓔쓰씌씨아애야얘어에여예오와왜외요우워웨위유으의이자재쟈쟤저제져졔조좌좨죄죠주줘줴쥐쥬즈즤지짜째쨔쨰쩌쩨쪄쪠쪼쫘쫴쬐쬬쭈쭤쮀쮜쮸쯔쯰찌차채챠챼처체쳐쳬초촤쵀최쵸추춰췌취츄츠츼치카캐캬컈커케켜켸코콰쾌쾨쿄쿠쿼퀘퀴큐크킈키타태탸턔터테텨톄토톼퇘퇴툐투퉈퉤튀튜트틔티파패퍄퍠퍼페펴폐포퐈퐤푀표푸풔풰퓌퓨프픠피하해햐햬허헤혀혜호화홰회효후훠훼휘휴흐희히]?[ᅠ-ᆢ]+|[가-힣])[ᆨ-ᇹ]*|[ᄀ-ᅟ]+|[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}])[\p{Mn}\p{Me}\x{09BE}\x{09D7}\x{0B3E}\x{0B57}\x{0BBE}\x{0BD7}\x{0CC2}\x{0CD5}\x{0CD6}\x{0D3E}\x{0D57}\x{0DCF}\x{0DDF}\x{200C}\x{200D}\x{1D165}\x{1D16E}-\x{1D172}]*|[\p{Cc}\p{Cf}\p{Zl}\p{Zp}])'

La documentation de cette classe a été générée à partir du fichier suivant :