Свойство | 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) |
Méthode | 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 | ||
Résultat | void |
public beforeParse ( Texy $texy, &$text ) : void | ||
$texy | Texy | |
Résultat | void |
public factoryImage ( $content, $mod, $tryRef = TRUE ) : |
||
Résultat |
public getReference ( $name ) : |
||
Résultat | reference descriptor (or FALSE) |
public patternImage ( Texy\LineParser $parser, array $matches ) : |
||
$parser | Texy\LineParser | |
$matches | array | |
Résultat |
public patternReferenceDef ( array $matches ) : string | ||
$matches | array | |
Résultat | string |
public solve ( |
||
$invocation | ||
$image | ||
$link | ||
Résultat |