final class Modifier

Modifier processor.

Modifiers are texts like .(title)[class1 class2 #id]{color: red}>^ . starts with dot (...) title or alt modifier [...] classes or ID modifier {...} inner style modifier < > <> = horizontal align modifier ^ - _ vertical align modifier

Properties

string|null $id
array $classes
array $styles
array $attrs
string|null $hAlign
string|null $vAlign
string|null $title
string|null $cite
static array $elAttrs

Methods

__construct($mod = null)

No description

setProperties($mod)

No description

void
decorate(Texy $texy, HtmlElement $el)

Decorates HtmlElement element.

Details

at line 67
__construct($mod = null)

No description

Parameters

$mod

at line 73
setProperties($mod)

No description

Parameters

$mod

at line 154
void decorate(Texy $texy, HtmlElement $el)

Decorates HtmlElement element.

Parameters

Texy $texy
HtmlElement $el

Return Value

void

Traits

Better OOP experience.