[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

Parser:: (11 methods):
  parse()
  addBBCodeEndTag()
  addBBCodeSelfClosingTag()
  addBBCodeStartTag()
  captureEndTag()
  getTagName()
  parseAttributes()
  parseAttributeValue()
  parseBBCode()
  parseBBCodeSuffix()
  parseQuotedAttributeValue()


Class: Parser  - X-Ref


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


addBBCodeEndTag()   X-Ref
Add the end tag that matches current BBCode

return: Tag

addBBCodeSelfClosingTag()   X-Ref
Add the self-closing tag that matches current BBCode

return: Tag

addBBCodeStartTag()   X-Ref
Add the start tag that matches current BBCode

return: Tag

captureEndTag()   X-Ref
Parse the end tag that matches given BBCode name and suffix starting at current position

return: Tag|null

getTagName()   X-Ref
Get the tag name for current BBCode

return: string

parseAttributes()   X-Ref
Parse attributes starting at current position

return: void

parseAttributeValue()   X-Ref
Parse the attribute value starting at current position

return: string

parseBBCode()   X-Ref
Parse current BBCode

return: void

parseBBCodeSuffix()   X-Ref
Parse the BBCode suffix starting at current position

Used to explicitly pair specific tags together, e.g.
[code:123][code]type your code here[/code][/code:123]

return: void

parseQuotedAttributeValue()   X-Ref
Parse a quoted attribute value that starts at current offset

return: string



Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1