ImageModule
final class ImageModule extends Module
Images module.
Properties
string | $root | ||
string | $linkedRoot | ||
string|null | $fileRoot | ||
string|null | $leftClass | ||
string|null | $rightClass | ||
string|null | $defaultAlt | ||
string|null | $onLoad |
Methods
__construct($texy)
No description
void
string
patternReferenceDef(array $matches)
Callback for: [image]: urls .(title)[class]{style}.
HtmlElement|string|false
patternImage(LineParser $parser, array $matches)
Callback for [* small.jpg 80x13 | small-over.jpg | big.jpg .(alternative text)[class]{style}>]:LINK.
void
getReference($name)
Returns named reference.
factoryImage($content, $mod, $tryRef = true)
Parses image's syntax.
HtmlElement|false
Details
at line 46
__construct($texy)
No description
at line 69
void
beforeParse(Texy $texy, $text)
Text pre-processing.
at line 88
string
patternReferenceDef(array $matches)
internal |
Callback for: [image]: urls .(title)[class]{style}.
at line 105
HtmlElement|string|false
patternImage(LineParser $parser, array $matches)
Callback for [* small.jpg 80x13 | small-over.jpg | big.jpg .(alternative text)[class]{style}>]:LINK.
at line 135
void
addReference($name, Image $image)
Adds new named reference to image.
at line 147
Image
getReference($name)
Returns named reference.
at line 165
Image
factoryImage($content, $mod, $tryRef = true)
Parses image's syntax.
at line 215
HtmlElement|false
solve(HandlerInvocation $invocation = null, Image $image, Link $link = null)
Finish invocation.