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

Traits

Better OOP experience.

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(string $mod = null)

No description

void
setProperties(string|null $mod)

No description

decorate(Texy $texy, HtmlElement $el)

Decorates HtmlElement element.

Details

at line 66
__construct(string $mod = null)

Parameters

string $mod

at line 72
void setProperties(string|null $mod)

Parameters

string|null $mod

Return Value

void

at line 152
HtmlElement decorate(Texy $texy, HtmlElement $el)

Decorates HtmlElement element.

Parameters

Texy $texy
HtmlElement $el

Return Value

HtmlElement