Property | Type | Description | |
---|---|---|---|
$defaultAlt | default alternative text | ||
$fileRoot | physical location of images on server | ||
$leftClass | left-floated images CSS class | ||
$linkedRoot | root of linked images (http) | ||
$onLoad | images onload handler | ||
$rightClass | right-floated images CSS class | ||
$root | root of relative images (http) |
Method | Description | |
---|---|---|
__construct ( $texy ) | ||
addReference ( $name, |
Adds new named reference to image. | |
beforeParse ( Texy $texy, &$text ) : void | Text pre-processing. | |
factoryImage ( $content, $mod, $tryRef = TRUE ) : |
Parses image's syntax. | |
getReference ( $name ) : |
Returns named reference. | |
patternImage ( Texy\LineParser $parser, array $matches ) : |
Callback for [* small.jpg 80x13 | small-over.jpg | big.jpg .(alternative text)[class]{style}>]:LINK. | |
patternReferenceDef ( array $matches ) : string | Callback for: [*image*]: urls .(title)[class]{style}. | |
solve ( |
Finish invocation. |
public addReference ( $name, |
||
$image | ||
return | void |
public beforeParse ( Texy $texy, &$text ) : void | ||
$texy | Texy | |
return | void |
public factoryImage ( $content, $mod, $tryRef = TRUE ) : |
||
return |
public getReference ( $name ) : |
||
return | reference descriptor (or FALSE) |
public patternImage ( Texy\LineParser $parser, array $matches ) : |
||
$parser | Texy\LineParser | |
$matches | array | |
return |
public patternReferenceDef ( array $matches ) : string | ||
$matches | array | |
return | string |
public solve ( |
||
$invocation | ||
$image | ||
$link | ||
return |