TexyImageModule
final class TexyImageModule extends TexyModule
Images module.
Properties
| string | $root | ||
| string | $linkedRoot | ||
| string | $fileRoot | ||
| string | $leftClass | ||
| string | $rightClass | ||
| string | $defaultAlt | ||
| string | $onLoad |
Methods
__construct($texy)
No description
void
beforeParse($texy, $text)
Text pre-processing.
string
patternReferenceDef($matches)
Callback for: [image]: urls .(title)[class]{style}.
TexyHtml|string|false
patternImage($parser, $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.
Details
at line 39
__construct($texy)
No description
at line 64
void
beforeParse($texy, $text)
Text pre-processing.
at line 84
string
patternReferenceDef($matches)
| internal |
Callback for: [image]: urls .(title)[class]{style}.
at line 105
TexyHtml|string|false
patternImage($parser, $matches)
Callback for [* small.jpg 80x13 | small-over.jpg | big.jpg .(alternative text)[class]{style}>]:LINK.
at line 140
void
addReference($name, TexyImage $image)
Adds new named reference to image.
at line 153
TexyImage
getReference($name)
Returns named reference.
at line 171
TexyImage
factoryImage($content, $mod, $tryRef = TRUE)
Parses image's syntax.