LinkParserHelper
in package
Table of Contents
- parseLinkDestination() : null|string
- Attempt to parse link destination
- parseLinkLabel() : int
- parseLinkTitle() : null|string
- Attempt to parse link title (sans quotes)
- manuallyParseLinkDestination() : string|null
Methods
parseLinkDestination()
Attempt to parse link destination
public
static parseLinkDestination(Cursor $cursor) : null|string
Parameters
- $cursor : Cursor
Return values
null|string —The string, or null if no match
parseLinkLabel()
public
static parseLinkLabel(Cursor $cursor) : int
Parameters
- $cursor : Cursor
Return values
int —parseLinkTitle()
Attempt to parse link title (sans quotes)
public
static parseLinkTitle(Cursor $cursor) : null|string
Parameters
- $cursor : Cursor
Return values
null|string —The string, or null if no match
manuallyParseLinkDestination()
private
static manuallyParseLinkDestination(Cursor $cursor) : string|null
Parameters
- $cursor : Cursor