LinkModule
final class LinkModule extends Module
Links module.
Properties
string | $root | ||
string|null | $imageClass | ||
bool | $forceNoFollow | ||
bool | $shorten |
Methods
void
string
patternReferenceDef(array $matches)
Callback for: [la trine]: http://www.latrine.cz/ text odkazu .(title)[class]{style}.
HtmlElement|string|null
HtmlElement|string|null
patternUrlEmail(LineParser $parser, array $matches, string $name)
Callback for: http://davidgrudl.com david@grudl.com.
void
Link|null
getReference(string $name)
Returns named reference.
factoryLink(string $dest, string|null $mMod, string|null $label)
No description
HtmlElement|string
solve(HandlerInvocation $invocation = null, Link $link, HtmlElement|string $content = null)
Finish invocation.
HtmlElement|string
Details
at line 45
__construct(Texy $texy)
No description
at line 85
void
beforeParse(Texy $texy, $text)
Text pre-processing.
at line 104
string
patternReferenceDef(array $matches)
internal |
Callback for: [la trine]: http://www.latrine.cz/ text odkazu .(title)[class]{style}.
at line 125
HtmlElement|string|null
patternReference(LineParser $parser, array $matches)
Callback for: [ref].
at line 165
HtmlElement|string|null
patternUrlEmail(LineParser $parser, array $matches, string $name)
Callback for: http://davidgrudl.com david@grudl.com.
at line 184
void
addReference(string $name, Link $link)
Adds new named reference.
at line 194
Link|null
getReference(string $name)
Returns named reference.
at line 218
Link
factoryLink(string $dest, string|null $mMod, string|null $label)
No description
at line 260
HtmlElement|string
solve(HandlerInvocation $invocation = null, Link $link, HtmlElement|string $content = null)
Finish invocation.
at line 309
HtmlElement|string
solveUrlEmail(HandlerInvocation $invocation, Link $link)
Finish invocation.
at line 320
solveNewReference(HandlerInvocation $invocation, string $name)
Finish invocation.