final class LinkModule extends Module

Links module.

Properties

string $root
string|null $imageClass
string|null $imageOnClick
string|null $popupOnClick
bool $forceNoFollow
bool $shorten

Methods

__construct($texy)

No description

void
beforeParse(Texy $texy, $text)

Text pre-processing.

string
patternReferenceDef(array $matches)

Callback for: [la trine]: http://www.latrine.cz/ text odkazu .(title)[class]{style}.

HtmlElement|string|false
patternReference(LineParser $parser, array $matches)

Callback for: [ref].

HtmlElement|string|false
patternUrlEmail(LineParser $parser, array $matches, $name)

Callback for: http://davidgrudl.com david@grudl.com.

void
addReference($name, Link $link)

Adds new named reference.

getReference($name)

Returns named reference.

factoryLink($dest, $mMod, $label)

No description

HtmlElement|string
solve(HandlerInvocation $invocation = null, Link $link, HtmlElement|string $content = null)

Finish invocation.

HtmlElement|string
solveUrlEmail(HandlerInvocation $invocation, Link $link)

Finish invocation.

false
solveNewReference(HandlerInvocation $invocation, $name)

Finish invocation.

Details

at line 49
__construct($texy)

No description

Parameters

$texy

at line 90
void beforeParse(Texy $texy, $text)

Text pre-processing.

Parameters

Texy $texy
$text

Return Value

void

at line 110
string patternReferenceDef(array $matches)

internal  
 

Callback for: [la trine]: http://www.latrine.cz/ text odkazu .(title)[class]{style}.

Parameters

array $matches

Return Value

string

at line 131
HtmlElement|string|false patternReference(LineParser $parser, array $matches)

Callback for: [ref].

Parameters

LineParser $parser
array $matches

Return Value

HtmlElement|string|false

at line 171
HtmlElement|string|false patternUrlEmail(LineParser $parser, array $matches, $name)

Callback for: http://davidgrudl.com david@grudl.com.

Parameters

LineParser $parser
array $matches
$name

Return Value

HtmlElement|string|false

at line 191
void addReference($name, Link $link)

Adds new named reference.

Parameters

$name
Link $link

Return Value

void

at line 203
Link getReference($name)

Returns named reference.

Parameters

$name

Return Value

Link

reference descriptor (or false)

No description

Parameters

$dest
$mMod
$label

Return Value

Link

at line 276
HtmlElement|string solve(HandlerInvocation $invocation = null, Link $link, HtmlElement|string $content = null)

Finish invocation.

Parameters

HandlerInvocation $invocation
Link $link
HtmlElement|string $content

Return Value

HtmlElement|string

at line 333
HtmlElement|string solveUrlEmail(HandlerInvocation $invocation, Link $link)

Finish invocation.

Parameters

HandlerInvocation $invocation
Link $link

Return Value

HtmlElement|string

at line 345
false solveNewReference(HandlerInvocation $invocation, $name)

Finish invocation.

Parameters

HandlerInvocation $invocation
$name

Return Value

false