Свойство | Тип | Описание | |
---|---|---|---|
$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) |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | void |
public beforeParse ( Texy $texy, &$text ) : void | ||
$texy | Texy | |
Результат | void |
public factoryImage ( $content, $mod, $tryRef = TRUE ) : |
||
Результат |
public getReference ( $name ) : |
||
Результат | reference descriptor (or FALSE) |
public patternImage ( Texy\LineParser $parser, array $matches ) : |
||
$parser | Texy\LineParser | |
$matches | array | |
Результат |
public patternReferenceDef ( array $matches ) : string | ||
$matches | array | |
Результат | string |
public solve ( |
||
$invocation | ||
$image | ||
$link | ||
Результат |