[ Index ]

PHP Cross Reference of phpBB-3.3.12-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Plugins/Emoji/ -> Parser.php (summary)

(no description)

File Size: 172 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Parser:: (6 methods):
  parse()
  addTag()
  getHexSequence()
  parseCustomAliases()
  parseShortnames()
  parseUnicode()


Class: Parser  - X-Ref


parse($text, array $matches)   X-Ref
{@inheritdoc}


addTag($tagPos, $tagLen, $hex)   X-Ref
Add an emoji tag for given sequence

return: void
param: integer $tagPos Position of the tag in the original text
param: integer $tagLen Length of text consumed by the tag
param: string  $hex    Full-qualified sequence of codepoints in hex

getHexSequence($str)   X-Ref
Get the sequence of Unicode codepoints that corresponds to given emoji

return: string      Codepoint sequence, e.g. "0023-20e3"
param: string $str UTF-8 emoji

parseCustomAliases($text)   X-Ref
Parse custom aliases in given text

return: void
param: string $text Original text

parseShortnames($text)   X-Ref
Parse shortnames in given text

return: void
param: string $text Original text

parseUnicode($text)   X-Ref
Parse Unicode emoji in given text

return: void
param: string $text Original text



Generated: Sun Jun 23 12:25:44 2024 Cross-referenced by PHPXref 0.7.1